CantRowOfficial / Idle-Champions-EGS

Scripts for the game Idle Champions
8 stars 1 forks source link

updated time + friendly formatting #1

Open banur opened 3 years ago

banur commented 3 years ago

Hiya!

I've changed the time to not being displayed based on ticks but as HH:mm:ss instead. It's based on this: https://autohotkey.com/board/topic/4569-tickcount-to-hours-min-sec/ You need an initial time object and then you are able to manipulate it with:

T += A_TickCount/1000,Seconds
FormatTime FormdT, %T%, HH:mm:ss

My code is here, mostly line 127/129 and then a bit from line 1088: https://github.com/banur/IC_scripting

Snap44

Many thanks for the EGS version!

cheers b.

PS: I'll also boop mike.

banur commented 3 years ago

Oh, also contains sending W before closing and switching to E which fixed failed stacking for me. So careful with just copy pasta.