summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
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" =