mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10746] Use objetguid for other .list auras command part
This commit is contained in:
parent
87b8a1d1ce
commit
f034a9bd0a
6 changed files with 14 additions and 6 deletions
|
|
@ -4594,7 +4594,7 @@ bool ChatHandler::HandleListAurasCommand (char* /*args*/)
|
|||
aur->GetModifier()->m_auraname, aur->GetAuraDuration(), aur->GetAuraMaxDuration(),
|
||||
ss_name.str().c_str(),
|
||||
(holder->IsPassive() ? passiveStr : ""),(talent ? talentStr : ""),
|
||||
IS_PLAYER_GUID(holder->GetCasterGUID()) ? "player" : "creature",GUID_LOPART(holder->GetCasterGUID()));
|
||||
holder->GetCasterGuid().GetString().c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -4602,7 +4602,7 @@ bool ChatHandler::HandleListAurasCommand (char* /*args*/)
|
|||
aur->GetModifier()->m_auraname, aur->GetAuraDuration(), aur->GetAuraMaxDuration(),
|
||||
name,
|
||||
(holder->IsPassive() ? passiveStr : ""),(talent ? talentStr : ""),
|
||||
IS_PLAYER_GUID(holder->GetCasterGUID()) ? "player" : "creature",GUID_LOPART(holder->GetCasterGUID()));
|
||||
holder->GetCasterGuid().GetString().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue