Start adding missing scripts Part3

This commit is contained in:
hondacrx
2022-07-06 23:53:47 -04:00
parent 8cfd263fea
commit ba6c30add4
39 changed files with 5180 additions and 27 deletions
+1 -2
View File
@@ -5725,8 +5725,7 @@ namespace Game.Spells
// most of the spells have multiple effects with the same summon spell id for multiple spawns, so right now it's safe to assume there's only 1 spawn per effect
foreach (uint summonEntry in summonedEntries)
{
List<Creature> nearbyEntries = new();
target.GetCreatureListWithEntryInGrid(nearbyEntries, summonEntry);
List<Creature> nearbyEntries = target.GetCreatureListWithEntryInGrid(summonEntry);
foreach (var creature in nearbyEntries)
{
if (creature.GetOwner() == target)