mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 12:37:37 +02:00
Sick Beats Fixed (#788)
* Sick Beats (WIP) * sfx * I wish create ScheduleMissableInput sometime * deleted: Assets/Resources/Sprites/Games/SickBeats/Animations/virus/virusCome.anim * Simple Flick * ScheduleMissableInput
This commit is contained in:
@ -46,6 +46,8 @@ namespace HeavenStudio.Games
|
||||
|
||||
public bool countsForAccuracy = true; //Indicates if the input counts for the accuracy or not. If set to false, it'll not be counted in the accuracy calculation
|
||||
|
||||
public bool missable = false; //Indicates if the miss input counts for the accuracy or not. If set to true, it'll not be counted in the accuracy calculation
|
||||
|
||||
public void setHitCallback(ActionEventCallbackState OnHit)
|
||||
{
|
||||
this.OnHit = OnHit;
|
||||
@ -332,7 +334,7 @@ namespace HeavenStudio.Games
|
||||
OnMiss(this);
|
||||
}
|
||||
|
||||
if (countsForAccuracy && gm.canInput && !(noAutoplay || autoplayOnly))
|
||||
if (countsForAccuracy && !missable && gm.canInput && !(noAutoplay || autoplayOnly))
|
||||
{
|
||||
gm.ScoreInputAccuracy(startBeat + timer, 0, true, 2.0, weight, false);
|
||||
GoForAPerfect.instance.Miss();
|
||||
|
Reference in New Issue
Block a user