Your making a copy there, instead just reference it. Does pathfinder need to be copied for every instance of aicombat?