summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-31 23:19:21 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-31 23:19:21 +0000
commite2c14e0cabf53f13111f530078c8058d980ed3f2 (patch)
tree7d4137cfd6e2f4afe63a365e44e2576e05a04103 /conf
parent9f956eaf08722ed12132ba95ea09005190d14148 (diff)
downloadserverdata-e2c14e0cabf53f13111f530078c8058d980ed3f2.tar.gz
serverdata-e2c14e0cabf53f13111f530078c8058d980ed3f2.tar.bz2
serverdata-e2c14e0cabf53f13111f530078c8058d980ed3f2.tar.xz
serverdata-e2c14e0cabf53f13111f530078c8058d980ed3f2.zip
Adjust herb spells to spawn less for lower levels
Levels 1 and 2 spawn 1 plant Levels 3 and 4 spawn 2 plants level 5 spawns 3 platns
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 2d8c25a6..cfb9d4e6 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -305,7 +305,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
@@ -315,7 +316,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
@@ -325,7 +327,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
@@ -335,7 +338,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" =