Fix pet message to use StringIDs, most should be correct related to pet "saying" or just the client getting a message

Added the pet taunting message
This commit is contained in:
mackal
2013-03-30 22:57:20 -04:00
parent 2dde4dce12
commit 96b42ed86f
5 changed files with 29 additions and 18 deletions
+1
View File
@@ -1397,6 +1397,7 @@ void NPC::DoClassAttacks(Mob *target) {
//general stuff, for all classes....
//only gets used when their primary ability get used too
if (taunting && HasOwner() && target->IsNPC() && target->GetBodyType() != BT_Undead && taunt_time) {
this->GetOwner()->Message_StringID(MT_PetResponse, PET_TAUNTING);
Taunt(target->CastToNPC(), false);
}