#223 Percentage based spellheal

Geschlossen
vor 3 Jahren geöffnet von neatz09 · 1 Kommentare
neatz09 kommentierte vor 3 Jahren

a variant of SpellHeal to use percentages rather than whole numbers. this would speed up dev for the vast amount of spells that use this rather than having to write math equations for them all

a variant of SpellHeal to use percentages rather than whole numbers. this would speed up dev for the vast amount of spells that use this rather than having to write math equations for them all
image kommentierte vor 3 Jahren
Mitarbeiter

SpellHealPct(heal_type, percentage, current_value, caster_value, target, crit_mod, no_calc, custom_spell_name)

special changes different from SpellHeal:

  • heal_type = string, "power" / "heal" no longer case sensitive (same with SpellHeal)
  • percentage = float, must be > 0.0f
  • current_value = bool, true (GetHP/GetPower) false (GetTotalHP/GetTotalPower)
  • caster_value = bool, true (Caster HP/Power) false (Target HP/Power)
SpellHealPct(heal_type, percentage, current_value, caster_value, target, crit_mod, no_calc, custom_spell_name) special changes different from SpellHeal: - heal_type = string, "power" / "heal" no longer case sensitive (same with SpellHeal) - percentage = float, must be > 0.0f - current_value = bool, true (GetHP/GetPower) false (GetTotalHP/GetTotalPower) - caster_value = bool, true (Caster HP/Power) false (Target HP/Power)
image hat dieses Issue vor 3 Jahren aus einem Commit referenziert
image hat vor 3 Jahren geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.