summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-06-03 14:07:49 -0600
committerJared Adams <jaxad0127@gmail.com>2009-06-03 14:13:04 -0600
commitffb45934be41a139e2fc0cefb4fd11572165cb90 (patch)
tree18c1610975d83751d008350ba61412b31c522d69 /conf
parent9db676cf7ad37f4c91a849da5d542c9bd0580313 (diff)
downloadclassic-serverdata-ffb45934be41a139e2fc0cefb4fd11572165cb90.tar.gz
classic-serverdata-ffb45934be41a139e2fc0cefb4fd11572165cb90.tar.bz2
classic-serverdata-ffb45934be41a139e2fc0cefb4fd11572165cb90.tar.xz
classic-serverdata-ffb45934be41a139e2fc0cefb4fd11572165cb90.zip
Revert "Adjust herb spawn spells into a plant spawn spell"
This reverts commit 00aa5d746fe7ce24b5bb491087cef53ac96b0d38.
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template67
1 files changed, 40 insertions, 27 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 396f8f6b..199fa975 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -358,36 +358,49 @@ SPELL aggravate : "#N00" =
THEN (CALL sfx_generic(target);
aggravate(target, 0, caster);)
-SPELL grow-plant (name : STRING) : "#N01" =
+SPELL grow-mauve : "#N01" =
LET level = 0
school = NATURE
IN (MANA 4, CASTTIME 2000,
- REQUIRE skill(caster, MAGIC) > level)
- => ( (REQUIRE name = "lax",
- COMPONENTS ["MauveHerb", "Root"]) =>
- EFFECT CALL adjust_spellpower(school);
- CALL default_effect();
- CALL gain_xp(1);
- spawn(rbox(location, 2), caster, 1029, 1, skill(caster, school) / 2 + 1, 10000);
- | (REQUIRE name = "phoo",
- COMPONENTS ["AlizarinHerb", "Root"]) =>
- EFFECT CALL adjust_spellpower(school);
- CALL default_effect();
- CALL gain_xp(1);
- spawn(rbox(location, 2), caster, 1032, 1, skill(caster, school) / 2 + 1, 10000);
- | (REQUIRE name = "yikam",
- COMPONENTS ["GambogeHerb", "Root"]) =>
- EFFECT CALL adjust_spellpower(school);
- CALL default_effect();
- CALL gain_xp(1);
- spawn(rbox(location, 2), caster, 1031, 1, skill(caster, school) / 2 + 1, 10000);
- | (REQUIRE name = "sump",
- COMPONENTS ["CobaltHerb", "Root"]) =>
- EFFECT CALL adjust_spellpower(school);
- CALL default_effect();
- CALL gain_xp(1);
- spawn(rbox(location, 2), caster, 1030, 1, skill(caster, school) / 2 + 1, 10000);
- )
+ REQUIRE skill(caster, MAGIC) > level,
+ COMPONENTS ["MauveHerb", "Root"])
+ => EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL gain_xp(1);
+ spawn(rbox(location, 2), caster, 1029, 1, if_then_else(skill(caster, NATURE) < 3, 1, if_then_else(skill(caster, NATURE) < 5, 2, 3)), 10000);
+
+SPELL grow-alizarin : "#N02" =
+ LET level = 0
+ school = NATURE
+ IN (MANA 4, CASTTIME 2000,
+ REQUIRE skill(caster, MAGIC) > level,
+ COMPONENTS ["AlizarinHerb", "Root"])
+ => EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL gain_xp(1);
+ spawn(rbox(location, 2), caster, 1032, 1, if_then_else(skill(caster, NATURE) < 3, 1, if_then_else(skill(caster, NATURE) < 5, 2, 3)), 10000);
+
+SPELL grow-gamboge : "#N03" =
+ LET level = 0
+ school = NATURE
+ IN (MANA 4, CASTTIME 2000,
+ REQUIRE skill(caster, MAGIC) > level,
+ COMPONENTS ["GambogeHerb", "Root"])
+ => EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL gain_xp(1);
+ spawn(rbox(location, 2), caster, 1031, 1, if_then_else(skill(caster, NATURE) < 3, 1, if_then_else(skill(caster, NATURE) < 5, 2, 3)), 10000);
+
+SPELL grow-cobalt : "#N04" =
+ LET level = 0
+ school = NATURE
+ IN (MANA 4, CASTTIME 2000,
+ REQUIRE skill(caster, MAGIC) > level,
+ COMPONENTS ["CobaltHerb", "Root"])
+ => EFFECT CALL adjust_spellpower(school);
+ CALL default_effect();
+ CALL gain_xp(1);
+ spawn(rbox(location, 2), caster, 1030, 1, if_then_else(skill(caster, NATURE) < 3, 1, if_then_else(skill(caster, NATURE) < 5, 2, 3)), 10000);
LOCAL SPELL summon-maggots : "#A00" =