Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -749,7 +749,7 @@ namespace Server.Items
|
|||
#endregion
|
||||
|
||||
#region Randomize
|
||||
private static int[] m_ItemIDs = new int[]
|
||||
private static int[] m_ItemIDs = new[]
|
||||
{
|
||||
0x2F58, 0x2F59, 0x2F5A, 0x2F5B
|
||||
};
|
||||
|
|
@ -759,7 +759,7 @@ namespace Server.Items
|
|||
return Utility.RandomList(m_ItemIDs);
|
||||
}
|
||||
|
||||
private static Type[] m_Summons = new Type[]
|
||||
private static Type[] m_Summons = new[]
|
||||
{
|
||||
typeof( SummonedAntLion ),
|
||||
typeof( SummonedCow ),
|
||||
|
|
@ -784,7 +784,7 @@ namespace Server.Items
|
|||
typeof( Bandage ),
|
||||
};
|
||||
|
||||
private static int[] m_SummonLabels = new int[]
|
||||
private static int[] m_SummonLabels = new[]
|
||||
{
|
||||
1075211, // Ant Lion
|
||||
1072494, // Cow
|
||||
|
|
@ -837,7 +837,7 @@ namespace Server.Items
|
|||
return TalismanRemoval.None;
|
||||
}
|
||||
|
||||
private static Type[] m_Killers = new Type[]
|
||||
private static Type[] m_Killers = new[]
|
||||
{
|
||||
typeof( OrcBomber ), typeof( OrcBrute ), typeof( SewerRat ), typeof( Rat ), typeof( GiantRat ),
|
||||
typeof( Ratman ), typeof( RatmanArcher ), typeof( GiantSpider ), typeof( FrostSpider ), typeof( GiantBlackWidow ),
|
||||
|
|
@ -855,7 +855,7 @@ namespace Server.Items
|
|||
// TODO Meraktus, Tormented Minotaur, Minotaur
|
||||
};
|
||||
|
||||
private static int[] m_KillerLabels = new int[]
|
||||
private static int[] m_KillerLabels = new[]
|
||||
{
|
||||
1072413, 1072414, 1072418, 1072419, 1072420,
|
||||
1072421, 1072423, 1072424, 1072425, 1072426,
|
||||
|
|
@ -902,7 +902,7 @@ namespace Server.Items
|
|||
return new TalismanAttribute(m_Killers[num], m_KillerLabels[num], Utility.RandomMinMax(5, 60));
|
||||
}
|
||||
|
||||
private static SkillName[] m_Skills = new SkillName[]
|
||||
private static SkillName[] m_Skills = new[]
|
||||
{
|
||||
SkillName.Alchemy,
|
||||
SkillName.Blacksmith,
|
||||
|
|
|
|||
|
|
@ -24,35 +24,35 @@ namespace Server.Items
|
|||
|
||||
public static void Initialize()
|
||||
{
|
||||
m_Table[ TalismanSlayerName.Bear ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Bear ] = new[]
|
||||
{
|
||||
typeof( GrizzlyBear ), typeof( BlackBear ), typeof( BrownBear ), typeof( PolarBear ) //, typeof( Grobu )
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Vermin ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Vermin ] = new[]
|
||||
{
|
||||
typeof( RatmanMage ), typeof( RatmanMage ), typeof( RatmanArcher ), typeof( Barracoon),
|
||||
typeof( Ratman ), typeof( SewerRat ), typeof( Rat ), typeof( GiantRat ) //, typeof( Chiikkaha )
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Bat ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Bat ] = new[]
|
||||
{
|
||||
typeof( Mongbat ), typeof( StrongMongbat ), typeof( VampireBat )
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Mage ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Mage ] = new[]
|
||||
{
|
||||
typeof( EvilMage ), typeof( EvilMageLord ), typeof( AncientLich ), typeof( Lich ), typeof( LichLord ),
|
||||
typeof( SkeletalMage ), typeof( BoneMagi ), typeof( OrcishMage ), typeof( KhaldunZealot ), typeof( JukaMage ),
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Beetle ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Beetle ] = new[]
|
||||
{
|
||||
typeof( Beetle ), typeof( RuneBeetle ), typeof( FireBeetle ), typeof( DeathwatchBeetle ),
|
||||
typeof( DeathwatchBeetleHatchling )
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Bird ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Bird ] = new[]
|
||||
{
|
||||
typeof( Bird ), typeof( TropicalBird ), typeof( Chicken ), typeof( Crane ),
|
||||
typeof( DesertOstard ), typeof( Eagle ), typeof( ForestOstard ), typeof( FrenziedOstard ),
|
||||
|
|
@ -60,7 +60,7 @@ namespace Server.Items
|
|||
typeof( StoneHarpy ) // ?????
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Ice ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Ice ] = new[]
|
||||
{
|
||||
typeof( ArcticOgreLord ), typeof( IceElemental ), typeof( SnowElemental ), typeof( FrostOoze ),
|
||||
typeof( IceFiend ), /*typeof( UnfrozenMummy ),*/ typeof( FrostSpider ), typeof( LadyOfTheSnow ),
|
||||
|
|
@ -70,7 +70,7 @@ namespace Server.Items
|
|||
typeof( IceSnake ), typeof( SnowLeopard ), typeof( PolarBear ), typeof( IceSerpent ), typeof( GiantIceWorm )
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Flame ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Flame ] = new[]
|
||||
{
|
||||
typeof( FireBeetle ), typeof( HellHound ), typeof( LavaSerpent ), typeof( FireElemental ),
|
||||
typeof( PredatorHellCat ), typeof( Phoenix ), typeof( FireGargoyle ), typeof( HellCat ),
|
||||
|
|
@ -80,7 +80,7 @@ namespace Server.Items
|
|||
typeof( LavaSnake ),
|
||||
};
|
||||
|
||||
m_Table[ TalismanSlayerName.Bovine ] = new Type[]
|
||||
m_Table[ TalismanSlayerName.Bovine ] = new[]
|
||||
{
|
||||
typeof( Cow ), typeof( Bull ), typeof( Gaman ) /*, typeof( MinotaurCaptain ),
|
||||
typeof( MinotaurScout ), typeof( Minotaur )*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue