summaryrefslogtreecommitdiff
path: root/world/map/npc/009-8/celestia.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/009-8/celestia.txt
parent71f5ceed044d3908b971f5f5f6457086e0ebaa30 (diff)
downloadserverdata-d8c9ff3ba3ece0973d313847f43fc9a866868d3b.tar.gz
serverdata-d8c9ff3ba3ece0973d313847f43fc9a866868d3b.tar.bz2
serverdata-d8c9ff3ba3ece0973d313847f43fc9a866868d3b.tar.xz
serverdata-d8c9ff3ba3ece0973d313847f43fc9a866868d3b.zip
avoid killing players in quest NPCshardcore
Diffstat (limited to 'world/map/npc/009-8/celestia.txt')
-rw-r--r--world/map/npc/009-8/celestia.txt4
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;
}