Core/Refactor: Part 2
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Game.Combat
|
||||
public void threatAssist(Unit victim, float baseThreat, SpellInfo threatSpell = null)
|
||||
{
|
||||
float threat = ThreatManager.calcThreat(victim, Owner, baseThreat, (threatSpell != null ? threatSpell.GetSchoolMask() : SpellSchoolMask.Normal), threatSpell);
|
||||
threat /= getSize();
|
||||
threat /= GetSize();
|
||||
|
||||
HostileReference refe = getFirst();
|
||||
while (refe != null)
|
||||
|
||||
@@ -467,7 +467,7 @@ namespace Game.Combat
|
||||
}
|
||||
public HostileReference getMostHated()
|
||||
{
|
||||
return threatList.Count() == 0 ? null : threatList[0];
|
||||
return threatList.Count == 0 ? null : threatList[0];
|
||||
}
|
||||
|
||||
public void remove(HostileReference hostileRef)
|
||||
|
||||
Reference in New Issue
Block a user