summaryrefslogtreecommitdiff
path: root/world/map/npc/018-2/caul.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-08-20 23:14:12 -0400
committergumi <git@gumi.ca>2020-03-08 16:07:59 -0400
commitd8c9ff3ba3ece0973d313847f43fc9a866868d3b (patch)
tree6e284b3fa574beb6b67acb5bf6473209cde21ac3 /world/map/npc/018-2/caul.txt
parent71f5ceed044d3908b971f5f5f6457086e0ebaa30 (diff)
downloadserverdata-hardcore.tar.gz
serverdata-hardcore.tar.bz2
serverdata-hardcore.tar.xz
serverdata-hardcore.zip
avoid killing players in quest NPCshardcore
Diffstat (limited to 'world/map/npc/018-2/caul.txt')
-rw-r--r--world/map/npc/018-2/caul.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/world/map/npc/018-2/caul.txt b/world/map/npc/018-2/caul.txt
index 4709cfc9..2616d72f 100644
--- a/world/map/npc/018-2/caul.txt
+++ b/world/map/npc/018-2/caul.txt
@@ -463,7 +463,7 @@ L_mo_explode:
goto L_mo_explode_dodge;
mes "The burst of boiling monster brew hits you.";
next;
- heal (15 * rand(Vit)) - 1500, 0, 1;
+ heal max(0 - Hp + 1, (15 * rand(Vit)) - 1500), 0, 1;
close;
L_mo_explode_dodge:
@@ -1022,10 +1022,10 @@ L_check_exp_nof:
// in some cases it is not:
// kabooom!
close2;
- heal -(Hp/2), 0;
misceffect 5;
misceffect 16;
- heal -Hp, 0;
+ set Hp, 1;
+ warp getsavepoint(0), getsavepoint(1), getsavepoint(2);
end;
L_calc_dempo_color: