Update calculate_fan.py
This commit is contained in:
@@ -43,12 +43,12 @@ def calculate_fan(hand, melds, is_self_draw, is_cleared, conditions):
|
|||||||
conditions.get("is_small_pairs", False) or
|
conditions.get("is_small_pairs", False) or
|
||||||
conditions.get("is_clear_seven_pairs", False) or
|
conditions.get("is_clear_seven_pairs", False) or
|
||||||
conditions.get("is_full_request", False) or
|
conditions.get("is_full_request", False) or
|
||||||
conditions.get("is_rob_gang", False)) else 0,
|
conditions.get("is_rob_gang", False) or
|
||||||
|
conditions.get("is_under_the_sea", False))
|
||||||
|
else 0,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
print("\nCalculating fan...")
|
print("\nCalculating fan...")
|
||||||
# 逐一应用规则
|
# 逐一应用规则
|
||||||
for rule, func in rules.items():
|
for rule, func in rules.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user