From e67423bba722e07e88a2b96898dd1a3c8af4c603 Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Wed, 24 Sep 2014 14:04:17 -0400 Subject: [PATCH] Add raid mob message "This creature would take an army to defeat!" Colors may be a bit off due to differences in clients --- zone/client_packet.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index ba25cdd1a..d8ce76a6a 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -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; }