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