Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -8,7 +8,7 @@ namespace Server.Items
private const double m_ShortDistance = 5.0;
//TODO: Trammel/Haven
// TODO: Trammel/Haven
private static readonly Point2D[] m_TrammelBanks =
{
new Point2D(652, 820),
@ -99,8 +99,8 @@ namespace Server.Items
else if (from.Map == Map.Ilshenar)
{
#if false
banks = m_IlshenarBanks;
moongates = PMList.Ilshenar;
banks = m_IlshenarBanks;
moongates = PMList.Ilshenar;
#else
from.Send(new MessageLocalized(Serial, ItemID, MessageType.Label, 0x482, 3, 1061684, "",
"")); // The magic of the sextant fails...
@ -183,4 +183,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -23,10 +23,10 @@ namespace Server.Engines.Quests
}
[CommandProperty(AccessLevel.GameMaster)]
public Point3D DestLoc{ get; set; }
public Point3D DestLoc { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public Map DestMap{ get; set; }
public Map DestMap { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public int Charges
@ -120,19 +120,19 @@ namespace Server.Engines.Quests
switch (version)
{
case 0:
{
DestLoc = reader.ReadPoint3D();
DestMap = reader.ReadMap();
m_Charges = reader.ReadInt();
break;
}
{
DestLoc = reader.ReadPoint3D();
DestMap = reader.ReadMap();
m_Charges = reader.ReadInt();
break;
}
}
}
}
public class HornOfRetreatMoongate : Moongate
{
private Mobile m_Caster;
private readonly Mobile m_Caster;
public HornOfRetreatMoongate(Point3D destLoc, Map destMap, Mobile caster, int hue)
{