788 B
788 B
Function: SpellHeal(heal_type, min_heal, max_heal, target, crit_mod, no_calcs, custom_spell_name)
Description: Heal or Increase Power of a Target inside of a spell script. heal_type is "heal" or "power".
Parameters:
heal_type
(string) - String valueheal_type
.min_heal
(int32) - Integer valuemin_heal
.max_heal
(int32) - Integer valuemax_heal
.target
(Spawn) - Spawn object representingtarget
.crit_mod
(int32) - Integer valuecrit_mod
.no_calcs
(int32) - Integer valueno_calcs
.custom_spell_name
(string) - Stringcustom_spell_name
.
Returns: None.
Example:
-- From Spells/AA/AncestralChanneling.lua
function cast(Caster, Target, HealMin, HealMax, HoTMin, HoTMax)
SpellHeal("Heal", HealMin, HealMax)
end