Creates random element extension (#196)
This commit is contained in:
parent
0926b5abaa
commit
4403d6c1c7
84 changed files with 226 additions and 330 deletions
|
|
@ -569,7 +569,7 @@ namespace Server.Engines.MLQuests
|
|||
m_EligiblePool.Add(quest);
|
||||
}
|
||||
|
||||
return m_EligiblePool.Count == 0 ? fallback : m_EligiblePool[Utility.Random(m_EligiblePool.Count)];
|
||||
return m_EligiblePool.Count == 0 ? fallback : m_EligiblePool.RandomElement();
|
||||
}
|
||||
|
||||
public static void TurnToFace(IQuestGiver quester, Mobile mob)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue