summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template12
1 files changed, 8 insertions, 4 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index b11980e3..9d13492d 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -306,7 +306,8 @@ SPELL grow-mauve : "#N01" =
COMPONENTS ["MauveHerb"])
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
- spawn(rbox(location, 2), caster, 1029, 1, if_then_else(skill(caster, NATURE) >= 3, 3, 2), 10000);
+ 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
@@ -316,7 +317,8 @@ SPELL grow-alizarin : "#N02" =
COMPONENTS ["AlizarinHerb"])
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
- spawn(rbox(location, 2), caster, 1032, 1, if_then_else(skill(caster, NATURE) >= 3, 3, 2), 10000);
+ 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
@@ -326,7 +328,8 @@ SPELL grow-gamboge : "#N03" =
COMPONENTS ["GambogeHerb"])
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
- spawn(rbox(location, 2), caster, 1031, 1, if_then_else(skill(caster, NATURE) >= 3, 3, 2), 10000);
+ 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
@@ -336,7 +339,8 @@ SPELL grow-cobalt : "#N04" =
COMPONENTS ["CobaltHerb"])
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
- spawn(rbox(location, 2), caster, 1030, 1, if_then_else(skill(caster, NATURE) >= 3, 3, 2), 10000);
+ 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" =