From 85e6c52e0a01c40769ffaaaa528795c2980a3798 Mon Sep 17 00:00:00 2001 From: wushin Date: Wed, 2 Jul 2014 08:35:56 -0500 Subject: Fixes losing less mana from each #confringo by switching wands after cast. --- world/map/conf/magic-base.sex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'world/map/conf') 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)) ))) -- cgit v1.2.3-70-g09d2