mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10629] Drop function GuidHigh2TypeId
Added ObjectGuid version Aura::GetCasterGuid() But for prevent big problen with backporting AuraHolder to mangos-0.12 in most cases still used old uint64 version Aura::GetCasterGUID. Recommended use new version where possible in clean way as done for some cases in commit already.
This commit is contained in:
parent
fdc5a1dd67
commit
31c9efd219
17 changed files with 54 additions and 66 deletions
|
|
@ -4610,13 +4610,13 @@ bool ChatHandler::HandleListAurasCommand (char* /*args*/)
|
|||
|
||||
PSendSysMessage(LANG_COMMAND_TARGET_AURASIMPLE, (*itr)->GetId(), (*itr)->GetEffIndex(),
|
||||
ss_name.str().c_str(),((*itr)->GetHolder()->IsPassive() ? passiveStr : ""),(talent ? talentStr : ""),
|
||||
IS_PLAYER_GUID((*itr)->GetCasterGUID()) ? "player" : "creature",GUID_LOPART((*itr)->GetCasterGUID()));
|
||||
(*itr)->GetCasterGuid().GetString().c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
PSendSysMessage(LANG_COMMAND_TARGET_AURASIMPLE, (*itr)->GetId(), (*itr)->GetEffIndex(),
|
||||
name,((*itr)->GetHolder()->IsPassive() ? passiveStr : ""),(talent ? talentStr : ""),
|
||||
IS_PLAYER_GUID((*itr)->GetCasterGUID()) ? "player" : "creature",GUID_LOPART((*itr)->GetCasterGUID()));
|
||||
(*itr)->GetCasterGuid().GetString().c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue