Rewrite on TargetCombatants and other various fixes ***WARNING: This is not tested, and is probably broke at this point, use at your own risk***