Make it possible to VV DamageableComponent's damage.
This commit is contained in:
@@ -30,6 +30,7 @@ namespace Content.Server.GameObjects
|
|||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
public ResistanceSet Resistances { get; private set; }
|
public ResistanceSet Resistances { get; private set; }
|
||||||
|
|
||||||
|
[ViewVariables]
|
||||||
public IReadOnlyDictionary<DamageType, int> CurrentDamage => _currentDamage;
|
public IReadOnlyDictionary<DamageType, int> CurrentDamage => _currentDamage;
|
||||||
private Dictionary<DamageType, int> _currentDamage = new Dictionary<DamageType, int>();
|
private Dictionary<DamageType, int> _currentDamage = new Dictionary<DamageType, int>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user