mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[11260] Add wrapper for creature vistual item set.
This commit is contained in:
parent
a6d155fc54
commit
b588ea9db3
6 changed files with 41 additions and 36 deletions
|
|
@ -3726,7 +3726,7 @@ void Spell::WriteAmmoToPacket( WorldPacket * data )
|
|||
}
|
||||
else
|
||||
{
|
||||
for (uint8 i = 0; i < 3; ++i)
|
||||
for (uint8 i = 0; i < MAX_VIRTUAL_ITEM_SLOT; ++i)
|
||||
{
|
||||
if(uint32 item_id = m_caster->GetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID + i))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue