9
3

OverwhelmingSilence.lua 630 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/OverwhelmingSilence.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.29 09:11:30
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, PowerMax, PowerMin)
  9. local Power = math.random(PowerMin, PowerMax)
  10. if not IsEpic(Target) then
  11. AddControlEffect(Target, 2)
  12. end
  13. ModifyPower(Target, Power)
  14. end
  15. function tick(Caster, Target, PowerMax, PowerMin)
  16. local Power = math.random(PowerMin, PowerMax)
  17. ModifyPower(Target, Power)
  18. end
  19. function remove(Caster, Target)
  20. RemoveControlEffect(Target, 2)
  21. end