OE
There’s a good structural signal here: “whether ... or.” You are looking for a characterization of “motives” that would make them negative, namely the opposite of “primarily to shield himself and others in the restaurant from harm.” If he truly was acting in defense of himself and others, he would likely get a lighter sentence than if he had ulterior, or hidden (generally selfish), motives. Resolute (determined; steady) is unrelated. Pathological (related or due to physical or mental disease; compulsive) and lucrative (producing large profit) introduce themes of illness and money, respectively, that are not indicated by any clues in the sentence. Violent is a theme trap.