Skip to content

Commit

Permalink
Updated warg skill check, special thanks to Rytech
Browse files Browse the repository at this point in the history
  • Loading branch information
panikon committed Jul 11, 2014
1 parent e98e18f commit cc4c87c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/map/skill.c
Expand Up @@ -12674,6 +12674,7 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id
// Check the skills that can be used while mounted on a warg
if( pc_isridingwug(sd) ) {
switch( skill_id ) {
// Hunter skills
case HT_SKIDTRAP:
case HT_LANDMINE:
case HT_ANKLESNARE:
Expand All @@ -12683,15 +12684,22 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id
case HT_FREEZINGTRAP:
case HT_BLASTMINE:
case HT_CLAYMORETRAP:
case HT_SPRINGTRAP:
case HT_TALKIEBOX:
// Ranger skills
case RA_DETONATOR:
case RA_ELECTRICSHOCKER:
case RA_CLUSTERBOMB:
case HT_TALKIEBOX:
case RA_MAGENTATRAP:
case RA_COBALTTRAP:
case RA_MAIZETRAP:
case RA_VERDURETRAP:
case RA_FIRINGTRAP:
case RA_ICEBOUNDTRAP:
case RA_WUGDASH:
case RA_WUGRIDER:
case RA_WUGSTRIKE:
// Other
case BS_GREED:
break;
default: // in official there is no message.
return 0;
Expand Down

0 comments on commit cc4c87c

Please sign in to comment.