Removes literal variables (#257)

This commit is contained in:
Kamron Batman 2020-09-18 18:41:26 -07:00 • committed by GitHub
parent 580da8a0cc
commit 4d6e584b6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
359 changed files with 1306 additions and 1306 deletions

View file

@ -129,7 +129,7 @@ namespace Server.Items
if (!from.SendGump(new FacingGump(this, from)))
{
@from.SendLocalizedMessage(1150062); // You fail to re-deed the holiday fireflies.
from.SendLocalizedMessage(1150062); // You fail to re-deed the holiday fireflies.
}
}
else

View file

@ -214,15 +214,15 @@ namespace Server.Engines.Events
if (action == 0)
{
Timer.DelayCall(OneSecond, OneSecond, 10, Bleeding, @from);
Timer.DelayCall(OneSecond, OneSecond, 10, Bleeding, from);
}
else if (action == 1)
{
Timer.DelayCall(TimeSpan.FromSeconds(2), SolidHueMobile, @from);
Timer.DelayCall(TimeSpan.FromSeconds(2), SolidHueMobile, from);
}
else
{
Timer.DelayCall(TimeSpan.FromSeconds(2), MakeTwin, @from);
Timer.DelayCall(TimeSpan.FromSeconds(2), MakeTwin, from);
}
}
}

View file

@ -111,9 +111,9 @@ namespace Server.Mobiles
{
if (Utility.RandomBool())
{
if (@from?.Map != null && Map != Map.Internal && Map == @from.Map && @from.InRange(this, 12))
if (from?.Map != null && Map != Map.Internal && Map == from.Map && from.InRange(this, 12))
{
SpillAcid(willKill ? this : @from, willKill ? 3 : 1);
SpillAcid(willKill ? this : from, willKill ? 3 : 1);
}
}

View file

@ -125,7 +125,7 @@ namespace Server.Items
{
if (line != null)
{
LabelTo(@from, cliloc, line);
LabelTo(from, cliloc, line);
}
}

View file

@ -72,7 +72,7 @@ namespace Server.Items
if (IsSigned)
{
LabelTo(@from, 1152273, $"{m_From}\t{m_To}"); // ~1_val~ is madly in love with ~2_val~
LabelTo(from, 1152273, $"{m_From}\t{m_To}"); // ~1_val~ is madly in love with ~2_val~
}
}