wip
This commit is contained in:
parent
dad8430040
commit
5f48109230
1 changed files with 13 additions and 0 deletions
|
@ -217,6 +217,19 @@ const YAKU_DEFINITIONS = [{
|
|||
false).length >= 3)
|
||||
);
|
||||
},
|
||||
}, {
|
||||
name: 'seat-wind',
|
||||
fan: 1,
|
||||
calc: (state: EnvForCalcYaku) => {
|
||||
return (
|
||||
(state.handTiles.filter(t => t === state.house).length >= 3) ||
|
||||
(state.huros.filter(huro =>
|
||||
huro.type === 'pon' ? huro.tile === state.house :
|
||||
huro.type === 'ankan' ? huro.tile === state.house :
|
||||
huro.type === 'minkan' ? huro.tile === state.house :
|
||||
false).length >= 3)
|
||||
);
|
||||
},
|
||||
}, {
|
||||
name: 'tanyao',
|
||||
fan: 1,
|
||||
|
|
Loading…
Reference in a new issue