summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-19 17:09:50 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-19 17:09:50 +0200
commit9dd0f3afc2fcdb577302445474c83a1f379d9c41 (patch)
tree614346e0d127794803b80f0430fbcda839d6e088 /src/map/battle.c
parentab42e76f527b28976b4cd1b4124dc25424184fdf (diff)
downloadhercules-9dd0f3afc2fcdb577302445474c83a1f379d9c41.tar.gz
hercules-9dd0f3afc2fcdb577302445474c83a1f379d9c41.tar.bz2
hercules-9dd0f3afc2fcdb577302445474c83a1f379d9c41.tar.xz
hercules-9dd0f3afc2fcdb577302445474c83a1f379d9c41.zip
Fix some skills reduction. Follow update (bug:8329) https://github.com/HerculesWS/Hercules/commit/9a15ccdbfb2c48d6eb73999ad2a61701d7abd6f4
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index fa388fc19..544d53a1c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4581,13 +4581,11 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
ATK_ADD(-totaldef);
if( is_boss(target) )
ATK_RATE(50);
- RE_SKILL_REDUCTION();
}
break;
case NJ_SYURIKEN: // [malufett]
GET_NORMAL_ATTACK( (sc && sc->data[SC_MAXIMIZEPOWER]?1:0)|(sc && sc->data[SC_WEAPONPERFECT]?8:0) );
wd.damage += battle->calc_masteryfix(src, target, skill_id, skill_lv, 4 * skill_lv + (sd ? sd->bonus.arrow_atk : 0), wd.div_, 0, flag.weapon) - status->get_total_def(target);
- RE_SKILL_REDUCTION();
break;
case MO_EXTREMITYFIST: // [malufett]
{
@@ -4597,7 +4595,6 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
wd.damage = (250 + 150 * skill_lv) + (10 * (status_get_sp(src)+1) * wd.damage / 100) + (8 * wd.damage);
ATK_ADD(-totaldef);
}
- RE_SKILL_REDUCTION();
}
#endif
break;
@@ -4736,9 +4733,6 @@ struct Damage battle_calc_weapon_attack(struct block_list *src,struct block_list
#endif
switch(skill_id){
case SR_GATEOFHELL:
- #ifdef RENEWAL
- RE_SKILL_REDUCTION();
- #endif // RENEWAL
if (wd.dmg_lv != ATK_FLEE)
ATK_RATE(battle->calc_skillratio(BF_WEAPON, src, target, skill_id, skill_lv, skillratio, wflag));
else