Formatting #2 (#59)

This commit is contained in:
Kamron Batman 2019-10-05 00:37:03 -07:00 committed by GitHub
parent 096d39609e
commit 8e9221bb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 3688 additions and 5969 deletions

View file

@ -52,7 +52,7 @@ namespace Server.Spells.Spellweaving
{
MLQuestContext context = MLQuestSystem.GetContext(mobile);
if (context == null || !context.Spellweaving)
if (context?.Spellweaving != true)
{
mobile.SendLocalizedMessage(
1073220); // You must have completed the epic arcanist quest to use this ability.

View file

@ -136,7 +136,7 @@ namespace Server.Spells.Spellweaving
{
Mobile m = e.Mobile;
if (m == null || m.Alive || m_Table[m] == null)
if (m?.Alive != false || m_Table[m] == null)
return;
HandleDeath_OnCallback(m);

View file

@ -32,7 +32,7 @@ namespace Server.Spells.Spellweaving
{
MLQuestContext context = MLQuestSystem.GetContext(mobile);
if (context == null || !context.SummonFey)
if (context?.SummonFey != true)
{
mobile.SendLocalizedMessage(
1074563); // You haven't forged a friendship with the fey and are unable to summon their aid.

View file

@ -32,7 +32,7 @@ namespace Server.Spells.Spellweaving
{
MLQuestContext context = MLQuestSystem.GetContext(mobile);
if (context == null || !context.SummonFiend)
if (context?.SummonFiend != true)
{
mobile.SendLocalizedMessage(1074564); // You haven't demonstrated mastery to summon a fiend.
return false;