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/051-3/ambush.txt | |
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/051-3/ambush.txt')
-rw-r--r-- | world/map/npc/051-3/ambush.txt | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/world/map/npc/051-3/ambush.txt b/world/map/npc/051-3/ambush.txt index 7d659710..13aa29d2 100644 --- a/world/map/npc/051-3/ambush.txt +++ b/world/map/npc/051-3/ambush.txt @@ -29,7 +29,8 @@ L_PrepareAmbush: end; L_ShouldNotBeHere: - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); end; } @@ -47,8 +48,9 @@ L_MakeAmbush: end; L_ShouldNotBeHere: - heal -Hp, 0; + set Hp, 1; message strcharinfo(0), "Your throat got cut by a sneaky bandit!"; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); end; } @@ -92,7 +94,8 @@ OnA: if (strcharinfo(0) == $@ILLIA_HELPER3$) goto L_CaptureHelper3; // kill that player otherwise, since not part of the quest. - heal -Hp, 0; + set Hp, 1; + warp getsavepoint(0), getsavepoint(1), getsavepoint(2); end; L_CaptureHero: @@ -100,8 +103,7 @@ L_CaptureHero: // Unequip all equipments nude; // put the health at 40%. - heal MaxHp, 0; - heal ((MaxHp/100) * -60), 0; + set Hp, (MaxHp / 100) * 40; warp "051-3", 69, 109; message strcharinfo(0), "Meh... Where am I?"; end; @@ -111,8 +113,7 @@ L_CaptureHelper1: // Unequip all equipments nude; // put the health at 40%. - heal MaxHp, 0; - heal ((MaxHp/100) * -60), 0; + set Hp, (MaxHp / 100) * 40; warp "051-3", 64, 102; message strcharinfo(0), "Meh... Where am I?"; end; @@ -122,8 +123,7 @@ L_CaptureHelper2: // Unequip all equipments nude; // put the health at 40%. - heal MaxHp, 0; - heal ((MaxHp/100) * -60), 0; + set Hp, (MaxHp / 100) * 40; warp "051-3", 62, 102; message strcharinfo(0), "Meh... Where am I?"; end; @@ -133,8 +133,7 @@ L_CaptureHelper3: // Unequip all equipments nude; // put the health at 40%. - heal MaxHp, 0; - heal ((MaxHp/100) * -60), 0; + set Hp, (MaxHp / 100) * 40; warp "051-3", 58, 102; message strcharinfo(0), "Meh... Where am I?"; end; |