daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Oct 16th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void WorldObject::MonsterTextEmote(const char* text, Unit* target, bool IsBossEmote)
  2. {
  3.     WorldPacket data(SMSG_MESSAGECHAT, 200);
  4. -    BuildMonsterChat(&data, GetObjectGuid(), IsBossEmote ? CHAT_MSG_RAID_BOSS_EMOTE : CHAT_MSG_MONSTER_EMOTE, text, LANG_UNIVERSAL,
  5.     BuildMonsterChat(&data, GetObjectGuid(), CHAT_MSG_MONSTER_EMOTE, text, LANG_UNIVERSAL,
  6.         GetName(), target ? target->GetObjectGuid() : ObjectGuid(), target ? target->GetName() : "");
  7.     SendMessageToSetInRange(&data, sWorld.getConfig(IsBossEmote ? CONFIG_FLOAT_LISTEN_RANGE_YELL : CONFIG_FLOAT_LISTEN_RANGE_TEXTEMOTE), true);
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top