Redoubt.lua 791 B

123456789101112131415161718192021222324252627
  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. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases Max Health of target by 91.3
  10. -- Increases Slashing and Crushing of target by 2.2
  11. -- Increases Piercing of target by 4.3
  12. function cast(Caster, Target, HP, OffSkill, Pierce)
  13. AddSpellBonus(Target, 600, HP)
  14. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkill)
  15. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkill)
  16. AddSkillBonus(Target, GetSkillIDByName("Piercing"), Pierce)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. RemoveSkillBonus(Target)
  21. end