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/017-4/waric.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'world/map/npc/017-4/waric.txt') diff --git a/world/map/npc/017-4/waric.txt b/world/map/npc/017-4/waric.txt index 421a04ab..f98cb0d0 100644 --- a/world/map/npc/017-4/waric.txt +++ b/world/map/npc/017-4/waric.txt @@ -215,8 +215,8 @@ L_Next3: set @SUP_lvl, 2; callfunc "SkillUp"; next; - percentheal 100, 0; - percentheal -99, 0; + heal MaxHp, 0; + heal ((MaxHp/100) * -99), 0; mes "You feel completely exhausted."; set OrumQuest, 36; goto L_Close; @@ -224,8 +224,8 @@ L_Next3: L_NoOath: mes "Waric mumbles something. You guess it's a magic spell."; warp "005-3", 86 , 33; - percentheal 100, 0; - percentheal -50, 0; + heal MaxHp, 0; + heal ((MaxHp/100) * -50), 0; set OrumQuest, OrumQuest + 1; goto L_Close; @@ -364,7 +364,7 @@ L_Banished: mes "The wizard looks at you with despise."; mes "[Waric]"; mes "\"How did you...\""; - percentheal -100, 0; + heal -Hp, 0; goto L_Close; L_NoItem: -- cgit v1.2.3-60-g2f50