9
3

Dogma.lua 743 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Inquisitor/Dogma.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.26 12:10:25
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. function cast(Caster, Target, DmgType, DmgVal)
  10. AddProc(Target, 12, 100)
  11. end
  12. function proc(Caster, Target, Type, DmgType, DmgVal)
  13. -- On a beneficial spell cast this spell will cast Convert Ally on target of spell cast.
  14. if Type == 12 then
  15. -- Heals target for 128
  16. ProcHeal(Caster, Target, "Convert Ally", "Heal", HealVal, 0, "You cast Convert Ally on %t")
  17. end
  18. end
  19. function remove(Caster, Target)
  20. RemoveProc(Target)
  21. end