From 9a2e1a8e79ca78a16ebd67a596583f00914ca022 Mon Sep 17 00:00:00 2001 From: mekolat Date: Mon, 6 Apr 2015 22:21:53 -0400 Subject: merge percentheal & itemheal into heal --- world/map/npc/051-3/ambush.txt | 22 +++++++++++----------- world/map/npc/051-3/reinforcements.txt | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'world/map/npc/051-3') 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; diff --git a/world/map/npc/051-3/reinforcements.txt b/world/map/npc/051-3/reinforcements.txt index 34f5434b..73236dec 100644 --- a/world/map/npc/051-3/reinforcements.txt +++ b/world/map/npc/051-3/reinforcements.txt @@ -10,7 +10,7 @@ L_CallReinforcements: end; L_ShouldNotBeHere: - percentheal -100, 0; + heal -Hp, 0; end; } @@ -24,7 +24,7 @@ L_ShouldNotBeHere: "Do nothing", L_Close; L_ShouldNotBeHere: - percentheal -100, 0; + heal -Hp, 0; end; L_TryOpen: -- cgit v1.2.3-60-g2f50