10 IEntity owner = editableEntity.GetOwner();
14 ChimeraCharacter character = ChimeraCharacter.Cast(owner);
19 if (!characterDamageManager)
22 if (characterDamageManager.GetState() ==
EDamageState.DESTROYED)
28 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
37 IEntity owner = editableEntity.GetOwner();
41 ChimeraCharacter character = ChimeraCharacter.Cast(owner);
46 if (!characterDamageManager)
49 if (characterDamageManager.GetState() ==
EDamageState.DESTROYED)
52 if (!characterDamageManager.IsDamageHandlingEnabled())
55 characterDamageManager.SetRegenScale(var.GetFloat(),
true);