Fixes bad expressions, bad bool checks in loops, a few null pointer exceptions, and optimizes constructors.
This commit is contained in:
parent
8da55d6043
commit
f93c3b992e
62 changed files with 318 additions and 634 deletions
|
|
@ -292,11 +292,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
private PlagueBeastLord m_Lord;
|
||||
|
||||
public DecayTimer(PlagueBeastLord lord) : this(lord, 0, 120)
|
||||
{
|
||||
}
|
||||
|
||||
public DecayTimer(PlagueBeastLord lord, int count, int deadline) : base(TimeSpan.Zero, TimeSpan.FromSeconds(1))
|
||||
public DecayTimer(PlagueBeastLord lord, int count = 0, int deadline = 120) : base(TimeSpan.Zero, TimeSpan.FromSeconds(1))
|
||||
{
|
||||
m_Lord = lord;
|
||||
Count = count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue