summaryrefslogtreecommitdiff
path: root/world/map/conf/magic-level2.sex
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-09-27 20:11:14 +0000
committermekolat <mekolat@users.noreply.github.com>2015-09-27 20:11:14 +0000
commit4c5d23cae7456578bc5be44f38d35a58cf8d4719 (patch)
treeb228a1334cf6bfbfbb84831ccd31435858a32c26 /world/map/conf/magic-level2.sex
parentb8f82644c01d26bad6835ba23b6db27e84184453 (diff)
downloadserverdata-4c5d23cae7456578bc5be44f38d35a58cf8d4719.tar.gz
serverdata-4c5d23cae7456578bc5be44f38d35a58cf8d4719.tar.bz2
serverdata-4c5d23cae7456578bc5be44f38d35a58cf8d4719.tar.xz
serverdata-4c5d23cae7456578bc5be44f38d35a58cf8d4719.zip
abort kaflosh if caster missing
Diffstat (limited to 'world/map/conf/magic-level2.sex')
-rw-r--r--world/map/conf/magic-level2.sex4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/conf/magic-level2.sex b/world/map/conf/magic-level2.sex
index e3508df2..e4bd6908 100644
--- a/world/map/conf/magic-level2.sex
+++ b/world/map/conf/magic-level2.sex
@@ -917,6 +917,8 @@
(FOR i 0
(/ spellpower 3)
(BLOCK
+ (IF (not (pc caster))
+ (ABORT))
(FOR j 0
(/
(min
@@ -924,6 +926,8 @@
200)
100)
(BLOCK
+ (IF (not (pc caster))
+ (ABORT))
(SET location
(random_location area))
(sfx location SFX_RAIN 0)