Haze.lua 712 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Shaman/Mystic/Haze.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.13 05:12:51
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BonusAmt, SkillAmt)
  9. -- Decreases Attack Speed of target by 9.2
  10. AddSpellBonus(Target, 617, BonusAmt)
  11. -- Decreases Slashing, Piercing and Crushing of target by 0.6
  12. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  13. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  14. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  15. end
  16. function remove(Caster, Target)
  17. RemoveSpellBonus(Target)
  18. RemoveSkillBonus(Target)
  19. end