Avoid executing some events when attacking

Also added an attempt to eat when looting a corpse.