ThunderingFists.lua 538 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/ThunderingFists.lua
  3. Script Author : Dello
  4. Script Date : 2014.07.11 02:07:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, Dmg)
  9. SetSpellTriggerCount(5, 1)
  10. AddProc(Target, 3, 100)
  11. end
  12. function proc(Caster, Target, Type, DmgType, Dmg)
  13. if Type == 3 then
  14. ProcDamage(Caster, Target, "Thunder Fist", DmgType, Dmg)
  15. RemoveTriggerFromSpell(1)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveProc(Target)
  20. end