Difference between revisions of "useSelf skill smartHeal"

From OpenKore Wiki
Jump to navigation Jump to search
(Improved historical)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
; useSelf_skill_smartHeal [<boolean flag>]
+
; 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;
  
=== Notes ===
+
2 - this new Renewal formula: (int(($char->{lv} + $char->{int} + $char->{'int_bonus'}) / 5) * 30) * ($i / 10) * (1 + $meditatioBonus) + ($char->{'attack_magic_min'});
  
Current HP, High Priest's [http://irowiki.org/wiki/Meditatio Meditatio] and [[Mercenary]]'s penalty are used for calculations.
+
== Notes ==
 +
Current HP, [http://irowiki.org/wiki/Meditatio Meditatio] and [[mercenary]]'s penalty are used for calculations.
  
=== TODO ===
+
== Changelog ==
 +
=== [https://sourceforge.net/p/openkore/code/8805/ r8805] ===
 +
Add useSelf_skill_smartHeal 2: partial renewal formula
  
 +
== Developer Notes ==
 
Include Fatal Wounds status, gears with bonus to Heal.
 
Include Fatal Wounds status, gears with bonus to Heal.
  
 
[[Category:config.txt]]
 
[[Category:config.txt]]
 
[[Category:skills]]
 
[[Category:skills]]
 +
[[Category:Feature Request]]

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.