Redoubt.lua 720 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Redoubt.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 04:01:29
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Max Health of target by 91.3
  9. -- Increases Slashing and Crushing of target by 2.2
  10. -- Increases Piercing of target by 4.3
  11. function cast(Caster, Target, HP, OffSkill, Pierce)
  12. AddSpellBonus(Target, 600, HP)
  13. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkill)
  14. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkill)
  15. AddSkillBonus(Target, GetSkillIDByName("Piercing"), Pierce)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Target)
  19. RemoveSkillBonus(Target)
  20. end