implemented attack action
implemented attack action