summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2014-09-13 11:44:53 +0200
committerMichieru <Michieru@users.noreply.github.com>2014-09-13 11:44:53 +0200
commitaba829d912c3392a0fdd5dff2a834559e88a5506 (patch)
tree673750a46888032ca9d2b810aa9c74e53f122cbb /src/map/battle.c
parent45d77eed7a16245b38fe46eb9d71074d33106946 (diff)
downloadhercules-aba829d912c3392a0fdd5dff2a834559e88a5506.tar.gz
hercules-aba829d912c3392a0fdd5dff2a834559e88a5506.tar.bz2
hercules-aba829d912c3392a0fdd5dff2a834559e88a5506.tar.xz
hercules-aba829d912c3392a0fdd5dff2a834559e88a5506.zip
Fix Soul Breaker not affect by Lex Aeterna (bug:7712)
Fix Throwing Mysterious Powder with Sling Item. Thanks to Rikter (bug:8333)
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 6cbd6379f..0120d5e4b 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2809,7 +2809,7 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam
//Now damage increasing effects
if( sc->data[SC_LEXAETERNA] && skill_id != PF_SOULBURN
#ifdef RENEWAL
- && skill_id != CR_ACIDDEMONSTRATION
+ && skill_id != CR_ACIDDEMONSTRATION && skill_id != ASC_BREAKER
#endif
)
{
@@ -3834,6 +3834,10 @@ struct Damage battle_calc_misc_attack(struct block_list *src,struct block_list *
ratio >>= 1;
md.damage = (matk + atk) * ratio / 100;
md.damage -= totaldef;
+ if( tsc && tsc->data[SC_LEXAETERNA] ) {
+ md.damage <<= 1;
+ status_change_end(target, SC_LEXAETERNA, INVALID_TIMER);
+ }
#endif
}
break;