bug fixing in AttackAction