RustRoguelike icon indicating copy to clipboard operation
RustRoguelike copied to clipboard

Golem attacks over walls

Open MicroChasm opened this issue 3 years ago • 2 comments

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.

MicroChasm avatar Mar 09 '22 05:03 MicroChasm

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.

nsmryan avatar Mar 12 '22 17:03 nsmryan

Is this related to ranged vs melee attacks? Perhaps we were testing with different golems.

nsmryan avatar Mar 27 '22 16:03 nsmryan