fix: Cleans up spell info variable (#848)

This commit is contained in:
Kamron Batman 2021-11-14 18:31:32 -08:00 • committed by GitHub
parent 91493f7f27
commit e5f55a424a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
120 changed files with 241 additions and 247 deletions

View file

@ -5,7 +5,7 @@ namespace Server.Spells.Fifth
{
public class MindBlastSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Mind Blast",
"Por Corp Wis",
218,
@ -16,11 +16,11 @@ namespace Server.Spells.Fifth
Reagent.SulfurousAsh
);
public MindBlastSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public MindBlastSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
if (Core.AOS)
{
m_Info.LeftHandEffect = m_Info.RightHandEffect = 9002;
_info.LeftHandEffect = _info.RightHandEffect = 9002;
}
}