fix: Fixes ML Escortables and codegens (#1525)
### Summary - [X] Adds tot.json to ignore list. - [X] Fixes bias in escortable random quest selection. - [X] Adds New Haven specific destination/payment messages for escortable quests. - [X] Codegens escortables.
This commit is contained in:
parent
7d05e3b1cb
commit
d55406337f
40 changed files with 2382 additions and 2480 deletions
|
|
@ -1091,31 +1091,9 @@ namespace Server.Mobiles
|
|||
|
||||
public HonorContext ReceivedHonorContext { get; set; }
|
||||
|
||||
public List<MLQuest> MLQuests
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_MLQuests == null)
|
||||
{
|
||||
if (StaticMLQuester)
|
||||
{
|
||||
m_MLQuests = MLQuestSystem.FindQuestList(GetType());
|
||||
}
|
||||
else
|
||||
{
|
||||
m_MLQuests = ConstructQuestList();
|
||||
}
|
||||
|
||||
if (m_MLQuests == null)
|
||||
{
|
||||
// return EmptyList, but don't cache it (run construction again next time)
|
||||
return MLQuestSystem.EmptyList;
|
||||
}
|
||||
}
|
||||
|
||||
return m_MLQuests;
|
||||
}
|
||||
}
|
||||
public List<MLQuest> MLQuests =>
|
||||
// Assign the quests if we don't have one, and if it is still null, return an empty list
|
||||
(m_MLQuests ??= StaticMLQuester ? MLQuestSystem.FindQuestList(GetType()) : ConstructQuestList()) ?? MLQuestSystem.EmptyList;
|
||||
|
||||
public virtual MonsterAbility[] GetMonsterAbilities() => null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue