Fix healing damage classes and damageable serialization and add test (#2727)

* Fix healing damage classes and damageable serialization and add test

* The fall of an empire

* Fix healPerType being -1 instead of 1
This commit is contained in:
DrSmugleaf
2020-12-11 02:09:43 +01:00
committed by GitHub
parent bb905c9628
commit adc972f9d3
7 changed files with 198 additions and 21 deletions

View File

@@ -141,7 +141,7 @@
preset: HumanPreset
centerSlot: torso
- type: Damageable
damagePrototype: biologicalDamageContainer
damageContainer: biologicalDamageContainer
- type: Metabolism
metabolismHeat: 5000
radiatedHeat: 400
@@ -305,7 +305,7 @@
preset: HumanPreset
centerSlot: torso
- type: Damageable
damagePrototype: biologicalDamageContainer
damageContainer: biologicalDamageContainer
- type: MobState
thresholds:
0: !type:NormalMobState {}