FluffyStuff / OpenRiichi

An open source riichi mahjong client
GNU General Public License v3.0
107 stars 17 forks source link

fu calculation is incorrect for triplets/kans #5

Closed logarrhythmic closed 4 years ago

logarrhythmic commented 7 years ago

Line 1343 of Game/Logic/TileRules.vala in calculate_fu() checks if the triplet/kan is dragon or seat/round wind, but that's what you're supposed to do for the pair. Triplet and kan fu values are affected by being terminal/honor tiles or not.

FluffyStuff commented 4 years ago

This is fixed now.