fix: More spell variable cleanup (#850)

This commit is contained in:
Kamron Batman 2021-11-14 18:48:44 -08:00 • committed by GitHub
parent 5df7bf6a75
commit 15b2d08ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 162 additions and 162 deletions

View file

@ -15,7 +15,7 @@ namespace Server.Spells.First
Reagent.SulfurousAsh
);
private static readonly Dictionary<Mobile, ResistanceMod[]> m_Table = new();
private static readonly Dictionary<Mobile, ResistanceMod[]> _table = new();
public ReactiveArmorSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
@ -61,7 +61,7 @@ namespace Server.Spells.First
{
var targ = Caster;
if (m_Table.Remove(targ, out var mods))
if (_table.Remove(targ, out var mods))
{
targ.PlaySound(0x1ED);
targ.FixedParticles(0x376A, 9, 32, 5008, EffectLayer.Waist);
@ -90,7 +90,7 @@ namespace Server.Spells.First
new ResistanceMod(ResistanceType.Energy, -5)
};
m_Table[targ] = mods;
_table[targ] = mods;
for (var i = 0; i < mods.Length; ++i)
{
@ -144,7 +144,7 @@ namespace Server.Spells.First
public static void EndArmor(Mobile m)
{
if (!m_Table.Remove(m, out var mods))
if (!_table.Remove(m, out var mods))
{
return;
}