diff options
Diffstat (limited to 'world/map/conf/magic-base.sex')
-rw-r--r-- | world/map/conf/magic-base.sex | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/world/map/conf/magic-base.sex b/world/map/conf/magic-base.sex index 8f3b9978..58e4a6de 100644 --- a/world/map/conf/magic-base.sex +++ b/world/map/conf/magic-base.sex @@ -407,6 +407,44 @@ "--------------------------------------------------------------------------------" "Level 0 spells" "--------------------------------------------------------------------------------" +(SPELL () wand "#confringo" () + (LET school MAGIC) + (=> + (GUARD + (CASTTIME 500)) + (EFFECT + (SCRIPT "{callfunc \"CheckWand\";}") + (IF (== + (script_int caster "@Wand") + 0) + (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)) + 1200 + 3 + 33) + (CALL gain_xp 1 3) + (ATTRIGGER + (CALL attack_check target) + (SCRIPT "{callfunc \"WandMana\";}") + (IF (== + (script_int caster "@WandAttack") + 0) + (ABORT)) + (CALL elt_damage target damage damage_bonus ELT_NEUTRAL ELT_NEUTRAL 5)) +))) + (SPELL () ask-magic-exp "#abizit" () (LET level 0) (LET school MAGIC) |