Last active
May 23, 2018 01:18
-
-
Save sillypears/25da0dfdbbe63c3eaf73df9a34226a32 to your computer and use it in GitHub Desktop.
Wizard of Legend splitter with level splits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Originally created by TheFuncannon | |
//Updated by sillypears | |
state("WizardOfLegend") | |
{ | |
float gameTime: "mono.dll", 0x00296BC8, 0xC8, 0x80, 0x78, 0x70, 0x90; | |
float floorTime: "mono.dll", 0x00296BC8, 0xC8, 0x80, 0x78, 0x70, 0x94; | |
} | |
start | |
{ | |
if (old.gameTime < 0.02 && old.gameTime != current.gameTime) { | |
return true; | |
} | |
} | |
reset | |
{ | |
if (old.gameTime > 1 && current.gameTime < 0.3) { | |
return true; | |
} | |
} | |
split | |
{ | |
if (old.gameTime != 0 && current.gameTime != 0 && old.floorTime == 0.0 && old.floorTime != current.floorTime) { | |
return true; | |
} | |
} | |
isLoading | |
{ | |
return true; | |
} | |
gameTime | |
{ | |
return TimeSpan.FromSeconds(current.gameTime); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment