From d8c9ff3ba3ece0973d313847f43fc9a866868d3b Mon Sep 17 00:00:00 2001 From: gumi Date: Tue, 20 Aug 2019 23:14:12 -0400 Subject: avoid killing players in quest NPCs --- world/map/npc/048-2/slimes.txt | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'world/map/npc/048-2/slimes.txt') diff --git a/world/map/npc/048-2/slimes.txt b/world/map/npc/048-2/slimes.txt index b07420db..3b5be732 100644 --- a/world/map/npc/048-2/slimes.txt +++ b/world/map/npc/048-2/slimes.txt @@ -36,7 +36,8 @@ goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; @@ -125,7 +126,8 @@ L_ClearedPoint: goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; @@ -214,7 +216,8 @@ L_ClearedPoint: goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; @@ -303,7 +306,8 @@ L_ClearedPoint: goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; @@ -392,7 +396,8 @@ L_ClearedPoint: goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; @@ -481,7 +486,8 @@ L_ClearedPoint: goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; @@ -570,7 +576,8 @@ L_ClearedPoint: goto L_End; L_BlowUp: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); message strcharinfo(0), "A slime dripped out of a bookshelf right in front of you and stepped onto it. It exploded. That hurt."; goto L_End; -- cgit v1.2.3-70-g09d2