13 override void CreateConditionComponents()
19 override void OnExecuteServer(
ActionData action_data )
23 if (action_data.m_MainItem)
25 ApplyModifiers(action_data);
31 override void OnEndServer(
ActionData action_data )
33 if (action_data.m_WasExecuted && action_data.m_MainItem )
35 action_data.m_MainItem.Delete();
39 override void ApplyModifiers(
ActionData action_data )
41 action_data.m_MainItem.OnApply(
PlayerBase.Cast(action_data.m_Target.GetObject()));