mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 13:57:38 +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:
@ -229,6 +229,7 @@ namespace HeavenStudio.Games
|
||||
void Awake()
|
||||
{
|
||||
instance = this;
|
||||
SetupBopRegion("octopusMachine", "bop", "keepBop");
|
||||
}
|
||||
|
||||
private void Start()
|
||||
@ -263,8 +264,11 @@ namespace HeavenStudio.Games
|
||||
|
||||
if (autoAction) bopIterate++;
|
||||
|
||||
bool keepBop = BeatIsInBopRegion(beat);
|
||||
|
||||
foreach (var octo in octopodes)
|
||||
{
|
||||
octo.cantBop = !keepBop;
|
||||
octo.RequestBop();
|
||||
}
|
||||
}
|
||||
@ -339,7 +343,6 @@ namespace HeavenStudio.Games
|
||||
foreach (var octo in octopodes) {
|
||||
if (singleBop) octo.PlayAnimation(whichBop);
|
||||
if (keepBop) bopStatus = whichBop;
|
||||
octo.cantBop = !keepBop;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user