I don't like Ami getting raped either, but it does serve a purpose to tie in with Ranma along with as trying to stay in with the Mood of gantz :P. Ranma dying by the gunman was to me the best way to get him to die at the time. Your right though Ranma probably could have dodge the bullet or stop him....