12 override void CreateConditionComponents()
18 override bool HasTarget()
23 override void OnExecuteServer(
ActionData action_data )
25 if (action_data.m_MainItem)
27 ApplyModifiers(action_data);
32 override void OnEndServer(
ActionData action_data )
34 if (action_data.m_WasExecuted && action_data.m_MainItem )
36 action_data.m_MainItem.Delete();
40 override void OnEndClient(
ActionData action_data )
42 if (action_data.m_WasExecuted && action_data.m_MainItem )
44 action_data.m_MainItem.DeleteOnClient();
48 override void ApplyModifiers(
ActionData action_data )
50 action_data.m_MainItem.OnApply(action_data.m_Player);