summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 10:25:45 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 10:25:45 -0700
commitabf9b62ee2c44d122e463fbbc6411666d5901e1e (patch)
tree66fa3fc2afc1eb4fa9c6a29d91f85abcd56f0bb8 /conf
parentaaf35991589f4d2dc1c23a91c1859b646bfec007 (diff)
downloadserverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.tar.gz
serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.tar.bz2
serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.tar.xz
serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.zip
Rain spell no longer works indoors
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 092402a6..249c17d5 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -603,6 +603,7 @@ LOCAL SPELL rain : "#N13" =
IN (MANA 17, CASTTIME 3000,
REQUIRE skill(caster, MAGIC) > level,
REQUIRE skill(caster, school) > level,
+ REQUIRE is_exterior(location(caster)),
(REQUIRE skill(caster, school) > 3 OR COMPONENTS ["BottleOfWater"]))
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
@@ -621,7 +622,7 @@ LOCAL SPELL rain : "#N13" =
sfx(location, SFX_RAIN, 0);
FOREACH TARGET target IN rbox(location, 1) DO
IF element(target) = ELT_FIRE
- THEN injure(caster, target, 5 + random(5 + spellpower / 10), 0);
+ THEN injure(caster, target, 2 + random(5 + spellpower / 15), 0);
)
WAIT 300 - min(spellpower, 200) + random(100);
);