FaeFire.lua 684 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/FaeFire.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.28 05:10:28
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On any combat or spell hit this spell will cast Fae Fires on target of attack.
  9. -- Inflicts 195 heat damage on target
  10. -- Grants a total of 3 triggers of the spell.
  11. function cast(Caster, Target, DmgType, Dmg)
  12. AddProc(Target, 1, 100)
  13. SetSpellTriggerCount(3, 1)
  14. end
  15. function proc(Caster, Target, Type, DmgType, Dmg)
  16. ProcDamage(Caster, Target, "Fae Fires", DmgType, Dmg)
  17. RemoveTriggerFromSpell(1)
  18. end
  19. function remove(Caster, Target)
  20. RemoveProc(Target)
  21. end