summaryrefslogtreecommitdiff
path: root/npc/052-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-09 15:41:42 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-09 15:41:42 -0300
commit85f6f317c6f086c1155eb5a45c93781f4cf95943 (patch)
tree47b12bf54aa08f6661b68ce565263502a0b64c22 /npc/052-1
parenta853b2fe2e99f389d7e4d68d5ca58bef856fc459 (diff)
downloadserverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.tar.gz
serverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.tar.bz2
serverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.tar.xz
serverdata-85f6f317c6f086c1155eb5a45c93781f4cf95943.zip
Do not kill instantly on scripted death; And honor $HARDCORE flag if set
Diffstat (limited to 'npc/052-1')
-rw-r--r--npc/052-1/channelling.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/052-1/channelling.txt b/npc/052-1/channelling.txt
index 143a1225..c705c869 100644
--- a/npc/052-1/channelling.txt
+++ b/npc/052-1/channelling.txt
@@ -11,7 +11,7 @@ L_EnchantDoor:
end;
L_ShouldNotBeHere:
- heal -Hp, 0;
+ die();
end;
}
@@ -284,14 +284,14 @@ L_ChannellingMoved:
// and does not need being killed)
if (isin("052-1",1,1,100,80) == 0)
goto L_ChannellingFail;
- heal -Hp, 0;
+ die();
misceffect FX_MAGIC_DARK_EXPLOSION, strcharinfo(0);
message strcharinfo(0), "You moved out of the power circle. The magic power you accumulated backfires at you!";
goto L_ChannellingFail;
L_ChPwrVanish:
// kill the player as part of the process: the magic process drained his life.
- heal -Hp, 0;
+ die();
misceffect FX_MAGIC_DARK_EXPLOSION, strcharinfo(0);
message strcharinfo(0), "The magic power vanished, and your spell backfires at you!";
goto L_ChannellingFail;
@@ -310,7 +310,7 @@ L_ChannellingFail:
end;
L_ShouldNotBeHere:
- heal -Hp, 0;
+ die();
end;
OnInit: