Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -295,7 +295,7 @@ namespace Server.Mobiles
|
|||
return (from.Alive && from.InRange(m_Mobile.Location, 3) && m_Mobile.IsHumanInTown());
|
||||
}
|
||||
|
||||
private static SkillName[] m_KeywordTable = new SkillName[]
|
||||
private static SkillName[] m_KeywordTable = new[]
|
||||
{
|
||||
SkillName.Parry,
|
||||
SkillName.Healing,
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ namespace Server.Mobiles
|
|||
private static NeedDelegate m_Cure = new NeedDelegate( NeedCure );
|
||||
private static NeedDelegate m_GHeal = new NeedDelegate( NeedGHeal );
|
||||
private static NeedDelegate m_LHeal = new NeedDelegate( NeedLHeal );
|
||||
private static NeedDelegate[] m_ACure = new NeedDelegate[] { m_Cure };
|
||||
private static NeedDelegate[] m_AGHeal = new NeedDelegate[] { m_GHeal };
|
||||
private static NeedDelegate[] m_ALHeal = new NeedDelegate[] { m_LHeal };
|
||||
private static NeedDelegate[] m_All = new NeedDelegate[] { m_Cure, m_GHeal, m_LHeal };
|
||||
private static NeedDelegate[] m_ACure = new[] { m_Cure };
|
||||
private static NeedDelegate[] m_AGHeal = new[] { m_GHeal };
|
||||
private static NeedDelegate[] m_ALHeal = new[] { m_LHeal };
|
||||
private static NeedDelegate[] m_All = new[] { m_Cure, m_GHeal, m_LHeal };
|
||||
|
||||
public HealerAI( BaseCreature m ) : base( m )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -917,7 +917,7 @@ namespace Server.Mobiles
|
|||
return ( m is BaseCreature creature && creature.Summoned && m_Mobile.CanBeHarmful( creature, false ) && !creature.IsAnimatedDead );
|
||||
}
|
||||
|
||||
private static int[] m_Offsets = new int[]
|
||||
private static int[] m_Offsets = new[]
|
||||
{
|
||||
-1, -1,
|
||||
-1, 0,
|
||||
|
|
|
|||
|
|
@ -43,16 +43,16 @@ namespace Server
|
|||
return -1;
|
||||
}
|
||||
|
||||
private static OppositionGroup m_TerathansAndOphidians = new OppositionGroup( new Type[][]
|
||||
{
|
||||
new Type[]
|
||||
private static OppositionGroup m_TerathansAndOphidians = new OppositionGroup( new[]
|
||||
{
|
||||
new[]
|
||||
{
|
||||
typeof( TerathanAvenger ),
|
||||
typeof( TerathanDrone ),
|
||||
typeof( TerathanMatriarch ),
|
||||
typeof( TerathanWarrior )
|
||||
},
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( OphidianArchmage ),
|
||||
typeof( OphidianKnight ),
|
||||
|
|
@ -64,9 +64,9 @@ namespace Server
|
|||
|
||||
public static OppositionGroup TerathansAndOphidians => m_TerathansAndOphidians;
|
||||
|
||||
private static OppositionGroup m_SavagesAndOrcs = new OppositionGroup( new Type[][]
|
||||
{
|
||||
new Type[]
|
||||
private static OppositionGroup m_SavagesAndOrcs = new OppositionGroup( new[]
|
||||
{
|
||||
new[]
|
||||
{
|
||||
typeof( Orc ),
|
||||
typeof( OrcBomber ),
|
||||
|
|
@ -76,7 +76,7 @@ namespace Server
|
|||
typeof( OrcishMage ),
|
||||
typeof( SpawnedOrcishLord )
|
||||
},
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( Savage ),
|
||||
typeof( SavageRider ),
|
||||
|
|
@ -87,9 +87,9 @@ namespace Server
|
|||
|
||||
public static OppositionGroup SavagesAndOrcs => m_SavagesAndOrcs;
|
||||
|
||||
private static OppositionGroup m_FeyAndUndead = new OppositionGroup( new Type[][]
|
||||
{
|
||||
new Type[]
|
||||
private static OppositionGroup m_FeyAndUndead = new OppositionGroup( new[]
|
||||
{
|
||||
new[]
|
||||
{
|
||||
typeof( Centaur ),
|
||||
typeof( EtherealWarrior ),
|
||||
|
|
@ -103,7 +103,7 @@ namespace Server
|
|||
typeof( MLDryad ),
|
||||
typeof( Satyr )
|
||||
},
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( AncientLich ),
|
||||
typeof( Bogle ),
|
||||
|
|
|
|||
|
|
@ -87,10 +87,10 @@ namespace Server
|
|||
|
||||
private static Dictionary<Type, SpeedInfo> m_Table;
|
||||
|
||||
private static SpeedInfo[] m_Speeds = new SpeedInfo[]
|
||||
private static SpeedInfo[] m_Speeds = new[]
|
||||
{
|
||||
/* Slow */
|
||||
new SpeedInfo( 0.3, 0.6, new Type[]
|
||||
new SpeedInfo( 0.3, 0.6, new[]
|
||||
{
|
||||
typeof( AntLion ), typeof( ArcticOgreLord ), typeof( BogThing ),
|
||||
typeof( Bogle ), typeof( BoneKnight ), typeof( EarthElemental ),
|
||||
|
|
@ -105,7 +105,7 @@ namespace Server
|
|||
typeof( Juggernaut ), typeof( Yamandon ), typeof( Serado )
|
||||
} ),
|
||||
/* Fast */
|
||||
new SpeedInfo( 0.2, 0.4, new Type[]
|
||||
new SpeedInfo( 0.2, 0.4, new[]
|
||||
{
|
||||
typeof( LordOaks ), typeof( Silvani ), typeof( AirElemental ),
|
||||
typeof( AncientWyrm ), typeof( Balron ), typeof( BladeSpirits ),
|
||||
|
|
@ -131,7 +131,7 @@ namespace Server
|
|||
#endregion
|
||||
} ),
|
||||
/* Very Fast */
|
||||
new SpeedInfo( 0.175, 0.350, new Type[]
|
||||
new SpeedInfo( 0.175, 0.350, new[]
|
||||
{
|
||||
typeof( Barracoon ), typeof( Mephitis ), typeof( Neira ),
|
||||
typeof( Rikktor ), typeof( Semidar ), typeof( EnergyVortex ),
|
||||
|
|
@ -144,7 +144,7 @@ namespace Server
|
|||
typeof( FanDancer ), typeof( FactionDeathKnight )
|
||||
} ),
|
||||
/* Medium */
|
||||
new SpeedInfo( 0.25, 0.5, new Type[]
|
||||
new SpeedInfo( 0.25, 0.5, new[]
|
||||
{
|
||||
typeof( AcidElemental ), typeof( AgapiteElemental ), typeof( Alligator ),
|
||||
typeof( AncientLich ), typeof( Betrayer ), typeof( Bird ),
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Mobiles
|
|||
public class Horse : BaseMount
|
||||
{
|
||||
public override string CorpseName => "a horse corpse";
|
||||
private static int[] m_IDs = new int[]
|
||||
private static int[] m_IDs = new[]
|
||||
{
|
||||
0xC8, 0x3E9F,
|
||||
0xE2, 0x3EA0,
|
||||
|
|
|
|||
|
|
@ -1107,7 +1107,7 @@ namespace Server.Mobiles
|
|||
return ( (double)chance / 1000 );
|
||||
}
|
||||
|
||||
private static Type[] m_AnimateDeadTypes = new Type[]
|
||||
private static Type[] m_AnimateDeadTypes = new[]
|
||||
{
|
||||
typeof( MoundOfMaggots ), typeof( HellSteed ), typeof( SkeletalMount ),
|
||||
typeof( WailingBanshee ), typeof( Wraith ), typeof( SkeletalDragon ),
|
||||
|
|
@ -1810,12 +1810,12 @@ namespace Server.Mobiles
|
|||
writer.Write( m_HomeMap );
|
||||
}
|
||||
|
||||
private static double[] m_StandardActiveSpeeds = new double[]
|
||||
private static double[] m_StandardActiveSpeeds = new[]
|
||||
{
|
||||
0.175, 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.8
|
||||
};
|
||||
|
||||
private static double[] m_StandardPassiveSpeeds = new double[]
|
||||
private static double[] m_StandardPassiveSpeeds = new[]
|
||||
{
|
||||
0.350, 0.2, 0.4, 0.5, 0.6, 0.8, 1.0, 1.2, 1.6, 2.0
|
||||
};
|
||||
|
|
@ -2100,22 +2100,22 @@ namespace Server.Mobiles
|
|||
public override bool ShouldCheckStatTimers => false;
|
||||
|
||||
#region Food
|
||||
private static Type[] m_Eggs = new Type[]
|
||||
private static Type[] m_Eggs = new[]
|
||||
{
|
||||
typeof( FriedEggs ), typeof( Eggs )
|
||||
};
|
||||
|
||||
private static Type[] m_Fish = new Type[]
|
||||
private static Type[] m_Fish = new[]
|
||||
{
|
||||
typeof( FishSteak ), typeof( RawFishSteak )
|
||||
};
|
||||
|
||||
private static Type[] m_GrainsAndHay = new Type[]
|
||||
private static Type[] m_GrainsAndHay = new[]
|
||||
{
|
||||
typeof( BreadLoaf ), typeof( FrenchBread ), typeof( SheafOfHay )
|
||||
};
|
||||
|
||||
private static Type[] m_Meat = new Type[]
|
||||
private static Type[] m_Meat = new[]
|
||||
{
|
||||
/* Cooked */
|
||||
typeof( Bacon ), typeof( CookedBird ), typeof( Sausage ),
|
||||
|
|
@ -2131,7 +2131,7 @@ namespace Server.Mobiles
|
|||
typeof( Torso ), typeof( RightArm ), typeof( RightLeg )
|
||||
};
|
||||
|
||||
private static Type[] m_FruitsAndVegies = new Type[]
|
||||
private static Type[] m_FruitsAndVegies = new[]
|
||||
{
|
||||
typeof( HoneydewMelon ), typeof( YellowGourd ), typeof( GreenGourd ),
|
||||
typeof( Banana ), typeof( Bananas ), typeof( Lemon ), typeof( Lime ),
|
||||
|
|
@ -2141,7 +2141,7 @@ namespace Server.Mobiles
|
|||
typeof( Onion ), typeof( Lettuce ), typeof( Pumpkin )
|
||||
};
|
||||
|
||||
private static Type[] m_Gold = new Type[]
|
||||
private static Type[] m_Gold = new[]
|
||||
{
|
||||
// white wyrms eat gold..
|
||||
typeof( Gold )
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
if ( from != null && !willKill && amount > 5 && from.Player && 5 > Utility.Random( 100 ) )
|
||||
{
|
||||
string[] toSay = new string[]
|
||||
string[] toSay = new[]
|
||||
{
|
||||
"{0}!! You will have to do better than that!",
|
||||
"{0}!! Prepare to meet your doom!",
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
int[][] coord =
|
||||
{
|
||||
new int[]{-4,-6}, new int[]{4,-6}, new int[]{0,-8}, new int[]{-5,5}, new int[]{5,5}
|
||||
new[]{-4,-6}, new[]{4,-6}, new[]{0,-8}, new[]{-5,5}, new[]{5,5}
|
||||
};
|
||||
|
||||
for( int i=0; i<5; i++ )
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ namespace Server.Mobiles
|
|||
Talk( ferret );
|
||||
}
|
||||
|
||||
private static string[] m_Vocabulary = new string[]
|
||||
private static string[] m_Vocabulary = new[]
|
||||
{
|
||||
"dook",
|
||||
"dook dook",
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Mobiles
|
|||
public override Type[] UniqueList => new [] { typeof( Subdue ) };
|
||||
public override Type[] SharedList => new Type[] { };
|
||||
|
||||
public override Type[] DecorativeList => new Type[]
|
||||
public override Type[] DecorativeList => new[]
|
||||
{
|
||||
typeof(ArtifactLargeVase),
|
||||
typeof(ArtifactVase),
|
||||
|
|
|
|||
|
|
@ -9,11 +9,11 @@ namespace Server.Mobiles
|
|||
public override string CorpseName => "a corpse of Twaulo";
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Pain;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( Quell ) };
|
||||
public override Type[] SharedList => new Type[] { typeof( TheMostKnowledgePerson ), typeof( OblivionsNeedle ) };
|
||||
public override Type[] DecorativeList => new Type[] { typeof( Pier ), typeof( MonsterStatuette ) };
|
||||
public override Type[] UniqueList => new[] { typeof( Quell ) };
|
||||
public override Type[] SharedList => new[] { typeof( TheMostKnowledgePerson ), typeof( OblivionsNeedle ) };
|
||||
public override Type[] DecorativeList => new[] { typeof( Pier ), typeof( MonsterStatuette ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.DreadHorn };
|
||||
public override MonsterStatuetteType[] StatueTypes => new[] { MonsterStatuetteType.DreadHorn };
|
||||
|
||||
public override string DefaultName => "Twaulo";
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ namespace Server.Mobiles
|
|||
|
||||
public static Type[] Artifacts => m_Artifacts;
|
||||
|
||||
private static Type[] m_Artifacts = new Type[]
|
||||
private static Type[] m_Artifacts = new[]
|
||||
{
|
||||
// Decorations
|
||||
typeof( CandelabraOfSouls ),
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Mobiles
|
|||
public class OphidianArchmage : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new string[]
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
"an ophidian justicar",
|
||||
"an ophidian zealot"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Mobiles
|
|||
public class OphidianMage : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new string[]
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
"an ophidian apprentice mage",
|
||||
"an ophidian shaman"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Mobiles
|
|||
public class OphidianKnight : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new string[]
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
"an ophidian knight-errant",
|
||||
"an ophidian avenger"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Server.Mobiles
|
|||
public class OphidianWarrior : BaseCreature
|
||||
{
|
||||
public override string CorpseName => "an ophidian corpse";
|
||||
private static string[] m_Names = new string[]
|
||||
private static string[] m_Names = new[]
|
||||
{
|
||||
"an ophidian warrior",
|
||||
"an ophidian enforcer"
|
||||
|
|
|
|||
|
|
@ -1501,7 +1501,7 @@ namespace Server.Mobiles
|
|||
|
||||
public SkillName[] AnimalFormRestrictedSkills => m_AnimalFormRestrictedSkills;
|
||||
|
||||
private SkillName[] m_AnimalFormRestrictedSkills = new SkillName[]
|
||||
private SkillName[] m_AnimalFormRestrictedSkills = new[]
|
||||
{
|
||||
SkillName.ArmsLore, SkillName.Begging, SkillName.Discordance, SkillName.Forensics,
|
||||
SkillName.Inscribe, SkillName.ItemID, SkillName.Meditation, SkillName.Peacemaking,
|
||||
|
|
@ -4418,7 +4418,7 @@ namespace Server.Mobiles
|
|||
return false;
|
||||
}
|
||||
|
||||
private static Point3D[] m_TrammelDeathDestinations = new Point3D[]
|
||||
private static Point3D[] m_TrammelDeathDestinations = new[]
|
||||
{
|
||||
new Point3D( 1481, 1612, 20 ),
|
||||
new Point3D( 2708, 2153, 0 ),
|
||||
|
|
@ -4437,7 +4437,7 @@ namespace Server.Mobiles
|
|||
new Point3D( 3665, 2587, 0 )
|
||||
};
|
||||
|
||||
private static Point3D[] m_IlshenarDeathDestinations = new Point3D[]
|
||||
private static Point3D[] m_IlshenarDeathDestinations = new[]
|
||||
{
|
||||
new Point3D( 1216, 468, -13 ),
|
||||
new Point3D( 723, 1367, -60 ),
|
||||
|
|
@ -4450,13 +4450,13 @@ namespace Server.Mobiles
|
|||
new Point3D( 1722, 219, 96 )
|
||||
};
|
||||
|
||||
private static Point3D[] m_MalasDeathDestinations = new Point3D[]
|
||||
private static Point3D[] m_MalasDeathDestinations = new[]
|
||||
{
|
||||
new Point3D( 2079, 1376, -70 ),
|
||||
new Point3D( 944, 519, -71 )
|
||||
};
|
||||
|
||||
private static Point3D[] m_TokunoDeathDestinations = new Point3D[]
|
||||
private static Point3D[] m_TokunoDeathDestinations = new[]
|
||||
{
|
||||
new Point3D( 1166, 801, 27 ),
|
||||
new Point3D( 782, 1228, 25 ),
|
||||
|
|
|
|||
|
|
@ -10,15 +10,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Greed;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( FangOfRactus ) };
|
||||
public override Type[] SharedList => new Type[] { typeof( EmbroideredOakLeafCloak ),
|
||||
public override Type[] UniqueList => new[] { typeof( FangOfRactus ) };
|
||||
public override Type[] SharedList => new[] { typeof( EmbroideredOakLeafCloak ),
|
||||
typeof( DjinnisRing ),
|
||||
typeof( DetectiveBoots ),
|
||||
typeof( GuantletsOfAnger ) };
|
||||
|
||||
public override Type[] DecorativeList => new Type[] { typeof( SwampTile ), typeof( MonsterStatuette ) };
|
||||
public override Type[] DecorativeList => new[] { typeof( SwampTile ), typeof( MonsterStatuette ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.Slime };
|
||||
public override MonsterStatuetteType[] StatueTypes => new[] { MonsterStatuetteType.Slime };
|
||||
|
||||
public override string DefaultName => "Barracoon";
|
||||
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class Harrower : BaseCreature
|
||||
{
|
||||
public Type[] UniqueList => new Type[] { typeof( AcidProofRobe ) };
|
||||
public Type[] SharedList => new Type[] { typeof( TheRobeOfBritanniaAri ) };
|
||||
public Type[] DecorativeList => new Type[] { typeof( EvilIdolSkull ), typeof( SkullPole ) };
|
||||
public Type[] UniqueList => new[] { typeof( AcidProofRobe ) };
|
||||
public Type[] SharedList => new[] { typeof( TheRobeOfBritanniaAri ) };
|
||||
public Type[] DecorativeList => new[] { typeof( EvilIdolSkull ), typeof( SkullPole ) };
|
||||
|
||||
private bool m_TrueForm;
|
||||
private Item m_GateItem;
|
||||
|
|
@ -28,7 +28,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
private static SpawnEntry[] m_Entries = new SpawnEntry[]
|
||||
private static SpawnEntry[] m_Entries = new[]
|
||||
{
|
||||
new SpawnEntry( new Point3D( 5242, 945, -40 ), new Point3D( 1176, 2638, 0 ) ), // Destard
|
||||
new SpawnEntry( new Point3D( 5225, 798, 0 ), new Point3D( 1176, 2638, 0 ) ), // Destard
|
||||
|
|
@ -118,7 +118,7 @@ namespace Server.Mobiles
|
|||
public override bool Unprovokable => true;
|
||||
public override Poison PoisonImmune => Poison.Lethal;
|
||||
|
||||
private static readonly double[] m_Offsets = new double[]
|
||||
private static readonly double[] m_Offsets = new[]
|
||||
{
|
||||
Math.Cos( 000.0 / 180.0 * Math.PI ), Math.Sin( 000.0 / 180.0 * Math.PI ),
|
||||
Math.Cos( 040.0 / 180.0 * Math.PI ), Math.Sin( 040.0 / 180.0 * Math.PI ),
|
||||
|
|
@ -502,7 +502,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
private Mobile m_Owner;
|
||||
|
||||
private static int[] m_Offsets = new int[]
|
||||
private static int[] m_Offsets = new[]
|
||||
{
|
||||
-1, -1,
|
||||
-1, 0,
|
||||
|
|
|
|||
|
|
@ -11,15 +11,15 @@ namespace Server.Mobiles
|
|||
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Enlightenment;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( OrcChieftainHelm ) };
|
||||
public override Type[] SharedList => new Type[] { typeof( RoyalGuardSurvivalKnife ),
|
||||
public override Type[] UniqueList => new[] { typeof( OrcChieftainHelm ) };
|
||||
public override Type[] SharedList => new[] { typeof( RoyalGuardSurvivalKnife ),
|
||||
typeof( DjinnisRing ),
|
||||
typeof( LieutenantOfTheBritannianRoyalGuard ),
|
||||
typeof( SamaritanRobe ),
|
||||
typeof( DetectiveBoots ),
|
||||
typeof( TheMostKnowledgePerson ) };
|
||||
|
||||
public override Type[] DecorativeList => new Type[] { typeof( WaterTile ),
|
||||
public override Type[] DecorativeList => new[] { typeof( WaterTile ),
|
||||
typeof( WindSpirit ),
|
||||
typeof( Pier ),
|
||||
typeof( DirtPatch )};
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Venom;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( Calm ) };
|
||||
public override Type[] SharedList => new Type[] { typeof(OblivionsNeedle), typeof(ANecromancerShroud), typeof(EmbroideredOakLeafCloak), typeof(TheMostKnowledgePerson) };
|
||||
public override Type[] DecorativeList => new Type[] { typeof( Web ), typeof( MonsterStatuette ) };
|
||||
public override Type[] UniqueList => new[] { typeof( Calm ) };
|
||||
public override Type[] SharedList => new[] { typeof(OblivionsNeedle), typeof(ANecromancerShroud), typeof(EmbroideredOakLeafCloak), typeof(TheMostKnowledgePerson) };
|
||||
public override Type[] DecorativeList => new[] { typeof( Web ), typeof( MonsterStatuette ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.Spider };
|
||||
public override MonsterStatuetteType[] StatueTypes => new[] { MonsterStatuetteType.Spider };
|
||||
|
||||
public override string DefaultName => "Mephitis";
|
||||
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Death;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( ShroudOfDeciet ) };
|
||||
public override Type[] SharedList => new Type[] { typeof( ANecromancerShroud ),
|
||||
public override Type[] UniqueList => new[] { typeof( ShroudOfDeciet ) };
|
||||
public override Type[] SharedList => new[] { typeof( ANecromancerShroud ),
|
||||
|
||||
typeof( CaptainJohnsHat ) };
|
||||
|
||||
public override Type[] DecorativeList => new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) };
|
||||
public override Type[] DecorativeList => new[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public static double ChestChance = .10; // Chance that a paragon will carry a paragon chest
|
||||
public static double ChocolateIngredientChance = .20; // Chance that a paragon will drop a chocolatiering ingredient
|
||||
public static Map[] Maps = new Map[] // Maps that paragons will spawn on
|
||||
public static Map[] Maps = new[] // Maps that paragons will spawn on
|
||||
{
|
||||
Map.Ilshenar
|
||||
};
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
public static Type[] Artifacts = new Type[]
|
||||
public static Type[] Artifacts = new[]
|
||||
{
|
||||
typeof( GoldBricks ), typeof( PhillipsWoodenSteed ),
|
||||
typeof( AlchemistsBauble ), typeof( ArcticDeathDealer ),
|
||||
|
|
|
|||
|
|
@ -9,16 +9,16 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Power;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( CrownOfTalKeesh ) };
|
||||
public override Type[] SharedList => new Type[] { typeof( TheMostKnowledgePerson ),
|
||||
public override Type[] UniqueList => new[] { typeof( CrownOfTalKeesh ) };
|
||||
public override Type[] SharedList => new[] { typeof( TheMostKnowledgePerson ),
|
||||
typeof( BraveKnightOfTheBritannia ),
|
||||
typeof( LieutenantOfTheBritannianRoyalGuard ) };
|
||||
|
||||
public override Type[] DecorativeList => new Type[] { typeof( LavaTile ),
|
||||
public override Type[] DecorativeList => new[] { typeof( LavaTile ),
|
||||
typeof( MonsterStatuette ),
|
||||
typeof( MonsterStatuette ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { MonsterStatuetteType.OphidianArchMage,
|
||||
public override MonsterStatuetteType[] StatueTypes => new[] { MonsterStatuetteType.OphidianArchMage,
|
||||
MonsterStatuetteType.OphidianWarrior };
|
||||
|
||||
public override string DefaultName => "Rikktor";
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Pain;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( GladiatorsCollar ) };
|
||||
public override Type[] SharedList => new Type[] { typeof(RoyalGuardSurvivalKnife), typeof(ANecromancerShroud), typeof(LieutenantOfTheBritannianRoyalGuard) };
|
||||
public override Type[] DecorativeList => new Type[] { typeof( LavaTile ), typeof( DemonSkull ) };
|
||||
public override Type[] UniqueList => new[] { typeof( GladiatorsCollar ) };
|
||||
public override Type[] SharedList => new[] { typeof(RoyalGuardSurvivalKnife), typeof(ANecromancerShroud), typeof(LieutenantOfTheBritannianRoyalGuard) };
|
||||
public override Type[] DecorativeList => new[] { typeof( LavaTile ), typeof( DemonSkull ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@ namespace Server.Mobiles
|
|||
{
|
||||
public override ChampionSkullType SkullType => ChampionSkullType.Power;
|
||||
|
||||
public override Type[] UniqueList => new Type[] { typeof( Pacify ) };
|
||||
public override Type[] SharedList => new Type[] { typeof( BraveKnightOfTheBritannia ),
|
||||
public override Type[] UniqueList => new[] { typeof( Pacify ) };
|
||||
public override Type[] SharedList => new[] { typeof( BraveKnightOfTheBritannia ),
|
||||
typeof( DetectiveBoots ),
|
||||
typeof( EmbroideredOakLeafCloak ),
|
||||
typeof( LieutenantOfTheBritannianRoyalGuard ) };
|
||||
|
||||
public override Type[] DecorativeList => new Type[] { typeof( Futon ), typeof( SwampTile ) };
|
||||
public override Type[] DecorativeList => new[] { typeof( Futon ), typeof( SwampTile ) };
|
||||
|
||||
public override MonsterStatuetteType[] StatueTypes => new MonsterStatuetteType[] { };
|
||||
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ namespace Server.Mobiles
|
|||
|
||||
// Classic list
|
||||
// Used when: !MLQuestSystem.Enabled && !Core.ML
|
||||
private static string[] m_TownNames = new string[]
|
||||
private static string[] m_TownNames = new[]
|
||||
{
|
||||
"Cove", "Britain", "Jhelom",
|
||||
"Minoc", "Ocllo", "Trinsic",
|
||||
|
|
@ -121,7 +121,7 @@ namespace Server.Mobiles
|
|||
|
||||
// ML list, pre-ML quest system
|
||||
// Used when: !MLQuestSystem.Enabled && Core.ML
|
||||
private static string[] m_MLTownNames = new string[]
|
||||
private static string[] m_MLTownNames = new[]
|
||||
{
|
||||
"Cove", "Serpent's Hold", "Jhelom",
|
||||
"Nujel'm"
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class SeekerOfAdventure : BaseEscortable
|
||||
{
|
||||
private static string[] m_Dungeons = new string[]
|
||||
private static string[] m_Dungeons = new[]
|
||||
{
|
||||
"Covetous", "Deceit", "Despise",
|
||||
"Destard", "Hythloth", "Shame", // Old Code for Pre-ML shards.
|
||||
"Wrong"
|
||||
};
|
||||
|
||||
private static string[] m_MLDestinations = new string[]
|
||||
private static string[] m_MLDestinations = new[]
|
||||
{
|
||||
"Cove", "Serpent's Hold", "Jhelom", // ML List
|
||||
"Nujel'm"
|
||||
|
|
|
|||
|
|
@ -24,23 +24,23 @@ namespace Server.Mobiles
|
|||
public static readonly object Vendor = new object();
|
||||
public static readonly object Price = new object();
|
||||
|
||||
private static HairstylistBuyInfo[] m_SellList = new HairstylistBuyInfo[]
|
||||
private static HairstylistBuyInfo[] m_SellList = new[]
|
||||
{
|
||||
new HairstylistBuyInfo( 1018357, 50000, false, typeof( ChangeHairstyleGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018357, 50000, false, typeof( ChangeHairstyleGump ), new[]
|
||||
{ From, Vendor, Price, false, ChangeHairstyleEntry.HairEntries } ),
|
||||
new HairstylistBuyInfo( 1018358, 50000, true, typeof( ChangeHairstyleGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018358, 50000, true, typeof( ChangeHairstyleGump ), new[]
|
||||
{ From, Vendor, Price, true, ChangeHairstyleEntry.BeardEntries } ),
|
||||
new HairstylistBuyInfo( 1018359, 50, false, typeof( ChangeHairHueGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018359, 50, false, typeof( ChangeHairHueGump ), new[]
|
||||
{ From, Vendor, Price, true, true, ChangeHairHueEntry.RegularEntries } ),
|
||||
new HairstylistBuyInfo( 1018360, 500000, false, typeof( ChangeHairHueGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018360, 500000, false, typeof( ChangeHairHueGump ), new[]
|
||||
{ From, Vendor, Price, true, true, ChangeHairHueEntry.BrightEntries } ),
|
||||
new HairstylistBuyInfo( 1018361, 30000, false, typeof( ChangeHairHueGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018361, 30000, false, typeof( ChangeHairHueGump ), new[]
|
||||
{ From, Vendor, Price, true, false, ChangeHairHueEntry.RegularEntries } ),
|
||||
new HairstylistBuyInfo( 1018362, 30000, true, typeof( ChangeHairHueGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018362, 30000, true, typeof( ChangeHairHueGump ), new[]
|
||||
{ From, Vendor, Price, false, true, ChangeHairHueEntry.RegularEntries } ),
|
||||
new HairstylistBuyInfo( 1018363, 500000, false, typeof( ChangeHairHueGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018363, 500000, false, typeof( ChangeHairHueGump ), new[]
|
||||
{ From, Vendor, Price, true, false, ChangeHairHueEntry.BrightEntries } ),
|
||||
new HairstylistBuyInfo( 1018364, 500000, true, typeof( ChangeHairHueGump ), new object[]
|
||||
new HairstylistBuyInfo( 1018364, 500000, true, typeof( ChangeHairHueGump ), new[]
|
||||
{ From, Vendor, Price, false, true, ChangeHairHueEntry.BrightEntries } )
|
||||
};
|
||||
|
||||
|
|
@ -252,7 +252,7 @@ namespace Server.Mobiles
|
|||
m_Hues[i] = start + i;
|
||||
}
|
||||
|
||||
public static readonly ChangeHairHueEntry[] BrightEntries = new ChangeHairHueEntry[]
|
||||
public static readonly ChangeHairHueEntry[] BrightEntries = new[]
|
||||
{
|
||||
new ChangeHairHueEntry( "*****", 12, 10 ),
|
||||
new ChangeHairHueEntry( "*****", 32, 5 ),
|
||||
|
|
@ -264,7 +264,7 @@ namespace Server.Mobiles
|
|||
new ChangeHairHueEntry( "*****", 1153, 2 )
|
||||
};
|
||||
|
||||
public static readonly ChangeHairHueEntry[] RegularEntries = new ChangeHairHueEntry[]
|
||||
public static readonly ChangeHairHueEntry[] RegularEntries = new[]
|
||||
{
|
||||
new ChangeHairHueEntry( "*****", 1602, 26 ),
|
||||
new ChangeHairHueEntry( "*****", 1628, 27 ),
|
||||
|
|
@ -406,7 +406,7 @@ namespace Server.Mobiles
|
|||
m_ItemID = itemID;
|
||||
}
|
||||
|
||||
public static readonly ChangeHairstyleEntry[] HairEntries = new ChangeHairstyleEntry[]
|
||||
public static readonly ChangeHairstyleEntry[] HairEntries = new[]
|
||||
{
|
||||
new ChangeHairstyleEntry( 50700, 70 - 137, 20 - 60, 0x203B ),
|
||||
new ChangeHairstyleEntry( 60710, 193 - 260, 18 - 60, 0x2045 ),
|
||||
|
|
@ -420,7 +420,7 @@ namespace Server.Mobiles
|
|||
new ChangeHairstyleEntry( 0, 0, 0, 0 )
|
||||
};
|
||||
|
||||
public static readonly ChangeHairstyleEntry[] BeardEntries = new ChangeHairstyleEntry[]
|
||||
public static readonly ChangeHairstyleEntry[] BeardEntries = new[]
|
||||
{
|
||||
new ChangeHairstyleEntry( 50800, 120 - 187, 30 - 80, 0x2040 ),
|
||||
new ChangeHairstyleEntry( 50904, 243 - 310, 33 - 80, 0x204B ),
|
||||
|
|
|
|||
|
|
@ -595,7 +595,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
}
|
||||
|
||||
private static Entry[] m_Entries = new Entry[]
|
||||
private static Entry[] m_Entries = new[]
|
||||
{
|
||||
new Entry( "Alchemist" ),
|
||||
new Entry( "Animal Tamer" ),
|
||||
|
|
|
|||
|
|
@ -1459,7 +1459,7 @@ namespace Server.Mobiles
|
|||
|
||||
string firstWord;
|
||||
|
||||
int sep = text.IndexOfAny( new char[] { ' ', ',' } );
|
||||
int sep = text.IndexOfAny( new[] { ' ', ',' } );
|
||||
if ( sep >= 0 )
|
||||
firstWord = text.Substring( 0, sep );
|
||||
else
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class VendorRentalDuration
|
||||
{
|
||||
public static readonly VendorRentalDuration[] Instances = new VendorRentalDuration[]
|
||||
public static readonly VendorRentalDuration[] Instances = new[]
|
||||
{
|
||||
new VendorRentalDuration( TimeSpan.FromDays( 7.0 ), 1062361 ), // 1 Week
|
||||
new VendorRentalDuration( TimeSpan.FromDays( 14.0 ), 1062362 ), // 2 Weeks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue