graph-games-proto 0.3.1921__py3-none-any.whl → 0.3.1923__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graph_games_proto/fns.py +1 -1
- {graph_games_proto-0.3.1921.dist-info → graph_games_proto-0.3.1923.dist-info}/METADATA +1 -1
- {graph_games_proto-0.3.1921.dist-info → graph_games_proto-0.3.1923.dist-info}/RECORD +5 -5
- {graph_games_proto-0.3.1921.dist-info → graph_games_proto-0.3.1923.dist-info}/WHEEL +0 -0
- {graph_games_proto-0.3.1921.dist-info → graph_games_proto-0.3.1923.dist-info}/top_level.txt +0 -0
graph_games_proto/fns.py
CHANGED
@@ -3891,7 +3891,7 @@ def match_strict_wild(game, fulfillment, cards, segments):
|
|
3891
3891
|
|
3892
3892
|
for segment in segments:
|
3893
3893
|
if segment.unit_uuid and segment.unit_uuid in wild_unit_uuids:
|
3894
|
-
first_matching_idx = next((i for i, card_uuid in enumerate(new_cards) if game.
|
3894
|
+
first_matching_idx = next((i for i, card_uuid in enumerate(new_cards) if game.carduuid2card[card_uuid].resource_uuid == segment.unit_uuid), None)
|
3895
3895
|
if first_matching_idx is not None:
|
3896
3896
|
new_fulfillment.append(new_cards.pop(first_matching_idx))
|
3897
3897
|
else:
|
@@ -1,9 +1,9 @@
|
|
1
1
|
graph_games_proto/__init__.py,sha256=_EVQR-51XehfH45XZlba1WPdx3omS3Gm1nTwrgGyn2Q,667
|
2
2
|
graph_games_proto/all_types.py,sha256=IpbwftEcHS5Ewz-saFNk0lO9FvcbuHG36odRTayCXUk,54911
|
3
|
-
graph_games_proto/fns.py,sha256=
|
3
|
+
graph_games_proto/fns.py,sha256=5HmJXZb0pwY-TyHUa8YRxPcS_UfreRukoV8d19mcRRU,191622
|
4
4
|
graph_games_proto/main.py,sha256=fj2U7KcwrpZtuUhjOX5yVxY18LZvvsxDFYZ_S5mxe04,145
|
5
5
|
graph_games_proto/state.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
graph_games_proto-0.3.
|
7
|
-
graph_games_proto-0.3.
|
8
|
-
graph_games_proto-0.3.
|
9
|
-
graph_games_proto-0.3.
|
6
|
+
graph_games_proto-0.3.1923.dist-info/METADATA,sha256=fQuOhqedESAsuQZU1rwJGcdgOeJaLE7woR2BY1MWyhM,188
|
7
|
+
graph_games_proto-0.3.1923.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
graph_games_proto-0.3.1923.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
|
9
|
+
graph_games_proto-0.3.1923.dist-info/RECORD,,
|
File without changes
|
File without changes
|