Dismay.lua 663 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/Dismay.lua
  3. Script Author : neatz09
  4. Script Date : 2019.09.23 05:09:23
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Decreases Crushing, Piercing, Slashing and Ranged of target by 20.3
  9. function cast(Caster, Target, SkillAmt)
  10. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  11. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  12. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  13. AddSkillBonus(Target, GetSkillIDByName("Ranged"), SkillAmt)
  14. end
  15. function remove(Caster, Target)
  16. RemoveSkillBonus(Target)
  17. end