summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-30 20:31:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-30 20:31:28 +0000
commitfc9bda5ac3dff71807027e0b09aae72f817909a0 (patch)
treee1c32192b84f6592b84f0d0b322752e0c155c117 /src/map/battle.c
parent5d2225fbbf84324c1cf370bb11776b1c0a671b4a (diff)
downloadhercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.tar.gz
hercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.tar.bz2
hercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.tar.xz
hercules-fc9bda5ac3dff71807027e0b09aae72f817909a0.zip
- Corrected GS skill ranges using Aegis data. All their targetted skills have a base range of 9 T_T, and Dust (Choke) has a range of 2.
- Updated the code so mobs can use ChainAction as a targetted skill. - Added GroundDrift effects for Wind (Stun) and Fire (knockback). The knockback value is unknown, so 3 is used for now. - Cleaned up some more the steal code, now you can't steal the last slot regardless of skill level used. - Added consideration of Chain Action when cloning GunSlingers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9100 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 6d6c928d7..4e1f2692c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -911,6 +911,7 @@ static struct Damage battle_calc_weapon_attack(
break;
case TF_DOUBLE: //For NPC used skill.
+ case GS_CHAINACTION:
wd.type = 0x08;
break;
@@ -918,6 +919,7 @@ static struct Damage battle_calc_weapon_attack(
case KN_BOWLINGBASH:
case MO_BALKYOUNG:
case TK_TURNKICK:
+ case GS_GROUNDDRIFT:
wd.blewcount=0;
break;