Core/Player: Recast lost by death item obtain spells of any items held in the inventory when resurrecting
This commit is contained in:
@@ -1057,7 +1057,7 @@ namespace Game
|
||||
if (item.GetTemplate().Effects.Count < 2)
|
||||
return;
|
||||
|
||||
uint spellToLearn = item.GetTemplate().Effects[1].SpellID;
|
||||
uint spellToLearn = (uint)item.GetTemplate().Effects[1].SpellID;
|
||||
foreach (BattlePetSpeciesRecord entry in CliDB.BattlePetSpeciesStorage.Values)
|
||||
{
|
||||
if (entry.SummonSpellID == spellToLearn)
|
||||
|
||||
Reference in New Issue
Block a user