Putrefy.lua 634 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Defiler/Putrefy.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.13 03:03:42
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BonusAmt, DoTType, DmgVal)
  9. -- Decreases WIS of target by 8.0
  10. AddSpellBonus(Target, 3, BonusAmt)
  11. -- Inflicts 6 poison damage on target instantly and every 4 seconds
  12. SpellDamage(Target, DoTType, DmgVal)
  13. end
  14. function tick(Caster, Target, BonusAmt, DoTType, DmgVal)
  15. SpellDamage(Target, DoTType, DmgVal)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Target)
  19. end