7 {
9 PlayerBase targetPlayer = PlayerBase.Cast(
m_ActionData.m_Target.GetObject());
10 EntityAI item_in_hands = targetPlayer.GetItemInHands();
11
12 if ( item_in_hands.ConfigIsExisting("StruggleLength") )
13 {
15 }
16 #ifdef DEVELOPER
18 {
20 }
21 #endif
22
23 m_ActionData.m_ActionComponent =
new CAContinuousTime(time);
24 }
const float DEFAULT_STRUGGLE_TIME
const float UNRESTRAIN_STRUGGLE_MULTIPLIER
const float DEBUG_QUICK_UNRESTRAIN_TIME