Exemple #1
0
 /// <summary>
 /// Completely prevent low pressure damage
 /// </summary>
 private void OnLowPressureImmuneEvent(EntityUid uid, PressureImmunityComponent component, LowPressureEvent args)
 {
     args.Modifier   = 100;
     args.Multiplier = 10000;
 }
Exemple #2
0
 /// <summary>
 /// Completely prevent high pressure damage
 /// </summary>
 private void OnHighPressureImmuneEvent(EntityUid uid, PressureImmunityComponent component, HighPressureEvent args)
 {
     args.Multiplier = 0;
 }