diff options
author | mekolat <mekolat@gmail.com> | 2015-04-06 22:21:53 -0400 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2015-04-07 11:14:38 -0400 |
commit | 9a2e1a8e79ca78a16ebd67a596583f00914ca022 (patch) | |
tree | 5f102a35c8f6f62d7193f6350a7e14cb3972be6a /world/map/npc/051-3/ambush.txt | |
parent | 99d73066bf2a7fb4911e79b52a48ba913a2aa459 (diff) | |
download | serverdata-9a2e1a8e79ca78a16ebd67a596583f00914ca022.tar.gz serverdata-9a2e1a8e79ca78a16ebd67a596583f00914ca022.tar.bz2 serverdata-9a2e1a8e79ca78a16ebd67a596583f00914ca022.tar.xz serverdata-9a2e1a8e79ca78a16ebd67a596583f00914ca022.zip |
merge percentheal & itemheal into heal
Diffstat (limited to 'world/map/npc/051-3/ambush.txt')
-rw-r--r-- | world/map/npc/051-3/ambush.txt | 22 |
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; |