flow bar reactions

This commit is contained in:
minenice55
2022-08-13 22:11:17 -04:00
parent 5b3c0584f3
commit 99b2294561
9 changed files with 84 additions and 10 deletions

View File

@ -574,6 +574,7 @@ namespace HeavenStudio.Games.Scripts_KarateMan
{
if (GameManager.instance.currentGame != "karateman") return;
var joe = KarateMan.instance.Joe;
Debug.Log("ItemJustOrNg | accuracy: " + state);
if (status == FlyStatus.Fly && !(joe.inCombo || joe.inNuriLock)) {
if (state <= -1f || state >= 1f) {
bool straight = joe.Punch(ItemPunchHand());