summaryrefslogtreecommitdiff
path: root/conf/magic.conf.template
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-05-15 15:33:16 +0000
committerFate <fate-tmw@googlemail.com>2009-05-15 15:33:16 +0000
commited79b534c296f2a65a0af385c17a1ff0b12de1b4 (patch)
tree1849c2c6133e03e225e3f0e87082467bf04f4478 /conf/magic.conf.template
parenteb01e639f91d6cef6117abb5a59f27829fe79a37 (diff)
downloadserverdata-ed79b534c296f2a65a0af385c17a1ff0b12de1b4.tar.gz
serverdata-ed79b534c296f2a65a0af385c17a1ff0b12de1b4.tar.bz2
serverdata-ed79b534c296f2a65a0af385c17a1ff0b12de1b4.tar.xz
serverdata-ed79b534c296f2a65a0af385c17a1ff0b12de1b4.zip
Added poison to snakes and scorpions, capped rain spell range and severity
Diffstat (limited to 'conf/magic.conf.template')
-rw-r--r--conf/magic.conf.template4
1 files changed, 2 insertions, 2 deletions
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