[z1813] Add more features to SelectAttackingTarget

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit cfbc2a6)

(based on commit [s1371] - b7470e2)