Fix tiny issues

This commit is contained in:
Scipio Wright
2024-07-04 20:25:47 -04:00
parent 560bfe5d32
commit 709606a140
2 changed files with 2 additions and 3 deletions

View File

@@ -175,7 +175,6 @@ class TunicWorld(World):
return TunicItem(name, classification, self.item_name_to_id[name], self.player)
def create_items(self) -> None:
tunic_items: List[TunicItem] = []
self.slot_data_items = []
@@ -327,7 +326,7 @@ class TunicWorld(World):
victory_region.locations.append(victory_location)
def set_rules(self) -> None:
if self.options.entrance_rando or self.options.shuffle_ladders:
if self.options.entrance_rando or self.options.shuffle_ladders or self.options.combat_logic:
set_er_location_rules(self)
else:
set_region_rules(self)

View File

@@ -1376,5 +1376,5 @@ def set_er_location_rules(world: "TunicWorld") -> None:
set_rule(multiworld.get_location("Cathedral Gauntlet - Gauntlet Reward", player),
lambda state: has_combat_logic(["Gauntlet"], state, player))
if not world.options.hexagon_quest:
add_rule(multiworld.get_entrance("Heir Arena -> Heir Arena Victory", player),
add_rule(multiworld.get_entrance("Spirit Arena -> Spirit Arena Victory", player),
lambda state: has_combat_logic(["The Heir"], state, player))