Abomination.lua 632 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Defiler/Abomination.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.13 04:03:09
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BonusAmt, Health)
  9. -- Decreases STR, AGI, WIS and INT of target by 2.7
  10. AddSpellBonus(Target, 0, BonusAmt)
  11. AddSpellBonus(Target, 2, BonusAmt)
  12. AddSpellBonus(Target, 3, BonusAmt)
  13. AddSpellBonus(Target, 4, BonusAmt)
  14. -- Decreases Max Health of target by 0.5%
  15. AddSpellBonus(Target, 607, BonusAmt)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Target)
  19. end