RustRoguelike
RustRoguelike copied to clipboard
Golem attacks over walls
Golems should only be able to attack the player overtop an inter-tile wall if the player is in the running or walking state. In the crouching state, the wall should block them from attacking.
I did a little bit of testing with the map
cargo run -- -m test_wall
Using both a pawn and a gol. This seemed to work to me.
Is this related to how the player enter the crouching state? You should be able to crouch by passing a turn in 'sneak' mode, but I don't think that this currently works.
Is this related to ranged vs melee attacks? Perhaps we were testing with different golems.