3 override void CreateActionComponent()
37 return targetMine.IsActive() && targetMine.CanBeDisarmed();
48 Param1<bool> play =
new Param1<bool>(
true);
58 Param1<bool> play =
new Param1<bool>(
true);
68 Param1<bool> play =
new Param1<bool>(
false);
76 Class.CastTo(targetMine, action_data.m_Target.GetObject());
79 Class.CastTo(tool, action_data.m_MainItem);
81 if (
Math.RandomIntInclusive(0, 100) < tool.GetDisarmRate())
87 targetMine.OnSteppedOn(action_data.m_Player);
90 MiscGameplayFunctions.DealAbsoluteDmg(action_data.m_MainItem, 2);