mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Fixed spells with EffectCreateItem2 that do not have EffectItemType set in dbc and should pick it from spell_loot_template table (like 69412 Abyssal Shatter)
--HG-- branch : trunk
This commit is contained in:
@@ -3138,7 +3138,9 @@ void Spell::EffectCreateItem2(uint32 i)
|
||||
|
||||
// create some random items
|
||||
player->AutoStoreLoot(m_spellInfo->Id, LootTemplates_Spell);
|
||||
}
|
||||
}
|
||||
else
|
||||
player->AutoStoreLoot(m_spellInfo->Id, LootTemplates_Spell); // create some random items
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user