Clean up: Bugs, LINQ, constructors, default values, and null checks (#18)
This commit is contained in:
parent
e748af4430
commit
513e54f70e
1094 changed files with 15913 additions and 21892 deletions
|
|
@ -24,14 +24,9 @@ namespace Server.Items
|
|||
};
|
||||
|
||||
[Constructible]
|
||||
public LightOfTheWinterSolstice() : this(m_StaffNames[Utility.Random(m_StaffNames.Length)])
|
||||
public LightOfTheWinterSolstice(string dipper = null) : base(0x236E)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
public LightOfTheWinterSolstice(string dipper) : base(0x236E)
|
||||
{
|
||||
Dipper = dipper;
|
||||
Dipper = dipper ?? m_StaffNames[Utility.Random(m_StaffNames.Length)];
|
||||
|
||||
Weight = 1.0;
|
||||
LootType = LootType.Blessed;
|
||||
|
|
@ -95,4 +90,4 @@ namespace Server.Items
|
|||
Dipper = string.Intern(Dipper);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue