CutaneousNeurotoxin.lua 606 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Commoner/CutaneousNeurotoxin.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.05.15 01:05:55
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. AddProc(Caster, 1, 5.0)
  10. end
  11. function proc(Caster, Target, Type)
  12. Level = GetLevel(Caster)
  13. MinDmg = math.floor(Level * 0.5)
  14. MaxDmg = math.floor(Level * 1.0)
  15. if Type == 2 then
  16. ProcDamage(Caster, Target, "Cutaneous Neurotoxin", 9, MakeRandomInt(MinDmg, MaxDmg))
  17. end
  18. end
  19. function remove(Caster, Target)
  20. RemoveProc()
  21. end