Core/DataStores: Fixed db2 structures after 7.3.5

This commit is contained in:
hondacrx
2018-03-13 15:43:03 -04:00
parent 2199e07955
commit 0ab3b8e8cd
97 changed files with 3139 additions and 1707 deletions
+4 -4
View File
@@ -1746,7 +1746,7 @@ namespace Game.Spells
break;
}
switch (properties.Category)
switch (properties.Control)
{
case SummonCategory.Wild:
case SummonCategory.Ally:
@@ -1756,7 +1756,7 @@ namespace Game.Spells
SummonGuardian(effIndex, entry, properties, numSummons);
break;
}
switch (properties.Type)
switch (properties.Title)
{
case SummonType.Pet:
case SummonType.Guardian:
@@ -1816,7 +1816,7 @@ namespace Game.Spells
if (summon == null)
continue;
if (properties.Category == SummonCategory.Ally)
if (properties.Control == SummonCategory.Ally)
{
summon.SetOwnerGUID(m_originalCaster.GetGUID());
summon.SetFaction(m_originalCaster.getFaction());
@@ -5073,7 +5073,7 @@ namespace Game.Spells
if (summon.HasUnitTypeMask(UnitTypeMask.Guardian))
((Guardian)summon).InitStatsForLevel(level);
if (properties != null && properties.Category == SummonCategory.Ally)
if (properties != null && properties.Control == SummonCategory.Ally)
summon.SetFaction(caster.getFaction());
if (summon.HasUnitTypeMask(UnitTypeMask.Minion) && m_targets.HasDst())