summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 16:41:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-03 16:41:35 +0000
commit5794cdd9927a30bb094a144f052dec4883b62412 (patch)
tree85a092a28f3eff59525fcf39c6d8dcdc6a417969 /src/map
parentab7c57743e1807cca8c994a38137065f5b174a0c (diff)
downloadhercules-5794cdd9927a30bb094a144f052dec4883b62412.tar.gz
hercules-5794cdd9927a30bb094a144f052dec4883b62412.tar.bz2
hercules-5794cdd9927a30bb094a144f052dec4883b62412.tar.xz
hercules-5794cdd9927a30bb094a144f052dec4883b62412.zip
- Fixed NPC_CRITICALSLASH not being considered as a Critical hit by the code.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8105 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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 225cc9670..0e53bb9e8 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -902,6 +902,10 @@ static struct Damage battle_calc_weapon_attack(
case KN_AUTOCOUNTER:
wd.flag=(wd.flag&~BF_SKILLMASK)|BF_NORMAL;
break;
+
+ case NPC_CRITICALSLASH:
+ flag.cri = 1; //Always critical skill.
+ break;
}
}