PreAlphaMeleeBuff.lua 538 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Commoner/PreAlphaMeleeBuff.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.20 03:01:11
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. AddProc(Caster, 1, 100)
  10. end
  11. function proc(Caster, Target, Type)
  12. local STR = GetStr(Caster)
  13. local DMGBonus = STR/10
  14. local ProcDMG = math.floor(DMGBonus)
  15. ProcDamage(Caster, Target, "AlphaProc", 13, ProcDMG)
  16. end
  17. function remove(Caster, Target)
  18. RemoveProc(Caster)
  19. end