summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 20:35:48 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 20:35:48 +0000
commit3f8358d9b0ed162a734d6e5d297beac73d759258 (patch)
tree5b81b6025170538f10a895efbb56155ff3420ec4 /src/map/battle.c
parent0ceb473a68fa6ca5e154d6f337d35b0cf8570370 (diff)
downloadhercules-3f8358d9b0ed162a734d6e5d297beac73d759258.tar.gz
hercules-3f8358d9b0ed162a734d6e5d297beac73d759258.tar.bz2
hercules-3f8358d9b0ed162a734d6e5d297beac73d759258.tar.xz
hercules-3f8358d9b0ed162a734d6e5d297beac73d759258.zip
- Readjusted the Chasewalk icon to be as it should be.
- GS_DESPERADO is now a short-range attack skill. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8114 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 7fd41c09b..cbc017819 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -859,6 +859,10 @@ static struct Damage battle_calc_weapon_attack(
flag.arrow = 1;
wd.flag=(wd.flag&~BF_RANGEMASK)|BF_LONG;
break;
+ case GS_DESPERADO:
+ //This one is the opposite, it consumes ammo, but should count as short range.
+ wd.flag=(wd.flag&~BF_RANGEMASK)|BF_SHORT;
+ break;
case CR_SHIELDBOOMERANG:
case PA_SHIELDCHAIN:
flag.weapon = 0;