Align smoke test with upgrade-aware thrust

This commit is contained in:
Admin 2026-09-20 19:08:33 +00:00
parent 8cc479fdee
commit 8f2c10fdc4

View File

@ -238,7 +238,7 @@ test('player propulsion smoke emits at world engine positions with per-particle
assert.match(source, /const particle = this\.playerSmoke\.emitParticleAt\(engineX, engineY, 1\)/); assert.match(source, /const particle = this\.playerSmoke\.emitParticleAt\(engineX, engineY, 1\)/);
assert.match(source, /particle\.velocityX = velocityX/); assert.match(source, /particle\.velocityX = velocityX/);
assert.match(source, /particle\.velocityY = velocityY/); assert.match(source, /particle\.velocityY = velocityY/);
assert.match(source, /Phaser\.Math\.Linear\(150, 48, forwardThrust\)/); assert.match(source, /Phaser\.Math\.Linear\(150, 48, effectiveForwardThrust\)/);
assert.doesNotMatch(source, /this\.playerSmoke\.setPosition\(sternX, sternY\)/); assert.doesNotMatch(source, /this\.playerSmoke\.setPosition\(sternX, sternY\)/);
assert.doesNotMatch(source, /this\.playerSmoke\.setParticleSpeed\(/); assert.doesNotMatch(source, /this\.playerSmoke\.setParticleSpeed\(/);
}); });