diff options
Diffstat (limited to 'conf/magic.conf.template')
-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); ); |