From ed79b534c296f2a65a0af385c17a1ff0b12de1b4 Mon Sep 17 00:00:00 2001 From: Fate Date: Fri, 15 May 2009 15:33:16 +0000 Subject: Added poison to snakes and scorpions, capped rain spell range and severity --- conf/magic.conf.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf/magic.conf.template') diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 7873163a..058ec51e 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -678,7 +678,7 @@ LOCAL SPELL rain : "#N13" = => EFFECT CALL adjust_spellpower(school); CALL default_effect(); CALL gain_xp(1); - range = min(MAX_RAIN_SPELL_RADIUS, 3 + spellpower / 30); + range = min(MAX_RAIN_SPELL_RADIUS, 3 + min(spellpower, 400) / 30); area = rbox(location(caster), range); IF (is_in(location(npc("#DruidTree0#_M")), area) || is_in(location(npc("#DruidTree1#_M")), area)) @@ -687,7 +687,7 @@ LOCAL SPELL rain : "#N13" = callfunc "QuestTreeTrigger"; }; FOR i = 0 TO spellpower DO ( - FOR j = 0 TO spellpower / 100 DO ( + FOR j = 0 TO min(spellpower, 500) / 100 DO ( location = random_location(area); sfx(location, SFX_RAIN, 0); FOREACH TARGET target IN rbox(location, 1) DO -- cgit v1.2.3-70-g09d2