* Added support for outputting phasemask in .npc info
--HG-- branch : trunk
This commit is contained in:
1 parent
d4b9cafb18
commit
f91b289733
4 files changed
+6
-1
No files matched your search
@@ -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