* Added support for outputting phasemask in .npc info
--HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -885,7 +885,8 @@ enum TrinityStrings
|
||||
LANG_RAID = 5017,
|
||||
LANG_HEROIC = 5018,
|
||||
LANG_MOUNTABLE = 5019,
|
||||
// Room for more Trinity strings 5020-9999
|
||||
LANG_NPCINFO_PHASEMASK = 5020,
|
||||
// Room for more Trinity strings 5021-9999
|
||||
// Used for GM Announcements
|
||||
LANG_GM_BROADCAST = 6613,
|
||||
LANG_GM_NOTIFY = 6614,
|
||||
|
||||
@@ -4627,6 +4627,7 @@ bool ChatHandler::HandleNpcInfoCommand(const char* /*args*/)
|
||||
PSendSysMessage(LANG_COMMAND_RAWPAWNTIMES, defRespawnDelayStr.c_str(),curRespawnDelayStr.c_str());
|
||||
PSendSysMessage(LANG_NPCINFO_LOOT, cInfo->lootid,cInfo->pickpocketLootId,cInfo->SkinLootId);
|
||||
PSendSysMessage(LANG_NPCINFO_DUNGEON_ID, target->GetInstanceId());
|
||||
PSendSysMessage(LANG_NPCINFO_PHASEMASK, target->GetPhaseMask());
|
||||
PSendSysMessage(LANG_NPCINFO_POSITION,float(target->GetPositionX()), float(target->GetPositionY()), float(target->GetPositionZ()));
|
||||
if(const CreatureData* const linked = target->GetLinkedRespawnCreatureData())
|
||||
if(CreatureInfo const *master = GetCreatureInfo(linked->id))
|
||||
|
||||
Reference in New Issue
Block a user