9
3

FocusStalwart.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : Spells/FocusStalwart.lua
  3. Script Author : neatz09
  4. Script Date : 2020.12.04 05:12:33
  5. Script Purpose :
  6. : this spell will likely need a formula
  7. --]]
  8. -- Increases AGI, STA, STR, INT and WIS of caster by 2.0
  9. -- Increases Max Health and Power by 1%
  10. -- Increases In-Combat Regeneration by 2.0
  11. -- Increases Mitigation of caster vs elemental, noxious and arcane damage by 0
  12. -- Grants a 5.0% chance to resist Stun effects
  13. -- Increases In-Combat Regeneration by 2.0
  14. -- Increases Mitigation of caster vs arcane damage by 0
  15. function cast(Caster, Target, Stats, PwrHP, Regen, Stun, Resist)
  16. AddSpellBonus(Target, 0, Stats)
  17. AddSpellBonus(Target, 1, Stats)
  18. AddSpellBonus(Target, 2, Stats)
  19. AddSpellBonus(Target, 3, Stats)
  20. AddSpellBonus(Target, 4, Stats)
  21. AddSpellBonus(Target, 607, PwrHP)
  22. AddSpellBonus(Target, 620, PwrHP)
  23. AddSpellBonus(Target, 604, Regen)
  24. AddSpellBonus(Target, 605, Regen)
  25. AddSpellBonus(Target, 201, Resist)
  26. AddSpellBonus(Target, 202, Resist)
  27. AddSpellBonus(Target, 203, Resist)
  28. end
  29. function remove(Caster, Target)
  30. RemoveSpellBonus(Target)
  31. end