Battle Talent  V11
Public Member Functions | Public Attributes | Static Public Attributes | Events | List of all members
CrossLink.RagdollHitInfo Class Reference

Inherits CrossLink.ValueProvider.

Public Member Functions

AttrModifier GetModifier ()
 
float GetState (string name)
 
bool HasState (string name)
 
float ReadValue (string attr)
 
void WriteValue (string attr, float v)
 
void TriggerInteractRoleHitPhase1 (FullCharacterControl fc, RagdollMuscle mu, Collider thisCol, Rigidbody otherRB, Collider otherCol, Vector3 point, Vector3 normal, Vector3 relaVel)
 
void TriggerInteractRoleHitPhase2 (FullCharacterControl fc, RagdollMuscle mu, Collider thisCol, Rigidbody otherRB, Collider otherCol, Vector3 point, Vector3 normal, Vector3 relaVel)
 
void TriggerInteractRoleHitPhase3 (FullCharacterControl fc, RagdollMuscle mu, Collider thisCol, Rigidbody otherRB, Collider otherCol, Vector3 point, Vector3 normal, Vector3 relaVel)
 
void TriggerStateUpdate (string state)
 
void TriggerHitOther (ValueProvider other)
 
void TriggerStabOther (ValueProvider other)
 
void TriggerBeHit (ValueProvider other)
 
void ResetTemplate ()
 
override string ToString ()
 
void SetRememberProtector (bool r)
 
void OnProtect (HitProtector protector, float t)
 
void ForgetProtectors ()
 

Public Attributes

string templateName
 
float weightAmongMultiple = 1
 
float velocityMlp = 1.5f
 
float damageMlp = 10
 
float damageThrough = 0.5f
 
float damageCrit = 1.5f
 
float stabMlp = 1.5f
 
float hitMlp = 101
 
float hitRandom = 0.1f
 
float stabDamage = 0
 
float breakDefenceMlp = 1
 
float hitBackMlp = 0
 
float knockoutFactor = 0.1f
 
float dizzyFactor = 0f
 
float stiffValue = 3.5f
 
RagdollHitInfoData additionalHitInfo
 

Static Public Attributes

const float StandardBaseValue = 100
 
const float StandardMaxValue = 1000
 
const float BaseHitValue = 110
 
const float BaseHitResistValue = 110
 

Events

System.Action< ValueProvider, string > StateUpdateEvent
 
System.Action< ValueProvider, ValueProviderHitOtherEvent
 
System.Action< ValueProvider, ValueProviderStabOtherEvent
 
System.Action< ValueProvider, ValueProviderBeHitEvent
 
System.Action< string, float > WriteEvent
 
FullBodyMuscleState.DamageModifier OnInteractRoleHitPhase1Event
 
FullBodyMuscleState.DamageModifier OnInteractRoleHitPhase2Event
 
FullBodyMuscleState.DamageModifier OnInteractRoleHitPhase3Event