Healing component and Medkit (#143)

Medkit to heal yourself and your buddy
known issues:
- [ ] it doesn't restore screen effects that happens when health status go into crit and dead
This commit is contained in:
Injazz
2019-03-21 20:55:16 +05:00
committed by Pieter-Jan Briers
parent 96868625cb
commit 3b40b4aafa
6 changed files with 79 additions and 6 deletions

View File

@@ -11,6 +11,7 @@ namespace Content.Server.GameObjects
public override List<(DamageType, int, ThresholdType)> AllowedStates => new List<(DamageType, int, ThresholdType)>()
{
(DamageType.Total, critvalue-1, ThresholdType.None),
(DamageType.Total, critvalue, ThresholdType.Critical),
(DamageType.Total, 300, ThresholdType.Death),
};