diff options
author | gumi <git@gumi.ca> | 2019-08-20 23:14:12 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-03-08 16:07:59 -0400 |
commit | d8c9ff3ba3ece0973d313847f43fc9a866868d3b (patch) | |
tree | 6e284b3fa574beb6b67acb5bf6473209cde21ac3 /world/map/npc/009-8 | |
parent | 71f5ceed044d3908b971f5f5f6457086e0ebaa30 (diff) | |
download | serverdata-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/009-8')
-rw-r--r-- | world/map/npc/009-8/celestia.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |