Updates rest of the random list (#197)
This commit is contained in:
parent
4403d6c1c7
commit
8caf5a422f
18 changed files with 116 additions and 79 deletions
|
|
@ -17,10 +17,10 @@ namespace Server.Items
|
|||
private string m_Name;
|
||||
|
||||
[Constructible]
|
||||
public ParagonChest(string name, int level) : base(Utility.RandomList(m_ItemIDs))
|
||||
public ParagonChest(string name, int level) : base(m_ItemIDs.RandomElement())
|
||||
{
|
||||
m_Name = name;
|
||||
Hue = Utility.RandomList(m_Hues);
|
||||
Hue = m_Hues.RandomElement();
|
||||
Fill(level);
|
||||
}
|
||||
|
||||
|
|
@ -207,4 +207,4 @@ namespace Server.Items
|
|||
m_Name = Utility.Intern(reader.ReadString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue