Skip to content

Commit

Permalink
Remove debug controls and fixing payout
Browse files Browse the repository at this point in the history
  • Loading branch information
AbsoluteStratos committed Sep 13, 2024
1 parent 9bd6c62 commit b4a72b0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
Binary file modified bin/CasinoKnight/CasinoKnight.dll
Binary file not shown.
Binary file modified bin/CasinoKnight/CasinoKnight.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions bin/CasinoKnight/SHA.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SHA256 - CasinoKnight.dll, Version 0.1.0.0:
973B504EBA4008F8B3E424AF709287F0503FEB862DFBADE1C8C577EB7556B2DA
941558D8D840EDCEA96E0A9A40DE3E65D57CD2352BF1FA13A4CD78B0CAFA5316
SHA256 - CasinoKnight.zip:
C05721FCB8594D00D028C316FA7EA9AA3C749808EAB6B68DBBD191F3C804EF6A
D7A0A3962FA8FD9298C7F655FDD78B8797B01022603EB43466A657F18F0F0385
9 changes: 4 additions & 5 deletions src/ModClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,13 @@ public override void Initialize(Dictionary<string, Dictionary<string, GameObject
public void OnHeroUpdate()
{

if (Input.GetKeyDown(KeyCode.J))
/*if (Input.GetKeyDown(KeyCode.J))
{
HeroController.instance.AddGeo(100);
}
// casino.OnHeroUpdate();
}*/
// Here we use the Player Action to detect the input
// This WasPressed is defined in the subclass `OneAxisInputControl`
if (Input.GetKeyDown(KeyCode.O))
/*if (Input.GetKeyDown(KeyCode.O))
{
// Quick jump to casino for testing, remove
GameManager.instance.BeginSceneTransition(new GameManager.SceneLoadInfo
Expand All @@ -116,7 +115,7 @@ public void OnHeroUpdate()
AlwaysUnloadUnusedAssets = false,
forceWaitFetch = false
});
}
}*/
}

void IGlobalSettings<GlobalSettings>.OnLoadGlobal(GlobalSettings s)
Expand Down
8 changes: 4 additions & 4 deletions src/SlotHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ public class SlotHandler : MonoBehaviour
(new Regex(@"44."), 2),
(new Regex(@"4.4"), 2),
(new Regex(@".44"), 2),
(new Regex(@"000"), 4),
(new Regex(@"111"), 8),
(new Regex(@"222"), 16),
(new Regex(@"333"), 32),
(new Regex(@"000"), 2),
(new Regex(@"111"), 4),
(new Regex(@"222"), 8),
(new Regex(@"333"), 16),
(new Regex(@"444"), 100),
};
internal System.Random rand = new System.Random(Guid.NewGuid().GetHashCode());
Expand Down

0 comments on commit b4a72b0

Please sign in to comment.