Page 1 of 1
Cannot attack barricades that diagonally block movement
Posted: Thu Dec 16, 2021 6:49 pm
by GreatCatatonic
If a barricade blocks you, I imagine you should have the ability to destroy it. I was able to attack them after I went swimming one square south.
--Great
Re: Cannot attack barricades that diagonally block movement
Posted: Sun Jan 02, 2022 4:48 am
by BobGeneric
Due to the way the code works barricade attacks are coded to move in one of the four cardinal directions so the code knows "which" barricade is being attacked in the target tile. Because diagonal movement can be blocked by multiple barricades (in the example above, a SW movement could be blocked by either a barricade on the North or the East side of the target tile) and the code doesn't know which direction to apply the attack to, the attack cannot be made (this also is the way barricades worked in NW - only attacks in one of the four cardinal directions worked).
This is something that may be addressed in a future QoL update, and should probably be better explained on the wiki, but at present, this is not actually a bug.