Scripts/Commands: .npc info now includes react state info
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd239e8b0f945a70c9d738024bdc2d75d54575f4)
This commit is contained in:
@@ -179,6 +179,7 @@ namespace Game.Chat
|
||||
handler.SendSysMessage(CypherStrings.NpcinfoArmor, target.GetArmor());
|
||||
handler.SendSysMessage(CypherStrings.NpcinfoPosition, target.GetPositionX(), target.GetPositionY(), target.GetPositionZ());
|
||||
handler.SendSysMessage(CypherStrings.ObjectInfoAIInfo, target.GetAIName(), target.GetScriptName());
|
||||
handler.SendSysMessage(CypherStrings.NpcinfoReactState, target.GetReactState());
|
||||
var ai = target.GetAI();
|
||||
if (ai != null)
|
||||
handler.SendSysMessage(CypherStrings.ObjectInfoAIType, nameof(ai));
|
||||
|
||||
Reference in New Issue
Block a user