added some features so attack_action