Core/Transmog: Implemented transmog collection and updated transmog handling

This commit is contained in:
Shauren
2016-07-05 22:07:35 +02:00
parent bc81ae70bc
commit f7883bd525
38 changed files with 1355 additions and 377 deletions

View File

@@ -4137,7 +4137,7 @@ void Spell::UpdateSpellCastDataAmmo(WorldPackets::Spells::SpellAmmo& ammo)
{
ammoInventoryType = pItem->GetTemplate()->GetInventoryType();
if (ammoInventoryType == INVTYPE_THROWN)
ammoDisplayID = pItem->GetDisplayId();
ammoDisplayID = pItem->GetDisplayId(m_caster->ToPlayer());
else if (m_caster->HasAura(46699)) // Requires No Ammo
{
ammoDisplayID = 5996; // normal arrow