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/017-4 | |
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/017-4')
-rw-r--r-- | world/map/npc/017-4/waric.txt | 10 |
1 files changed, 5 insertions, 5 deletions
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: |