SpiritoftheBat.lua 644 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Priest/Druid/SpiritoftheBat.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 05:01:59
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Agi, Avoid, Regen, MaxPwr)
  9. -- Increases AGI of target by 12.1
  10. AddSpellBonus(Target, 2, Agi)
  11. -- Adds 0.5% to base avoidance.
  12. AddSpellBonus(Target, 696, Avoid)
  13. -- Increases Combat Power Regen of target by 6.1
  14. AddSpellBonus(Target, 605, Regen)
  15. -- Increases Max Power of target by 74.2
  16. AddSpellBonus(Target, 619, MaxPwr)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end