summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-05 12:48:14 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-01-05 12:48:14 +0000
commitc4ef5986ea0c7550604a298ecf449c1367d45d04 (patch)
tree336785d9e878e19c983121be5314dff86b49107e /src/map/battle.c
parent59029a6c7a0365521aa80519081fdfc7d958cca0 (diff)
downloadhercules-c4ef5986ea0c7550604a298ecf449c1367d45d04.tar.gz
hercules-c4ef5986ea0c7550604a298ecf449c1367d45d04.tar.bz2
hercules-c4ef5986ea0c7550604a298ecf449c1367d45d04.tar.xz
hercules-c4ef5986ea0c7550604a298ecf449c1367d45d04.zip
Fixed bugreport:6332 updated NJ_TATAMIGAESHI to its RE behavior.
Fixed bugreport:7101 where MO_EXTREMITYFIST don't consume sp when used against plant type monster. Fixed bugreport:7116 missing duration for HW_MAGICPOWER. Fixed bugreport:7117 where WL_WHITEIMPRISON doesn't work properly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17078 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 48ae06a8a..074319b2f 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2338,7 +2338,6 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
//You'd need something like 6K SP to reach this max, so should be fine for most purposes.
if (ratio > 60000) ratio = 60000; //We leave some room here in case skillratio gets further increased.
skillratio = (unsigned short)ratio;
- status_set_sp(src, 0, 0);
}
break;
case MO_TRIPLEATTACK:
@@ -2487,6 +2486,9 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
skillratio += 50 + 150*skill_lv;
break;
case NJ_TATAMIGAESHI:
+#ifdef RENEWAL
+ ATK_RATE(200);
+#endif
skillratio += 10*skill_lv;
break;
case NJ_KASUMIKIRI:
@@ -2933,7 +2935,7 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo
case MH_LAVA_SLIDE:
skillratio = 70 * skill_lv;
break;
- case MH_TINDER_BREAKER:
+ case MH_TINDER_BREAKER:
case MH_MAGMA_FLOW:
skillratio += -100 + 100 * skill_lv;
break;