summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-21 20:54:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-21 20:54:22 +0000
commit48e10b3db33490516e6fe9562d96cfa497be025e (patch)
treeb6b28855db8a429ca73225f5033dadca8c1275e6 /src/map/battle.c
parent11414d1e6ba30951ca99071255d479b64858464f (diff)
downloadhercules-48e10b3db33490516e6fe9562d96cfa497be025e.tar.gz
hercules-48e10b3db33490516e6fe9562d96cfa497be025e.tar.bz2
hercules-48e10b3db33490516e6fe9562d96cfa497be025e.tar.xz
hercules-48e10b3db33490516e6fe9562d96cfa497be025e.zip
- Corrected GS_DISARM, it is now a normal attack, which, when it connects, has a chance to do strip weapon ar a 3*lv% rate (modified by dex)
- Fixed GS_PIERCINGSHOT, it should ignore defense - Corrected Gatling Fever costing SP when trying to turn it off. Also, speed increases bonuses won't take effect while it's active. - Updated the main makefile with a new OPT line. It is commented by default since it only works with GCC 4.X, when unset, it will hide away a huge amount of warnings that have to do with stuff that is not gonna be corrected in eA anyway. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9287 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index ab223789d..dca3f27f5 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1557,6 +1557,7 @@ static struct Damage battle_calc_weapon_attack(
break;
case GS_PIERCINGSHOT:
skillratio += 20*skill_lv;
+ flag.idef = flag.idef2 = 1;
break;
case GS_RAPIDSHOWER:
skillratio += 10*skill_lv;