mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
Add raid mob message
"This creature would take an army to defeat!" Colors may be a bit off due to differences in clients
This commit is contained in:
parent
531e4b0207
commit
e67423bba7
@ -3061,6 +3061,32 @@ void Client::Handle_OP_Consider(const EQApplicationPacket *app)
|
||||
mod_consider(tmob, con);
|
||||
|
||||
QueuePacket(outapp);
|
||||
// only wanted to check raid target once
|
||||
// and need con to still be around so, do it here!
|
||||
if (tmob->IsRaidTarget()) {
|
||||
uint32 color = 0;
|
||||
switch (con->level) {
|
||||
case CON_GREEN:
|
||||
color = 2;
|
||||
break;
|
||||
case CON_LIGHTBLUE:
|
||||
color = 10;
|
||||
break;
|
||||
case CON_BLUE:
|
||||
color = 4;
|
||||
break;
|
||||
case CON_WHITE:
|
||||
color = 10;
|
||||
break;
|
||||
case CON_YELLOW:
|
||||
color = 15;
|
||||
break;
|
||||
case CON_RED:
|
||||
color = 13;
|
||||
break;
|
||||
}
|
||||
SendColoredText(color, std::string("This creature would take an army to defeat!"));
|
||||
}
|
||||
safe_delete(outapp);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user