1
This commit is contained in:
parent
d9f3fc164d
commit
99b9997dd0
@ -348,12 +348,12 @@ void KillMgr::BoradcastRollMsgCb(Human* dead_hum,
|
||||
auto element = pb_msg->mutable_elements(i);
|
||||
if (element->element_type() == kTextElement) {
|
||||
int color = element->mutable_union_obj_1()->color();
|
||||
if (info->killer_id == hum->GetUniId()){
|
||||
if (dead_hum == hum) {
|
||||
color = mt::Param::s().self_bekill_color;
|
||||
} else if (info->killer_id == hum->GetUniId()){
|
||||
color = mt::Param::s().self_kill_color;
|
||||
} else if (killer_team_id == hum->team_id) {
|
||||
color = mt::Param::s().teammate_kill_color;
|
||||
} else if (dead_hum == hum) {
|
||||
color = mt::Param::s().self_bekill_color;
|
||||
} else if (dead_hum->team_id == hum->team_id) {
|
||||
color = mt::Param::s().teammate_bekill_color;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user