Skip to content

Commit 65695f4

Browse files
committed
Added sql generation for creature_template_spell in >= 7.0.3
1 parent 516e78a commit 65695f4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WowPacketParserModule.V7_0_3_22248/Parsers/PetHandler.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ public static void HandlePetSpells(Packet packet)
6060
if (slot == 7 && spellId != 2 || slot == 6 && spellId < 10)
6161
continue;
6262

63+
var creatureTemplateSpell = new CreatureTemplateSpell
64+
{
65+
CreatureID = petGuid.GetEntry(),
66+
Index = (byte)(i),
67+
Spell = spellId
68+
};
69+
Storage.CreatureTemplateSpells.Add(creatureTemplateSpell);
70+
6371
// pets do not have npc entry available in sniff - skip
6472
if (petGuid.GetHighType() == HighGuidType.Pet)
6573
continue;

0 commit comments

Comments
 (0)