Skip to content

Commit

Permalink
change has_stick to has_melee
Browse files Browse the repository at this point in the history
  • Loading branch information
silent-destroyer committed Dec 15, 2024
1 parent 56be193 commit 717abeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/tunic/grass.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from BaseClasses import CollectionState
from worlds.generic.Rules import set_rule, add_rule
from .rules import has_sword, has_stick
from .rules import has_sword, has_melee
if TYPE_CHECKING:
from . import TunicWorld

Expand Down Expand Up @@ -6271,7 +6271,7 @@ def can_break_grass(state: CollectionState, world: "TunicWorld") -> bool:
player = world.player
# no gun or wand because they're extremely tedious
return (has_sword(state, player)
or (has_stick(state, player) and state.has("Glass Cannon", player)))
or (has_melee(state, player) and state.has("Glass Cannon", player)))


def set_grass_location_rules(world: "TunicWorld") -> None:
Expand Down

0 comments on commit 717abeb

Please sign in to comment.