Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -36,8 +36,7 @@ namespace Server.Factions
|
|||
|
||||
public class MerchantTitles
|
||||
{
|
||||
private static MerchantTitleInfo[] m_Info = new[]
|
||||
{
|
||||
private static MerchantTitleInfo[] m_Info = {
|
||||
new MerchantTitleInfo( SkillName.Inscribe, 90.0, new TextDefinition( 1060773, "Scribe" ), new TextDefinition( 1011468, "SCRIBE" ), new TextDefinition( 1010121, "You now have the faction title of scribe" ) ),
|
||||
new MerchantTitleInfo( SkillName.Carpentry, 90.0, new TextDefinition( 1060774, "Carpenter" ), new TextDefinition( 1011469, "CARPENTER" ), new TextDefinition( 1010122, "You now have the faction title of carpenter" ) ),
|
||||
new MerchantTitleInfo( SkillName.Tinkering, 90.0, new TextDefinition( 1022984, "Tinker" ), new TextDefinition( 1011470, "TINKER" ), new TextDefinition( 1010123, "You now have the faction title of tinker" ) ),
|
||||
|
|
|
|||
|
|
@ -38,8 +38,7 @@ namespace Server.Factions
|
|||
m_Label = label;
|
||||
}
|
||||
|
||||
private static VendorDefinition[] m_Definitions = new[]
|
||||
{
|
||||
private static VendorDefinition[] m_Definitions = {
|
||||
new VendorDefinition( typeof( FactionBottleVendor ), 0xF0E,
|
||||
5000,
|
||||
1000,
|
||||
|
|
|
|||
|
|
@ -13,8 +13,7 @@ namespace Server.Factions
|
|||
private Faction m_Faction;
|
||||
private Town m_Town;
|
||||
|
||||
private static int[] m_PriceOffsets = new[]
|
||||
{
|
||||
private static int[] m_PriceOffsets = {
|
||||
-30, -25, -20, -15, -10, -5,
|
||||
+50, +100, +150, +200, +250, +300
|
||||
};
|
||||
|
|
|
|||
|
|
@ -268,8 +268,7 @@ namespace Server.Factions
|
|||
Utility.AssignRandomFacialHair( this, HairHue );
|
||||
}
|
||||
|
||||
private static Type[] m_StrongPotions = new[]
|
||||
{
|
||||
private static Type[] m_StrongPotions = {
|
||||
typeof( GreaterHealPotion ), typeof( GreaterHealPotion ), typeof( GreaterHealPotion ),
|
||||
typeof( GreaterCurePotion ), typeof( GreaterCurePotion ), typeof( GreaterCurePotion ),
|
||||
typeof( GreaterStrengthPotion ), typeof( GreaterStrengthPotion ),
|
||||
|
|
@ -278,8 +277,7 @@ namespace Server.Factions
|
|||
typeof( GreaterExplosionPotion )
|
||||
};
|
||||
|
||||
private static Type[] m_WeakPotions = new[]
|
||||
{
|
||||
private static Type[] m_WeakPotions = {
|
||||
typeof( HealPotion ), typeof( HealPotion ), typeof( HealPotion ),
|
||||
typeof( CurePotion ), typeof( CurePotion ), typeof( CurePotion ),
|
||||
typeof( StrengthPotion ), typeof( StrengthPotion ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue