From 48e1e5289cc6637a98103014f6edaf61f0b21f3f Mon Sep 17 00:00:00 2001 From: MihailJP Date: Sun, 8 Nov 2020 01:15:16 +0900 Subject: [PATCH] =?UTF-8?q?rulesyms.rb=E3=81=8C=E7=80=AC=E6=88=B8=E5=86=85?= =?UTF-8?q?=E4=B8=89=E9=BA=BB=E3=82=92=E8=AA=8D=E8=AD=98=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auxtools/rulesyms.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auxtools/rulesyms.rb b/auxtools/rulesyms.rb index 6176a946..cf4ffa54 100755 --- a/auxtools/rulesyms.rb +++ b/auxtools/rulesyms.rb @@ -3,12 +3,13 @@ def gametype (type) typecode = type.to_i - if typecode & 0x0f == 0x0f then return "" end + if typecode & 0x1f == 0x1f then return "" end tmparr = [] if typecode & 0x01 != 0 then tmparr += ["四麻"] end if typecode & 0x02 != 0 then tmparr += ["三麻"] end if typecode & 0x04 != 0 then tmparr += ["四人三麻"] end if typecode & 0x08 != 0 then tmparr += ["数牌三麻"] end + if typecode & 0x10 != 0 then tmparr += ["瀬戸内三麻"] end return "〈" + tmparr.join(", ") + "〉" end