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

@ -60,7 +60,7 @@ namespace Server.Items
if (Map == Map.Internal)
{
return @from;
return from;
}
return this;
@ -88,7 +88,7 @@ namespace Server.Items
if (!Users.Contains(from))
{
Users.Add(@from);
Users.Add(from);
}
from.Target = new ThrowTarget(this);
@ -105,7 +105,7 @@ namespace Server.Items
TimeSpan.FromSeconds(1.0),
TimeSpan.FromSeconds(1.25),
5,
() => Detonate_OnTick(@from, timer--)
() => Detonate_OnTick(from, timer--)
); // 3.6 seconds explosion delay
}
else
@ -114,7 +114,7 @@ namespace Server.Items
TimeSpan.FromSeconds(0.75),
TimeSpan.FromSeconds(1.0),
4,
() => Detonate_OnTick(@from, timer--)
() => Detonate_OnTick(from, timer--)
); // 2.6 seconds explosion delay
}
}
@ -174,7 +174,7 @@ namespace Server.Items
if (InstantExplosion)
{
Explode(@from, true, loc, map);
Explode(from, true, loc, map);
}
else
{
@ -213,7 +213,7 @@ namespace Server.Items
if (direct)
{
alchemyBonus = (int)(@from.Skills.Alchemy.Value / (Core.AOS ? 5 : 10));
alchemyBonus = (int)(from.Skills.Alchemy.Value / (Core.AOS ? 5 : 10));
}
var eable = map.GetObjectsInRange(loc, ExplosionRange, LeveledExplosion);