More refactoring of code.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user