Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetDotInfo(baseDur, haste, tickInterval)
- local dur = baseDur/haste
- tickInterval = tickInterval/haste
- while dur + tickInterval <= baseDur + (tickInterval / 2) do
- dur = dur + tickInterval
- end
- local numTicks = dur/tickInterval
- return dur, tickInterval, numTicks
- end
Advertisement
Add Comment
Please, Sign In to add comment