adjust timings
This commit is contained in:
@@ -789,7 +789,7 @@ void Plansza::spawn_hearts() {
|
||||
}
|
||||
|
||||
void Plansza::spawn_power_up() {
|
||||
if (powerUpSpawnClock.getElapsedTime().asSeconds() > 5) {
|
||||
if (powerUpSpawnClock.getElapsedTime().asSeconds() > 15) {
|
||||
if (powerUps.size() < 2) {
|
||||
auto powerUpRand = rand() % 3;
|
||||
switch (powerUpRand) {
|
||||
@@ -811,7 +811,7 @@ void Plansza::spawn_power_up() {
|
||||
}
|
||||
|
||||
void Plansza::spawn_debuff() {
|
||||
if (debuffSpawnClock.getElapsedTime().asSeconds() > 5) {
|
||||
if (debuffSpawnClock.getElapsedTime().asSeconds() > 30) {
|
||||
if (debuffs.size() < 1) {
|
||||
switch (rand() % 3) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user