Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit 6234387

Browse files
committed
Use all safe tiles as genbutsu
1 parent 742489f commit 6234387

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/game/ai/defence/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def calculate_tiles_danger(
2828
safe_against_threat_34 = []
2929

3030
# First, add all genbutsu to the list
31-
safe_against_threat_34.extend(list(set([x.value // 4 for x in enemy_analyzer.enemy.discards])))
31+
safe_against_threat_34.extend(list(set([x for x in enemy_analyzer.enemy.all_safe_tiles])))
3232

3333
# Then add tiles not suitable for yaku in enemy open hand
3434
if enemy_analyzer.threat_reason.get("active_yaku"):

0 commit comments

Comments
 (0)