diff options
author | Wushin <pasekei@gmail.com> | 2016-10-10 09:14:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-10 09:14:38 -0500 |
commit | 18d5435dc7eb3c8e25f5056b52af6c4779e54148 (patch) | |
tree | ef5ef82e0c3d55b2fe2ca5a636a7c2df234e246f /world/map/npc/magic/level1-lesser-heal.txt | |
parent | f6d5ad02168f5a91a8a08ab7f2128e280d55d2cf (diff) | |
parent | 83fcbafd55860e1db99e8b5b37545efd428117e8 (diff) | |
download | serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.tar.gz serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.tar.bz2 serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.tar.xz serverdata-18d5435dc7eb3c8e25f5056b52af6c4779e54148.zip |
Merge pull request #515 from mekolat/angela
patches
Diffstat (limited to 'world/map/npc/magic/level1-lesser-heal.txt')
-rw-r--r-- | world/map/npc/magic/level1-lesser-heal.txt | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/world/map/npc/magic/level1-lesser-heal.txt b/world/map/npc/magic/level1-lesser-heal.txt index d195956f..37d081dc 100644 --- a/world/map/npc/magic/level1-lesser-heal.txt +++ b/world/map/npc/magic/level1-lesser-heal.txt @@ -17,18 +17,14 @@ callfunc "adjust_spellpower"; set Sp, Sp - 6; misceffect FX_MAGIC_WHITE, strcharinfo(0); - set .@heal_value, get(HEALXP, @target_id); - set @mexp, .exp_gain; callfunc "magic_exp"; - if (.@heal_value > 200) - set .@heal_value, 200; if (@args$ == "Mouboo" || @args$ == "mouboo") goto L_Mouboo; if (@target_id != BL_ID) goto L_NotMe; goto L_Continue; L_NotMe: misceffect FX_MAGIC_WHITE, @target_id; - callfunc "gain_heal_xp"; + void call("gain_heal_xp", min(200, (get(MaxHp, @target_id) - get(Hp, @target_id))), 1, 2, 2); goto L_Continue; L_Continue: @@ -51,6 +47,5 @@ OnInit: void call("magic_register"); set .level, 1; set .exp_gain, 1; - set .heal_xp_value_divisor, 2; end; } |