diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-06-03 14:08:59 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-06-03 14:13:05 -0600 |
commit | 64250174ea4f2e3060329961f6b54c6d433b2009 (patch) | |
tree | f3e64d5ff2fadac31e880f61155c628aae58c39e /conf | |
parent | ffb45934be41a139e2fc0cefb4fd11572165cb90 (diff) | |
download | classic-serverdata-64250174ea4f2e3060329961f6b54c6d433b2009.tar.gz classic-serverdata-64250174ea4f2e3060329961f6b54c6d433b2009.tar.bz2 classic-serverdata-64250174ea4f2e3060329961f6b54c6d433b2009.tar.xz classic-serverdata-64250174ea4f2e3060329961f6b54c6d433b2009.zip |
Simplify herb amount math for growth spells
Diffstat (limited to 'conf')
-rw-r--r-- | conf/magic.conf.template | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 199fa975..aa37257b 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -367,7 +367,7 @@ SPELL grow-mauve : "#N01" = => 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); + spawn(rbox(location, 2), caster, 1029, 1, skill(caster, school) / 2 + 1, 10000); SPELL grow-alizarin : "#N02" = LET level = 0 @@ -378,7 +378,7 @@ SPELL grow-alizarin : "#N02" = => 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); + spawn(rbox(location, 2), caster, 1032, 1, skill(caster, school) / 2 + 1, 10000); SPELL grow-gamboge : "#N03" = LET level = 0 @@ -389,7 +389,7 @@ SPELL grow-gamboge : "#N03" = => 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); + spawn(rbox(location, 2), caster, 1031, 1, skill(caster, school) / 2 + 1, 10000); SPELL grow-cobalt : "#N04" = LET level = 0 @@ -400,7 +400,7 @@ SPELL grow-cobalt : "#N04" = => 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); + spawn(rbox(location, 2), caster, 1030, 1, skill(caster, school) / 2 + 1, 10000); LOCAL SPELL summon-maggots : "#A00" = |