finish the basic action for attract and add some idea for RLagent