Feat: drop-and-fusion update
This commit is contained in:
parent
5cfa86e85e
commit
bacb98a1c1
|
@ -28,7 +28,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<option value="square">SQUARE</option>
|
<option value="square">SQUARE</option>
|
||||||
<option value="yen">YEN</option>
|
<option value="yen">YEN</option>
|
||||||
<option value="sweets">SWEETS</option>
|
<option value="sweets">SWEETS</option>
|
||||||
<option value="prismisskey">PRISMISSKEY</option>
|
<option value="prismisskey">PRISMISSKEY</option>
|
||||||
</MkSelect>
|
</MkSelect>
|
||||||
<MkButton primary gradate large rounded inline @click="start">{{ i18n.ts.start }}</MkButton>
|
<MkButton primary gradate large rounded inline @click="start">{{ i18n.ts.start }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
|
@ -72,8 +72,11 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<div class="_gaps_s" style="padding: 16px;">
|
<div class="_gaps_s" style="padding: 16px;">
|
||||||
<div><b>Credit</b></div>
|
<div><b>Credit</b></div>
|
||||||
<div>
|
<div>
|
||||||
<div>Ai-chan illustration: @poteriri@misskey.io</div>
|
<div>Ai-chan illustration: <MkA href="/@poteriri@misskey.io">@poteriri@misskey.io</MkA></div>
|
||||||
<div>BGM: @ys@misskey.design</div>
|
<div>BGM: <MkA href="/@ys@misskey.design">@ys@misskey.design</MkA></div>
|
||||||
|
<div>Emoji Thanks: <MkA to="/@User2_Moo@prismisskey.space">@User2_Moo@prismisskey.space</MkA></div>
|
||||||
|
<div>Emoji Thanks: <MkA to="/@z_n_jin@prismisskey.space">@z_n_jin@prismisskey.space</MkA></div>
|
||||||
|
<div>Emoji Thanks: <MkA to="/@nekomimi@prismisskey.space">@nekomimi@prismisskey.space</MkA></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -109,7 +112,7 @@ function getScoreUnit(gameMode: string) {
|
||||||
gameMode === 'square' ? 'pt' :
|
gameMode === 'square' ? 'pt' :
|
||||||
gameMode === 'yen' ? '円' :
|
gameMode === 'yen' ? '円' :
|
||||||
gameMode === 'sweets' ? 'kcal' :
|
gameMode === 'sweets' ? 'kcal' :
|
||||||
gameMode === 'prismisskey' ? 'pt' :
|
gameMode === 'prismisskey' ? 'pt' :
|
||||||
'' as never;
|
'' as never;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1563,7 +1563,7 @@ export class DropAndFusionGame extends EventEmitter<{
|
||||||
for (let i = 0; i < this.STOCK_MAX; i++) {
|
for (let i = 0; i < this.STOCK_MAX; i++) {
|
||||||
this.stock.push({
|
this.stock.push({
|
||||||
id: this.rng().toString(),
|
id: this.rng().toString(),
|
||||||
mono: this.monoDefinitions[7],
|
mono: this.monoDefinitions.filter(x => x.dropCandidate)[Math.floor(this.rng() * this.monoDefinitions.filter(x => x.dropCandidate).length)],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.emit('changeStock', this.stock);
|
this.emit('changeStock', this.stock);
|
||||||
|
|
Loading…
Reference in a new issue