NecroticReconstruction.lua 712 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Necromancer/NecroticReconstruction.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.07 09:12:29
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, dispelLevels, healVal, tickHealVal)
  9. -- Heals target for 9
  10. SpellHeal("Heal", healVal)
  11. -- Dispels 6 levels of any hostile effects on target
  12. CureByType(1, 1, 0, dispelLevels)
  13. CureByType(1, 2, 0, dispelLevels)
  14. CureByType(1, 3, 0, dispelLevels)
  15. CureByType(1, 4, 0, dispelLevels)
  16. end
  17. function tick(Caster, Target, dispelLevels, healVal, tickHealVal)
  18. -- Heals target for 1 every second
  19. SpellHeal("Heal", tickHealVal)
  20. end