public static void UpdateDataForShieldPenetration(ref AttackCollisionData oldData)
 {
     oldData._attackBlockedWithShield = false;
     oldData._isColliderAgent         = true;
     oldData.PhysicsMaterialIndex     = PhysicsMaterial.GetFromName("flesh").Index;
 }
Example #2
0
 public override float CalculateDamage(
     ref AttackInformation attackInformation,
     ref AttackCollisionData collisionData,
     in MissionWeapon weapon,