mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
The Messenger: Fix location access for Figurine Shop Locations (#1975)
This commit is contained in:
@@ -67,7 +67,8 @@ class MessengerShopLocation(MessengerLocation):
|
|||||||
cost *= 2
|
cost *= 2
|
||||||
can_afford = state.has("Shards", self.player, min(cost, world.total_shards))
|
can_afford = state.has("Shards", self.player, min(cost, world.total_shards))
|
||||||
if "Figurine" in self.name:
|
if "Figurine" in self.name:
|
||||||
return state.has("Money Wrench", self.player) and can_afford
|
return state.has("Money Wrench", self.player) and can_afford\
|
||||||
|
and state.can_reach("Money Wrench", "Location", self.player)
|
||||||
return can_afford
|
return can_afford
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user