OnDraw(function(myHero) spelldataz = GetSpellData(myHero,_R); DrawText(string.format("level = %d", spelldataz.level),12,000,30,0xff00ff00); DrawText(string.format("cdEndTime = %f", spelldataz.cdEndTime),12,000,40,0xff00ff00); DrawText(string.format("ammo = %d", spelldataz.ammo),12,000,50,0xff00ff00); DrawText(string.format("rechargeEndTime = %f", spelldataz.rechargeEndTime),12,000,60,0xff00ff00); DrawText(string.format("toggleState = %d", spelldataz.toggleState),12,000,70,0xff00ff00); DrawText(string.format("spellCd = %f", spelldataz.spellCd),12,000,80,0xff00ff00); DrawText(string.format("ammoCd = %f", spelldataz.ammoCd),12,000,90,0xff00ff00); end).toggleState values: 0=untoggleable; 1=untoggled; 2=toggled
Big thanks to jouzuna for most of these!