diff options
author | wushin <pasekei@gmail.com> | 2014-07-02 08:35:56 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-07-02 08:35:56 -0500 |
commit | 85e6c52e0a01c40769ffaaaa528795c2980a3798 (patch) | |
tree | 6a4e7fc55eeebb14d2111fe1299d3a592b7d9ebd /world/map/conf/magic-base.sex | |
parent | 5f9c8745aad2108173b21719036f2f1d09e6e8d9 (diff) | |
download | serverdata-85e6c52e0a01c40769ffaaaa528795c2980a3798.tar.gz serverdata-85e6c52e0a01c40769ffaaaa528795c2980a3798.tar.bz2 serverdata-85e6c52e0a01c40769ffaaaa528795c2980a3798.tar.xz serverdata-85e6c52e0a01c40769ffaaaa528795c2980a3798.zip |
Fixes losing less mana from each #confringo
by switching wands after cast.
Diffstat (limited to 'world/map/conf/magic-base.sex')
-rw-r--r-- | world/map/conf/magic-base.sex | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/world/map/conf/magic-base.sex b/world/map/conf/magic-base.sex index 25c05f1e..c2e0a034 100644 --- a/world/map/conf/magic-base.sex +++ b/world/map/conf/magic-base.sex @@ -420,14 +420,6 @@ (ABORT)) (CALL adjust_spellpower school) (CALL default_effect) - (SET damage - (* (script_int caster "@Wand") - (/ spellpower - 3))) - (SET damage_bonus - (* (script_int caster "@Wand") - (/ spellpower - 3))) (CALL install_attack_spell (+ (script_int caster "@Wand") (/ spellpower 10)) @@ -442,6 +434,14 @@ (script_int caster "@WandAttack") 0) (ABORT)) + (SET damage + (* (script_int caster "@Wand") + (/ spellpower + 3))) + (SET damage_bonus + (* (script_int caster "@Wand") + (/ spellpower + 3))) (CALL elt_damage target damage damage_bonus ELT_NEUTRAL ELT_NEUTRAL 5)) ))) |