9
3

MinorHealingHighChief.lua 605 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Priest/MinorHealingHighChief.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.03.03 04:03:15
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. local zone = GetZone(Caster)
  10. local ChooseTarget = math.random(1,2)
  11. if ChooseTarget == 1 then
  12. local HealTarget = GetSpawnByLocationID(zone, 133775603)
  13. elseif
  14. ChooseTarget == 2 then
  15. local HealTarget = GetSpawnByLocationID(zone, 133775604)
  16. end
  17. SpellHeal("Heal", 45, 50, HealTarget)
  18. end