vitesse fantomes parfais

This commit is contained in:
2025-12-02 00:11:44 +01:00
parent bedc9876ab
commit 286cb2222e
2 changed files with 15 additions and 5 deletions

View File

@ -491,7 +491,7 @@ class Ghost {
// Ajustements selon le type
if (type === GHOST_FAST) {
this.baseSpeed = 0.25;
this.baseSpeed = 0.16;
} else if (type === GHOST_INVISIBLE && level >= 5) {
this.isInvisible = true;
this.invisibleTimer = 300;
@ -503,7 +503,7 @@ class Ghost {
let speedMultiplier = 1.4;
if (this.type === GHOST_FAST) {
speedMultiplier *= 1.5;
speedMultiplier *= 1.1;
}
this.speed = this.baseSpeed * speedMultiplier;
}