3 override void CreateActionComponent()
17 m_Text =
"#test_targets_blood";
20 override void CreateConditionComponents()
26 override void OnFinishProgressClient(
ActionData action_data )
32 string blood_type_name, blood_name;
34 blood_type_name =
BloodTypes.GetBloodTypeName( ntarget.GetBloodType(), blood_name, positive );
36 ntarget.SetLastUAMessage(blood_type_name);
40 override void OnStartServer(
ActionData action_data )
44 int blood_type = ntarget.GetStatBloodType().Get();
46 module_lifespan.UpdateBloodType( ntarget, blood_type );
49 override void OnFinishProgressServer(
ActionData action_data )
54 module_lifespan.UpdateBloodTypeVisibility( ntarget,
true );
56 action_data.m_MainItem.Delete();