according the api doc, it should be same isn't it? always bigger or smaller

local myHero = GetMyHero() local oldtick = 0 OnProcessSpell(function(unit, spell) if unit == myHero then oldtick = GetTickCount() end end) OnProcessSpellComplete(function(unit, spell) if unit == myHero then local calcWindup = GetTickCount() - oldtick PrintChat("OnProcessSpellComplete - OnProcessSpell tick : "..calcWindup) PrintChat("spell.windUpTime : "..spell.windUpTime) PrintChat("GetWindUp(myHero) : "..GetWindUp(myHero)) PrintChat("--------------------------------") end end)
Edited by ilovesona, 24 October 2015 - 04:44 .