diff options
author | Haru <haru@dotalux.com> | 2013-11-10 05:09:37 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-10 05:09:37 +0100 |
commit | f7f10cf7bb600b6871ed37f493fef18110dc182b (patch) | |
tree | 8675372615de5b48093f5093f0e0e890834971f0 /npc/custom/healer.txt | |
parent | b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (diff) | |
download | hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.tar.gz hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.tar.bz2 hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.tar.xz hercules-f7f10cf7bb600b6871ed37f493fef18110dc182b.zip |
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in remaining variables, labels, constants.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/healer.txt')
-rw-r--r-- | npc/custom/healer.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/custom/healer.txt b/npc/custom/healer.txt index 1b1d94d91..e11e2a647 100644 --- a/npc/custom/healer.txt +++ b/npc/custom/healer.txt @@ -13,16 +13,16 @@ - script Healer -1,{ - set .@Price,0; // Zeny required for heal + set .@price,0; // Zeny required for heal set .@Buffs,0; // Also buff players? (1: yes / 0: no) set .@Delay,0; // Heal delay, in seconds if (@HD > gettimetick(2)) end; - if (.@Price) { - message strcharinfo(0),"Healing costs "+.@Price+" Zeny."; - if (Zeny < .@Price) end; + if (.@price) { + message strcharinfo(0),"Healing costs "+.@price+" Zeny."; + if (Zeny < .@price) end; if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) end; - set Zeny, Zeny-.@Price; + set Zeny, Zeny-.@price; } specialeffect2 EF_HEAL2; percentheal 100,100; if (.@Buffs) { |