FlurryofBlades.lua 797 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/FlurryofBlades.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.24 04:10:57
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- Inflicts 40 - 67 melee damage on target
  10. SpellDamage(Target, DmgType, MinVal, MaxVal, Mit)
  11. -- Inflicts 40 - 67 melee damage on target
  12. if LastSpellAttackHit() then
  13. SpellDamage(Target, DmgType, MinVal, MaxVal)
  14. end
  15. -- Inflicts 40 - 67 melee damage on target
  16. if LastSpellAttackHit() then
  17. SpellDamage(Target, DmgType, MinVal, MaxVal)
  18. end
  19. -- Decreases Mitigation of target vs physical damage by 189
  20. if LastSpellAttackHit() then
  21. AddSpellBonus(Target, 200, Mit)
  22. end
  23. end
  24. function remove(Caster, Target)
  25. RemoveSpellBonus(Target)
  26. end