1234567891011121314151617181920212223 |
- class GasMask extends MaskBase
- {
- override bool IsObstructingVoice()
- {
- return true;
- }
-
- override int GetVoiceEffect()
- {
- return VoiceEffectObstruction;
- }
-
- override void EEHealthLevelChanged(int oldLevel, int newLevel, string zone)
- {
- if (GetGame().IsServer())
- {
- if( newLevel == GameConstants.STATE_RUINED )
- {
- SetQuantity(0);
- }
- }
- }
- }
|