mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:37:37 +02:00
Auto Bop Internal Rework + Bug Fixes (#589)
* fixed blue bear * fixed tap trial bug * see saw fix * Auto bop rework
This commit is contained in:
@ -692,6 +692,7 @@ namespace HeavenStudio.Games
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
SetupBopRegion("karateman", "bop", "toggle");
|
||||
|
||||
KarateManPot.ResetLastCombo();
|
||||
|
||||
@ -1168,13 +1169,13 @@ namespace HeavenStudio.Games
|
||||
|
||||
public override void OnBeatPulse(double beat)
|
||||
{
|
||||
bool autoBop = BeatIsInBopRegion(beat);
|
||||
Joe.bop.length = autoBop ? float.MaxValue : 0;
|
||||
Joe.RequestBop();
|
||||
}
|
||||
|
||||
public void ToggleBop(double beat, float length, bool toggle, bool autoBop)
|
||||
{
|
||||
Joe.bop.length = autoBop ? float.MaxValue : 0;
|
||||
|
||||
if (toggle)
|
||||
{
|
||||
var actions = new List<BeatAction.Action>();
|
||||
|
Reference in New Issue
Block a user