diff options
author | Freeyorp <Freeyorp101@NOSPAM@hotmail.com> | 2009-05-02 15:50:21 +1200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-02 10:07:41 -0600 |
commit | dbd1aa402ed6fc1c4d6851d2fab32a782f0dc757 (patch) | |
tree | b3cffe390e80ac846dc5defaef7465f1c59a4e43 /conf/magic.conf.template | |
parent | ab74ee120265602487a8eb5adddc1bc412b53d76 (diff) | |
download | serverdata-dbd1aa402ed6fc1c4d6851d2fab32a782f0dc757.tar.gz serverdata-dbd1aa402ed6fc1c4d6851d2fab32a782f0dc757.tar.bz2 serverdata-dbd1aa402ed6fc1c4d6851d2fab32a782f0dc757.tar.xz serverdata-dbd1aa402ed6fc1c4d6851d2fab32a782f0dc757.zip |
Add spells to display Magic experience and Life Magic experience using #G01 and #G02 respectively.
Diffstat (limited to 'conf/magic.conf.template')
-rw-r--r-- | conf/magic.conf.template | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 2efdfec3..2f6993f8 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -204,6 +204,24 @@ PROCEDURE summon_spell(mob_id, count, delay, lifetime, control_level) = # Level 0 spells #-------------------------------------------------------------------------------- +SPELL ask-magic-exp : "#G01" = + LET level = 0 + school = MAGIC + IN (MANA 1, CASTTIME 1000, + REQUIRE skill(caster, MAGIC) > level) + => EFFECT CALL adjust_spellpower(school); + CALL default_effect(); + message(caster, "You have " + (script_int(caster, "MAGIC_EXPERIENCE") & 0xffff) + " Magic Experience points."); + +SPELL ask-life-magic-exp : "#G02" = + LET level = 0 + school = MAGIC + IN (MANA 1, CASTTIME 1000, + REQUIRE skill(caster, MAGIC) > level) + => EFFECT CALL adjust_spellpower(school); + CALL default_effect(); + message(caster, "You have " + ((script_int(caster, "MAGIC_EXPERIENCE") >> 24) & 0xff) + " Life Magic Experience points."); + SPELL transmute-wood-to-mouboo : "#T00" = LET level = 0 school = TRANSMUTE |