5 class SCR_ArmorDamageManagerComponent : SCR_DamageManagerComponent
7 [
Attribute(defvalue:
"0.4", uiwidget: UIWidgets.EditBox,
desc:
"Multiplies rawdamage to be passed to character from this armor piece")]
8 protected float m_fPassedDamageScale;
19 if (ChimeraCharacter.Cast(parent))
22 parent = parent.GetParent();
25 ChimeraCharacter
char = ChimeraCharacter.Cast(parent);
33 charDamMan.ArmorHitEventEffects(damageContext.damageValue);
34 charDamMan.ArmorHitEventDamage(damageContext.damageType, damageContext.damageValue * m_fPassedDamageScale, damageContext.instigator.GetInstigatorEntity());