From e0526fcc8f3dbed1c6ff16002ed4cd03b275b253 Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 30 May 2009 21:59:03 +0000 Subject: Restricted arrow-hail spell to be nonoverlapping, reduced number of arrow hits, increased individual damage by 25% baseline to compensate --- conf/magic.conf.template | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'conf') diff --git a/conf/magic.conf.template b/conf/magic.conf.template index 0f832181..eaf5e1b1 100644 --- a/conf/magic.conf.template +++ b/conf/magic.conf.template @@ -621,13 +621,20 @@ LOCAL SPELL arrow-hail : "#W11" = (REQUIRE skill(caster, school) > 3 OR COMPONENTS ["SulphurPowder"])) => EFFECT CALL adjust_spellpower(school); CALL default_effect(); + range = 7; area = rbox(awayfrom(location(caster), dir(caster), 1 + range), range); - damage = 100; + + FOREACH SPELL s IN rbox(awayfrom(location(caster), dir(caster), 1 + range), range * 2) DO + IF (s <> self_invocation) && (name_of(s) = "arrow-hail") + THEN (message (caster, "A nearby arrow hail spell absorbs your magic!"); + ABORT;) + + damage = 125; damage_bonus = spellpower / 5; CALL gain_xp(2); FOR i = 0 TO spellpower / 8 DO ( - FOR j = 0 TO 3 DO ( + FOR j = 0 TO 2 DO ( location = random_location(area); sfx(location, SFX_ARROW_HAIL, 0); done = 0; @@ -641,7 +648,7 @@ LOCAL SPELL arrow-hail : "#W11" = sfx(caster, SFX_HIT, 0); ) ); - WAIT (250 - min(spellpower / 3, 180)) + random(50) + random(50); + WAIT 250 + random(50) + random(50); ); SPELL magic-knuckles : "#W12" = -- cgit v1.2.3-60-g2f50