modify player, add move attack function.