[TLOZ] Pols Voice Logic Fix (#1630)
* TLOZ: Pols Voice Logic Fix Was informed that Pols Voice require certain weapons to kill that might not be guaranteed by the starting weapon. This is the only regular enemy in the game that cannot be killed by either any of the starting weapons or bombs which can be bought, so adding this rule should prevent any issues.
This commit is contained in:
parent
f3dad894ec
commit
4ff282a384
|
@ -33,9 +33,11 @@ def set_rules(tloz_world: "TLoZWorld"):
|
|||
(state.has("Blue Ring", player) and
|
||||
state.has("Heart Container", player, int(hearts / 2))) or
|
||||
(state.has("Red Ring", player) and
|
||||
state.has("Heart Container", player, int(hearts / 4)))
|
||||
state.has("Heart Container", player, int(hearts / 4))))
|
||||
if "Pols Voice" in location.name: # This enemy needs specific weapons
|
||||
add_rule(world.get_location(location.name, player),
|
||||
lambda state: state.has_group("swords", player) or state.has("Bow", player))
|
||||
|
||||
)
|
||||
# No requiring anything in a shop until we can farm for money
|
||||
for location in shop_locations:
|
||||
add_rule(world.get_location(location, player),
|
||||
|
|
Loading…
Reference in New Issue