diff options
author | Fate <fate-tmw@googlemail.com> | 2009-05-30 21:59:03 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-05-30 22:01:31 +0000 |
commit | e0526fcc8f3dbed1c6ff16002ed4cd03b275b253 (patch) | |
tree | 15a557a66d707527d86d8e9c292ecf373c4c58e8 /conf/magic.conf.template | |
parent | 2292fea4a621f235b5e576d37b95d59cbf6b8ab4 (diff) | |
download | serverdata-e0526fcc8f3dbed1c6ff16002ed4cd03b275b253.tar.gz serverdata-e0526fcc8f3dbed1c6ff16002ed4cd03b275b253.tar.bz2 serverdata-e0526fcc8f3dbed1c6ff16002ed4cd03b275b253.tar.xz serverdata-e0526fcc8f3dbed1c6ff16002ed4cd03b275b253.zip |
Restricted arrow-hail spell to be nonoverlapping, reduced number of arrow hits,
increased individual damage by 25% baseline to compensate
Diffstat (limited to 'conf/magic.conf.template')
-rw-r--r-- | conf/magic.conf.template | 13 |
1 files changed, 10 insertions, 3 deletions
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" = |