Parially debugged attack function of pawn