Difference between revisions of "UseSelf skill smartHeal"

From OpenKore Wiki
Jump to: navigation, search
m
Line 1: Line 1:
; useSelf_skill_smartHeal <[[boolean]]>
+
; useSelf_skill_smartHeal <0|1|2>
 
: Enables auto adjusting skill level when auto using Heal on [[useSelf_skill|self]] or [[partySkill|party member]] to preserve sp.
 
: Enables auto adjusting skill level when auto using Heal on [[useSelf_skill|self]] or [[partySkill|party member]] to preserve sp.
 +
1 - this old formula: (int(($char->{lv} + $char->{int}) / 8) * (4 + $i * 8)) * $meditatioBonus;
  
 +
2 - this new Renewal formula: (int(($char->{lv} + $char->{int} + $char->{'int_bonus'}) / 5) * 30) * ($i / 10) * (1 + $meditatioBonus) + ($char->{'attack_magic_min'});
 +
<br>see SVN: r8805
 
== Notes ==
 
== Notes ==
 
Current HP, [http://irowiki.org/wiki/Meditatio Meditatio] and [[mercenary]]'s penalty are used for calculations.
 
Current HP, [http://irowiki.org/wiki/Meditatio Meditatio] and [[mercenary]]'s penalty are used for calculations.

Revision as of 16:38, 1 February 2014

useSelf_skill_smartHeal <0|1|2>
Enables auto adjusting skill level when auto using Heal on self or party member to preserve sp.

1 - this old formula: (int(($char->{lv} + $char->{int}) / 8) * (4 + $i * 8)) * $meditatioBonus;

2 - this new Renewal formula: (int(($char->{lv} + $char->{int} + $char->{'int_bonus'}) / 5) * 30) * ($i / 10) * (1 + $meditatioBonus) + ($char->{'attack_magic_min'});
see SVN: r8805

Notes

Current HP, Meditatio and mercenary's penalty are used for calculations.

Developer Notes

Include Fatal Wounds status, gears with bonus to Heal.