ForcedObedience.lua 655 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Inquisitor/ForcedObedience.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.13 09:03:20
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, SkillAmt)
  9. -- Decreases Ranged, Piercing, Slashing and Crushing of target encounter by 4.9
  10. AddSkillBonus(Target, GetSkillIDByName("Ranged"), SkillAmt)
  11. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  12. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  13. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  14. end
  15. function remove(Caster, Target)
  16. RemoveSkillBonus(Target)
  17. end