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/009-8/celestia.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'world/map/npc/009-8/celestia.txt') diff --git a/world/map/npc/009-8/celestia.txt b/world/map/npc/009-8/celestia.txt index 3c199f74..65b72c3a 100644 --- a/world/map/npc/009-8/celestia.txt +++ b/world/map/npc/009-8/celestia.txt @@ -41,7 +41,7 @@ L_YetiMask: mes "You catch a glimpse of a black bow while some kind of dark mist quickly overcomes you."; next; mes "You feel a sharp pain in your heart and everything fades into darkness."; - heal -Hp + 1, 0; // set the current hp to 1 + set Hp, 1; set @scared_celestia, 1; // set a temporary variable (resets on log out) in the player scope (variable is stored in the player, not in the npc) warp "009-2", 148, 43; close; // terminate the script and require the player to press the "close" button @@ -332,7 +332,7 @@ OnPCLoginEvent: end; L_Stomp: - set Hp, 0; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); end; } -- cgit v1.2.3-70-g09d2