diff options
author | Fate <fate-tmw@googlemail.com> | 2009-05-14 03:56:18 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-05-14 03:56:18 +0000 |
commit | 04ba9494954398c9166a510176dcc81c14f1c883 (patch) | |
tree | 7c546eeb91b3ca039d238c1fffc6c376539f55d6 /conf | |
parent | 0da4d27a4357f15a8cb0eb9eaa355c7acd99e1b2 (diff) | |
download | serverdata-04ba9494954398c9166a510176dcc81c14f1c883.tar.gz serverdata-04ba9494954398c9166a510176dcc81c14f1c883.tar.bz2 serverdata-04ba9494954398c9166a510176dcc81c14f1c883.tar.xz serverdata-04ba9494954398c9166a510176dcc81c14f1c883.zip |
Fixed #T00 to take a parameter and updated Auldsbel's explanation.
In the future, it should be easier to add more figurines, if needed.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/magic.conf.template | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 76df00f6..4f02a871 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -250,16 +250,24 @@ SPELL ask-magic-exp : "#G01" = # CALL default_effect(); # message(caster, "You have " + ((script_int(caster, "MAGIC_EXPERIENCE") >> 24) & 0xff) + " Life Magic Experience points."); -SPELL transmute-wood-to-mouboo : "#T00" = +SPELL transmute-wood-to-figurine (name : STRING) : "#T00" = LET level = 0 school = TRANSMUTE IN (MANA 5, CASTTIME 4000, REQUIRE skill(caster, MAGIC) > level, COMPONENTS ["RawLog"]) - => EFFECT CALL adjust_spellpower(school); - CALL default_effect(); - CALL create_item("MoubooFigurine", 1, "WarpedLog", 40); - CALL gain_xp(1); + => ( REQUIRE name = "boo" => + EFFECT CALL adjust_spellpower(school); + CALL default_effect(); + CALL create_item("MoubooFigurine", 1, "WarpedLog", 40); + CALL gain_xp(1); + | REQUIRE name = "lurk" => + EFFECT CALL adjust_spellpower(school); + CALL default_effect(); + CALL create_item("WarpedLog", 1, "WarpedLog", 40); + message (caster, "You have no idea what a Skrytlurk looks like."); + ) + SPELL make-sulphur : "#T01" = LET level = 0 |