diff options
author | Fate <fate-tmw@googlemail.com> | 2009-01-31 10:25:45 -0700 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-01-31 10:25:45 -0700 |
commit | abf9b62ee2c44d122e463fbbc6411666d5901e1e (patch) | |
tree | 66fa3fc2afc1eb4fa9c6a29d91f85abcd56f0bb8 | |
parent | aaf35991589f4d2dc1c23a91c1859b646bfec007 (diff) | |
download | serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.tar.gz serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.tar.bz2 serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.tar.xz serverdata-abf9b62ee2c44d122e463fbbc6411666d5901e1e.zip |
Rain spell no longer works indoors
-rw-r--r-- | conf/magic.conf.template | 3 |
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); ); |