diff options
author | mekolat <mekolat@users.noreply.github.com> | 2015-04-25 10:07:41 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2015-04-25 23:03:24 -0400 |
commit | 8b13cd9fe12afe61b72f072046556e40c2d33a7a (patch) | |
tree | 74d45111ca67b232930a44f8df72344cf35813b8 /world/map/conf/magic-level0.sex | |
parent | e8a1900fc0651a3ee74ce4cbe181fce2851f6420 (diff) | |
download | serverdata-8b13cd9fe12afe61b72f072046556e40c2d33a7a.tar.gz serverdata-8b13cd9fe12afe61b72f072046556e40c2d33a7a.tar.bz2 serverdata-8b13cd9fe12afe61b72f072046556e40c2d33a7a.tar.xz serverdata-8b13cd9fe12afe61b72f072046556e40c2d33a7a.zip |
make magic less ambiguous
Diffstat (limited to 'world/map/conf/magic-level0.sex')
-rw-r--r-- | world/map/conf/magic-level0.sex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/world/map/conf/magic-level0.sex b/world/map/conf/magic-level0.sex new file mode 100644 index 00000000..f376b2cd --- /dev/null +++ b/world/map/conf/magic-level0.sex @@ -0,0 +1,39 @@ +"--------------------------------------------------------------------------------" +" 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) + (CALL install_attack_spell + (+ (script_int caster "@Wand") + (/ spellpower 10)) + 1200 + 3 + (script_int caster "@WandID")) + (CALL gain_xp 1 3) + (ATTRIGGER + (CALL attack_check target) + (SCRIPT "{callfunc \"WandMana\";}") + (IF (== + (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))))) |