|
@@ -2607,6 +2607,9 @@ namespace CommonAI.Zone.Instance
|
|
|
case SpellTemplate.SeekingExpect.FarthestIgnoreInChain:
|
|
|
list.Sort(new ObjectSorterFarthest<InstanceUnit>(X, Y));
|
|
|
break;
|
|
|
+ case SpellTemplate.SeekingExpect.TheOne:
|
|
|
+ list.Sort((a, b) => { return (int)(b.Weight - a.Weight); });
|
|
|
+ break;
|
|
|
}
|
|
|
if (list.Count > 0)
|
|
|
{
|