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

@ -18,7 +18,7 @@ namespace Server.SkillHandlers
if (to.Player)
{
return @from.CanBeHarmful(to, false, true); // normal restrictions
return from.CanBeHarmful(to, false, true); // normal restrictions
}
if ((map?.Rules & MapRules.HarmfulRestrictions) == 0)
@ -72,7 +72,7 @@ namespace Server.SkillHandlers
foreach (var ns in eable)
{
if (ns.Mobile != @from)
if (ns.Mobile != from)
{
ns.Mobile.SendMessage(message);
}
@ -84,7 +84,7 @@ namespace Server.SkillHandlers
if (from.AccessLevel == AccessLevel.Player)
{
Titles.AwardKarma(@from, -4, true);
Titles.AwardKarma(from, -4, true);
}
if (from.AccessLevel > AccessLevel.Player || from.CheckTargetSkill(SkillName.Snooping, cont, 0.0, 100.0))
@ -102,7 +102,7 @@ namespace Server.SkillHandlers
if (from.Skills.Hiding.Value / 2 < Utility.Random(100))
{
@from.RevealingAction();
from.RevealingAction();
}
}
}