Reverted b26b6a74. Making stunned characters receive damage from limb impacts caused them to suffer excessive amounts of damage when falling or getting thrown around when the sub hits something (e.g. a moloch attacking a sub could easily kill crew members by bumping the sub and falling down the stairs was often a death sentence). In general I don't think it's a good idea to apply impact damage from limb impacts, because the limbs may occasionally move or rotate at very high velocities due to the animations.

This commit is contained in:
Joonas Rikkonen
2018-02-05 11:16:03 +02:00
parent b4e5aad2ce
commit 60ad5ed3fb
2 changed files with 5 additions and 13 deletions
@@ -39,7 +39,7 @@ namespace Barotrauma
}
}
if (Character.Controlled == character) GameMain.GameScreen.Cam.Shake = strongestImpact;
if (Character.Controlled == character) GameMain.GameScreen.Cam.Shake = Math.Min(strongestImpact, 3.0f);
}
}