hondacrx
2021-12-07 20:42:47 -05:00
parent b7e4c2fd76
commit c37e1c9f7d
17 changed files with 91 additions and 46 deletions
+2 -2
View File
@@ -916,7 +916,7 @@ namespace Game.Spells
TempSummon casterSummon = unitCaster.ToTempSummon();
if (casterSummon != null)
{
Unit summoner = casterSummon.GetSummoner();
WorldObject summoner = casterSummon.GetSummoner();
if (summoner != null)
dest = new SpellDestination(summoner);
}
@@ -1059,7 +1059,7 @@ namespace Game.Spells
Unit unitCaster = m_caster.ToUnit();
if (unitCaster != null)
if (unitCaster.IsSummon())
target = unitCaster.ToTempSummon().GetSummoner();
target = unitCaster.ToTempSummon().GetSummonerUnit();
break;
}
case Targets.UnitVehicle: