summaryrefslogtreecommitdiff
path: root/world/map/npc/051-3/ambush.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/051-3/ambush.txt')
-rw-r--r--world/map/npc/051-3/ambush.txt21
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;