15 float num5 = attackPower >= 2f ? 1.25f : 1f;
16 float num6 = MathF.Pow(attackerBody.
Mass / targetBody.
Mass, 0.5f);
17 float x2 = num5 * num6;
static float Saturate(float x)
Attackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
MeleeAttackment(ComponentBody target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
MeleeAttackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
Component FindComponent(Type type, string name, bool throwOnError)