2class ActionCheckPulse: ActionInteractBase
4 const int TARGET_IRREGULAR_PULSE_BIT = 1 << 31;
5 void ActionCheckPulse()
9 m_Text =
"#check_pulse_target";
18 static string GetPulseMessage(
EPulseType pulse_type,
int blood_level)
33 string blood_msg =
"strong";
34 string pulse_msg =
"";
38 pulse_msg =
"_irregular";
46 blood_msg =
"moderate";
57 string message =
"#"+
"pulse_" + blood_msg + pulse_msg;
65 if( ntarget && ntarget.IsAlive())
72 override void OnExecuteServer(
ActionData action_data )
79 bool pulse_type = target_player.GetPulseType();
88 override void OnExecuteClient(
ActionData action_data )
94 action_data.m_Player.m_CheckPulseLastTarget = ntarget;