added xml read in from player and interpretation of instruction by attack