Page 1 of 1

Ability to target wall tiles

PostPosted: Sat May 27, 2017 6:57 pm
by oneeyedjoe
http://imgur.com/a/vHFtz Can't hit both Asrai because there is a tree in the way and tree is technically a "wall" so I can't target it.
Some AoE attacks would benefit from that and I can't see any reason why this isn't a thing yet.

Re: Ability to target wall tiles

PostPosted: Sun May 28, 2017 9:08 pm
by Ferret
The problem would come from a situation such as this:

Code: Select all
.....
#####
.....
..@..


If you aim at that wall from the @, from the south, you shouldn't be able to hit the north, but if you could target wall tiles, you could. It's possible I could code an exception for 1x1 walls like those trees though. I admit I'm also a little wary of it because in this situation...

Code: Select all
#####
#####
.....
..@..


Firing at the wall from the south would cause you to "lose" 2/3 of the explosion to wall tiles. Though, for this case, I could perhaps code an algorithm for 'redistributing' splashes when they encounter solid walls, so that it spills further out from the wall instead?

At any rate, I see what you're saying. :) I might look into a fix for 1x1 like the tree, but I'm not convinced I want to allow wall targeting just yet.