Difference between revisions of "useSelf skill smartHeal"

From OpenKore Wiki
Jump to navigation Jump to search
(Improved historical)
Line 4: Line 4:
  
 
2 - this new Renewal formula: (int(($char->{lv} + $char->{int} + $char->{'int_bonus'}) / 5) * 30) * ($i / 10) * (1 + $meditatioBonus) + ($char->{'attack_magic_min'});
 
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.
 +
 +
== Changelog ==
 +
=== [https://sourceforge.net/p/openkore/code/8805/ r8805] ===
 +
Add useSelf_skill_smartHeal 2: partial renewal formula
  
 
== Developer Notes ==
 
== Developer Notes ==

Revision as of 04:21, 2 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'});

Notes

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

Changelog

r8805

Add useSelf_skill_smartHeal 2: partial renewal formula

Developer Notes

Include Fatal Wounds status, gears with bonus to Heal.