introduce diff packet and sword swing animation