|
Barotrauma Server Doc
|
A special affliction type that increases the character's Bloodloss affliction with a rate relative to the strength of the bleeding. More...
Public Member Functions | |
| AfflictionBleeding (AfflictionPrefab prefab, float strength) | |
| override void | Update (CharacterHealth characterHealth, Limb targetLimb, float deltaTime) |
Public Member Functions inherited from Barotrauma.Affliction | |
| Affliction (AfflictionPrefab prefab, float strength) | |
| void | CopyProperties (Affliction source) |
| Copy properties here instead of using SerializableProperties (with reflection). More... | |
| void | Serialize (XElement element) |
| void | Deserialize (XElement element) |
| Affliction | CreateMultiplied (float multiplier, Affliction affliction) |
| override string | ToString () |
| LocalizedString | GetStrengthText () |
| AfflictionPrefab.Effect | GetActiveEffect () |
| float | GetVitalityDecrease (CharacterHealth characterHealth) |
| float | GetVitalityDecrease (CharacterHealth characterHealth, float strength) |
| float | GetScreenGrainStrength () |
| float | GetScreenDistortStrength () |
| float | GetRadialDistortStrength () |
| float | GetChromaticAberrationStrength () |
| float | GetAfflictionOverlayMultiplier () |
| Color | GetFaceTint () |
| Color | GetBodyTint () |
| float | GetScreenBlurStrength () |
| float | GetSkillMultiplier () |
| void | CalculateDamagePerSecond (float currentVitalityDecrease) |
| float | GetResistance (Identifier afflictionId) |
| float | GetSpeedMultiplier () |
| float | GetStatValue (StatTypes statType) |
| bool | HasFlag (AbilityFlags flagType) |
| void | ApplyStatusEffects (ActionType type, float deltaTime, CharacterHealth characterHealth, Limb targetLimb) |
| void | ApplyStatusEffect (ActionType type, StatusEffect statusEffect, float deltaTime, CharacterHealth characterHealth, Limb targetLimb) |
| void | SetStrength (float strength) |
| Use this method to skip clamping and additional logic of the setters. Ideally we would keep this private, but doing so would require too much refactoring. More... | |
| bool | ShouldShowIcon (Character afflictedCharacter) |
A special affliction type that increases the character's Bloodloss affliction with a rate relative to the strength of the bleeding.
Definition at line 6 of file AfflictionBleeding.cs.
| Barotrauma.AfflictionBleeding.AfflictionBleeding | ( | AfflictionPrefab | prefab, |
| float | strength | ||
| ) |
Definition at line 8 of file AfflictionBleeding.cs.
|
virtual |
Reimplemented from Barotrauma.Affliction.
Definition at line 13 of file AfflictionBleeding.cs.