InspiredDaring.lua 651 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/InspiredDaring.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.27 08:09:39
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On a melee hit this spell will cast Daring Attack on target of attack.
  9. -- Inflicts 80 - 133 piercing damage on target
  10. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  11. AddProc(Target, 3, 100)
  12. end
  13. function proc(Caster, Target, Type, DmgType, MinVal, MaxVal)
  14. if Type == 3 then
  15. ProcDamage(Caster, Target, "Daring Attack", DmgType, MinVal, MaxVal)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end