aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
authorBrian <runningnak3d@gmail.com>2010-01-10 16:11:24 -0700
committerBrian <runningnak3d@gmail.com>2010-01-10 16:11:24 -0700
commit1e7087c75c60296bcd8513fee6e328464d8cddd1 (patch)
tree510ca030919512cc1f2c6f2c988d01a1108842f9 /src/game/Level3.cpp
parent6b05543087c09649e626645dcf131db8242cbc14 (diff)
* add armor output in .npc info
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 7aee776c710..1a91b770ced 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -4612,6 +4612,7 @@ bool ChatHandler::HandleNpcInfoCommand(const char* /*args*/)
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_ARMOR, target->GetArmor());
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))