summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-02-01 09:56:37 -0700
committerFate <fate-tmw@googlemail.com>2009-02-01 09:56:37 -0700
commit09197d7156bcf59085fbb40b7088b486b6bd9fa0 (patch)
tree0abd88dc7f55825203ab5b04e6dbe159c00ce065 /conf
parent21504c285313807cf5efc149ce8e1dd20159de14 (diff)
downloadserverdata-09197d7156bcf59085fbb40b7088b486b6bd9fa0.tar.gz
serverdata-09197d7156bcf59085fbb40b7088b486b6bd9fa0.tar.bz2
serverdata-09197d7156bcf59085fbb40b7088b486b6bd9fa0.tar.xz
serverdata-09197d7156bcf59085fbb40b7088b486b6bd9fa0.zip
aggravate spell now only operates within line of sight
Diffstat (limited to 'conf')
-rw-r--r--conf/magic.conf.template7
1 files changed, 4 insertions, 3 deletions
diff --git a/conf/magic.conf.template b/conf/magic.conf.template
index 2d8c25a6..b11980e3 100644
--- a/conf/magic.conf.template
+++ b/conf/magic.conf.template
@@ -293,9 +293,10 @@ SPELL aggravate : "#N00" =
REQUIRE skill(caster, MAGIC) > level)
=> EFFECT CALL adjust_spellpower(school);
CALL default_effect();
- FOREACH MOB target IN rbox(location(caster), 1 + spellpower / 20) DO
- (CALL sfx_generic(target);
- aggravate(target, 0, caster);)
+ FOREACH MOB target IN rbox(location(caster), 2 + spellpower / 50) DO
+ IF line_of_sight(location(caster), location(target))
+ THEN (CALL sfx_generic(target);
+ aggravate(target, 0, caster);)
SPELL grow-mauve : "#N01" =
LET level = 0