CureMagic.lua 485 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Mage/CureMagic.lua
  3. Script Author : theFoof
  4. Script Date : 2014.1.16
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- Dispels X levels of any hostile effects on target
  10. local level = ((GetLevel(Caster) * 1.08) + 1)
  11. CureByType(1, 1, "", level)
  12. CureByType(1, 2, "", level)
  13. CureByType(1, 3, "", level)
  14. CureByType(1, 4, "", level)
  15. end
  16. function remove(Caster, Target)
  17. end