diff options
author | shennetsind <ind@henn.et> | 2013-09-17 08:08:11 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-09-17 08:08:11 -0300 |
commit | 1ffca100f401142260a6cbeb5d9052170e401728 (patch) | |
tree | db5763fe166e61a21527720d2b273d6bab1231a2 /src | |
parent | 8fb81341feedb5d00175d83e816f4d2ec2d4eb36 (diff) | |
download | hercules-1ffca100f401142260a6cbeb5d9052170e401728.tar.gz hercules-1ffca100f401142260a6cbeb5d9052170e401728.tar.bz2 hercules-1ffca100f401142260a6cbeb5d9052170e401728.tar.xz hercules-1ffca100f401142260a6cbeb5d9052170e401728.zip |
Fixed Tiger Cannon Damage
Issue identified and solved by Michieru, Thanks!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index c0c4618fb..e2be5b520 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2337,7 +2337,7 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block int hp = status_get_max_hp(src) * (10 + 2 * skill_lv) / 100, sp = status_get_max_sp(src) * (6 + skill_lv) / 100; if( sc && sc->data[SC_COMBOATTACK] && sc->data[SC_COMBOATTACK]->val1 == SR_FALLENEMPIRE ) // ATK [((Caster consumed HP + SP) / 2) x Caster Base Level / 100] % - skillratio += -100 + hp+sp / 2; + skillratio += -100 + (hp+sp) / 2; else skillratio += -100 + (hp+sp) / 4; RE_LVL_DMOD(100); |