Fixed Karate Man combo pot scale bug

This commit is contained in:
Braedon
2022-01-20 02:26:53 -05:00
parent 2c917d6fc7
commit f2c33e041e
12 changed files with 272 additions and 225 deletions

View File

@ -15,6 +15,8 @@ namespace RhythmHeavenMania.Games.KarateMan
public int spriteIndex;
public int index;
public bool combo;
public GameObject shadow;
@ -57,6 +59,7 @@ namespace RhythmHeavenMania.Games.KarateMan
yRange = Random.Range(500, 1600);
break;
}
if (combo) yRange = Random.Range(800, 1600);
rb2d.AddForce(Vector3.up * yRange);
rb2d.AddForce(Vector3.right * Random.Range(500, 800));