RockSkin.lua 632 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/RockSkin.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.25 03:10:49
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Decreases Weapon Damage of caster by 50.0
  9. -- Slows caster by 88.9%
  10. -- Increases Mitigation of caster vs physical damage by 1727
  11. function cast(Caster, Target, Dmg, SlowAmt, Mit)
  12. local Slow = 100 - SlowAmt
  13. AddSpellBonus(Target, 685, Dmg)
  14. SetSpeedMultiplier(Target, Slow)
  15. AddSpellBonus(Target, 200, Mit)
  16. end
  17. function remove(Caster, Target)
  18. RemoveSpellBonus(Target)
  19. SetSpeedMultiplier(Target, 1)
  20. end