fix: Fixes divine fury (#1290)

This commit is contained in:
Kamron Batman 2022-12-04 12:39:30 -08:00 • committed by GitHub
parent 81839beedd
commit 1745faa28c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 125 additions and 77 deletions

View file

@ -70,23 +70,19 @@ namespace Server
public BuffInfo(
BuffIcon iconID, int titleCliloc, int secondaryCliloc, TimeSpan length, Mobile m,
TextDefinition args
)
: this(iconID, titleCliloc, secondaryCliloc, length, m) =>
Args = args;
) : this(iconID, titleCliloc, secondaryCliloc, length, m) => Args = args;
public BuffInfo(
BuffIcon iconID, int titleCliloc, TimeSpan length, Mobile m, TextDefinition args,
bool retainThroughDeath
)
: this(iconID, titleCliloc, titleCliloc + 1, length, m, args, retainThroughDeath)
) : this(iconID, titleCliloc, titleCliloc + 1, length, m, args, retainThroughDeath)
{
}
public BuffInfo(
BuffIcon iconID, int titleCliloc, int secondaryCliloc, TimeSpan length, Mobile m,
TextDefinition args, bool retainThroughDeath
)
: this(iconID, titleCliloc, secondaryCliloc, length, m)
) : this(iconID, titleCliloc, secondaryCliloc, length, m)
{
Args = args;
RetainThroughDeath = retainThroughDeath;