summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-11 17:20:44 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-11 17:20:44 +0000
commit97166dfb92d7cbdef8731771c38923cc219a4fc3 (patch)
treeb757962d8b2ef15de65fd62872f5dcc3a740e4a9 /src/map/unit.c
parente6376945eb87a94974bfad2a5ca649c9b8d1288f (diff)
downloadhercules-97166dfb92d7cbdef8731771c38923cc219a4fc3.tar.gz
hercules-97166dfb92d7cbdef8731771c38923cc219a4fc3.tar.bz2
hercules-97166dfb92d7cbdef8731771c38923cc219a4fc3.tar.xz
hercules-97166dfb92d7cbdef8731771c38923cc219a4fc3.zip
Happy Holidays and Happy 12/12/12 :)
Update Elemental summon to its official behavior - Fixed missing skill features of Ventus(bugreport:6792,bugreport:6723,bugreport:6511) - Note: upgrade_svn17014.sql - And other elemental skills are to follow :) Fixed bugreport:6889 updated const.txt where it cause error to some items. Fixed bugreport:6999 where matk damage deals miss atk to plant type targets. Fixed status calculation where it doesn't give accurate result or how official calculation does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17014 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index a49385071..e3a371b74 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1250,6 +1250,23 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh
if (sc && sc->data[SC_WUGDASH])
casttime = -1;
break;
+ case EL_WIND_SLASH:
+ case EL_HURRICANE:
+ case EL_TYPOON_MIS:
+ case EL_STONE_HAMMER:
+ case EL_ROCK_CRUSHER:
+ case EL_STONE_RAIN:
+ case EL_ICE_NEEDLE:
+ case EL_WATER_SCREW:
+ case EL_TIDAL_WEAPON:
+ if( src->type == BL_ELEM ){
+ sd = BL_CAST(BL_PC, battle_get_master(src));
+ if( sd && sd->skillid_old == SO_EL_ACTION ){
+ casttime = -1;
+ sd->skillid_old = 0;
+ }
+ }
+ break;
}
// moved here to prevent Suffragium from ending if skill fails