Added videos
This commit is contained in:
parent
72dea52f49
commit
3af768c8ce
|
|
@ -585,7 +585,9 @@ export default class FarkelGame extends Phaser.Scene {
|
||||||
await this.rollAnimated();
|
await this.rollAnimated();
|
||||||
if (this.gs.phase === 'farkled') {
|
if (this.gs.phase === 'farkled') {
|
||||||
await this.farkleFx();
|
await this.farkleFx();
|
||||||
|
const seat = this.gs.current;
|
||||||
farkleTurn(this.gs);
|
farkleTurn(this.gs);
|
||||||
|
this.portraitCtrls[seat]?.controller?.playEmotion?.('upset');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
const best = bestScoring(this.gs.turn.rolled);
|
const best = bestScoring(this.gs.turn.rolled);
|
||||||
|
|
@ -597,8 +599,12 @@ export default class FarkelGame extends Phaser.Scene {
|
||||||
this.render();
|
this.render();
|
||||||
await this.delay(360);
|
await this.delay(360);
|
||||||
if (decideReroll(this.gs, skill)) continue;
|
if (decideReroll(this.gs, skill)) continue;
|
||||||
|
const seat = this.gs.current;
|
||||||
bank(this.gs);
|
bank(this.gs);
|
||||||
playSound(this, SFX.PENCIL_WRITE);
|
playSound(this, SFX.PENCIL_WRITE);
|
||||||
|
if (this.gs.turn.kept >= 1000) {
|
||||||
|
this.portraitCtrls[seat]?.controller?.playEmotion?.('happy');
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue