Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -20,7 +20,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
public class ReanimateMaabusConversation : QuestConversation
|
||||
{
|
||||
private static QuestItemInfo[] m_Info =
|
||||
private static readonly QuestItemInfo[] m_Info =
|
||||
{
|
||||
new QuestItemInfo(1026153, 6178), // teleporter
|
||||
new QuestItemInfo(1049117, 4036), // Horn of Retreat
|
||||
|
|
@ -39,7 +39,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
public class MaabasConversation : QuestConversation
|
||||
{
|
||||
private static QuestItemInfo[] m_Info =
|
||||
private static readonly QuestItemInfo[] m_Info =
|
||||
{
|
||||
new QuestItemInfo(1026153, 6178) // teleporter
|
||||
};
|
||||
|
|
@ -76,7 +76,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
public class VaultOfSecretsConversation : QuestConversation
|
||||
{
|
||||
private static QuestItemInfo[] m_Info =
|
||||
private static readonly QuestItemInfo[] m_Info =
|
||||
{
|
||||
new QuestItemInfo(1023643, 8787) // spellbook
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public class DarkTidesQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable =
|
||||
private static readonly Type[] m_TypeReferenceTable =
|
||||
{
|
||||
typeof(AcceptConversation),
|
||||
typeof(AnimateMaabusCorpseObjective),
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
private class CallingTimer : Timer
|
||||
{
|
||||
private PlayerMobile m_Player;
|
||||
private readonly PlayerMobile m_Player;
|
||||
private int m_Step;
|
||||
|
||||
public CallingTimer(PlayerMobile player) : base(TimeSpan.Zero, TimeSpan.FromSeconds(1.0), 6)
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@ namespace Server.Engines.Quests.Necro
|
|||
}
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public Maabus Maabus{ get; private set; }
|
||||
public Maabus Maabus { get; private set; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public Point3D SpawnLocation{ get; set; }
|
||||
public Point3D SpawnLocation { get; set; }
|
||||
|
||||
public void Awake(Mobile caller)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -166,8 +166,8 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
private class SpeakPasswordEntry : ContextMenuEntry
|
||||
{
|
||||
private PlayerMobile m_From;
|
||||
private Horus m_Horus;
|
||||
private readonly PlayerMobile m_From;
|
||||
private readonly Horus m_Horus;
|
||||
|
||||
public SpeakPasswordEntry(Horus horus, PlayerMobile from, bool enabled) : base(6193, 3)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace Server.Engines.Quests.Necro
|
|||
}
|
||||
else
|
||||
{
|
||||
player.SendLocalizedMessage(1114333); //You must be young to have this item recharged.
|
||||
player.SendLocalizedMessage(1114333); // You must be young to have this item recharged.
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ namespace Server.Engines.Quests.Necro
|
|||
private class SummonTimer : Timer
|
||||
{
|
||||
private SummonedPaladin m_Paladin;
|
||||
private PlayerMobile m_Player;
|
||||
private readonly PlayerMobile m_Player;
|
||||
private int m_Step;
|
||||
|
||||
public SummonTimer(PlayerMobile player) : base(TimeSpan.FromSeconds(4.0))
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public class AnimateMaabusCorpseObjective : QuestObjective
|
||||
{
|
||||
private static QuestItemInfo[] m_Info =
|
||||
private static readonly QuestItemInfo[] m_Info =
|
||||
{
|
||||
new QuestItemInfo(1023643, 8787) // spellbook
|
||||
};
|
||||
|
|
@ -91,7 +91,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
public class FindVaultOfSecretsObjective : QuestObjective
|
||||
{
|
||||
private static QuestItemInfo[] m_Info =
|
||||
private static readonly QuestItemInfo[] m_Info =
|
||||
{
|
||||
new QuestItemInfo(1023676, 3679) // glowing rune
|
||||
};
|
||||
|
|
@ -156,7 +156,7 @@ namespace Server.Engines.Quests.Necro
|
|||
|
||||
public class ReturnToCrystalCaveObjective : QuestObjective
|
||||
{
|
||||
private static QuestItemInfo[] m_Info =
|
||||
private static readonly QuestItemInfo[] m_Info =
|
||||
{
|
||||
new QuestItemInfo(1026153, 6178) // teleporter
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue