summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-07-11 00:32:54 -0300
committerpanikon <panikon@zoho.com>2014-07-11 00:32:54 -0300
commitcc4c87c6e9bb0a7af9e380400a95eb00c3905918 (patch)
tree5fafdada9931669145e7418de251b637edc5d9d9 /src/map/skill.c
parente98e18ff623ee1da999a04e8f4b7ae282453abd8 (diff)
downloadhercules-cc4c87c6e9bb0a7af9e380400a95eb00c3905918.tar.gz
hercules-cc4c87c6e9bb0a7af9e380400a95eb00c3905918.tar.bz2
hercules-cc4c87c6e9bb0a7af9e380400a95eb00c3905918.tar.xz
hercules-cc4c87c6e9bb0a7af9e380400a95eb00c3905918.zip
Updated warg skill check, special thanks to Rytech
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 08275ab49..0aea718dc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -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:
@@ -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;