More refactoring of code.

This commit is contained in:
hondacrx
2019-09-23 21:41:13 -04:00
parent 2418715800
commit 570aebce26
176 changed files with 2261 additions and 2265 deletions
@@ -235,7 +235,7 @@ namespace Scripts.Northrend.Nexus.EyeOfEternity
Creature malygos = instance.GetCreature(malygosGUID);
if (malygos)
{
var threatList = malygos.GetThreatManager().getThreatList();
var threatList = malygos.GetThreatManager().GetThreatList();
foreach (var guid in vortexTriggers)
{
if (threatList.Empty())
@@ -251,7 +251,7 @@ namespace Scripts.Northrend.Nexus.EyeOfEternity
if (counter >= 5)
break;
Unit target = refe.getTarget();
Unit target = refe.GetTarget();
if (target)
{
Player player = target.ToPlayer();