Make it possible to VV DamageableComponent's damage.

This commit is contained in:
Pieter-Jan Briers
2019-05-28 13:34:11 +02:00
parent 93a34186cc
commit 8bb4f526f5

View File

@@ -30,6 +30,7 @@ namespace Content.Server.GameObjects
[ViewVariables]
public ResistanceSet Resistances { get; private set; }
[ViewVariables]
public IReadOnlyDictionary<DamageType, int> CurrentDamage => _currentDamage;
private Dictionary<DamageType, int> _currentDamage = new Dictionary<DamageType, int>();