Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -34,7 +34,7 @@ namespace Server.Misc
|
|||
set => m_LockdownLevel = value;
|
||||
}
|
||||
|
||||
private static CityInfo[] StartingCities = new CityInfo[]
|
||||
private static CityInfo[] StartingCities = new[]
|
||||
{
|
||||
new CityInfo( "New Haven", "New Haven Bank", 1150168, 3667, 2625, 0 ),
|
||||
new CityInfo( "Yew", "The Empath Abbey", 1075072, 633, 858, 0 ),
|
||||
|
|
@ -249,7 +249,7 @@ namespace Server.Misc
|
|||
}
|
||||
}
|
||||
|
||||
private static readonly char[] m_ForbiddenChars = new char[]
|
||||
private static readonly char[] m_ForbiddenChars = new[]
|
||||
{
|
||||
'<', '>', ':', '"', '/', '\\', '|', '?', '*'
|
||||
};
|
||||
|
|
|
|||
|
|
@ -673,7 +673,7 @@ namespace Server.Commands
|
|||
return type.IsDefined( m_ParsableType, false );
|
||||
}
|
||||
|
||||
private static Type[] m_ParseTypes = new Type[]{ typeof( string ) };
|
||||
private static Type[] m_ParseTypes = new[]{ typeof( string ) };
|
||||
private static object[] m_ParseArgs = new object[1];
|
||||
|
||||
public static object ParseParsable( Type type, string value )
|
||||
|
|
@ -685,7 +685,7 @@ namespace Server.Commands
|
|||
return method.Invoke( null, m_ParseArgs );
|
||||
}
|
||||
|
||||
private static Type[] m_SignedNumerics = new Type[]
|
||||
private static Type[] m_SignedNumerics = new[]
|
||||
{
|
||||
typeof( Int64 ),
|
||||
typeof( Int32 ),
|
||||
|
|
@ -702,7 +702,7 @@ namespace Server.Commands
|
|||
return false;
|
||||
}
|
||||
|
||||
private static Type[] m_UnsignedNumerics = new Type[]
|
||||
private static Type[] m_UnsignedNumerics = new[]
|
||||
{
|
||||
typeof( UInt64 ),
|
||||
typeof( UInt32 ),
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ namespace Server.Commands
|
|||
|
||||
public Batch()
|
||||
{
|
||||
Commands = new string[]{ "Batch" };
|
||||
Commands = new[]{ "Batch" };
|
||||
ListOptimized = true;
|
||||
|
||||
m_BatchCommands = new ArrayList();
|
||||
|
|
|
|||
|
|
@ -248,7 +248,7 @@ namespace Server.Commands
|
|||
|
||||
#region GetPair
|
||||
|
||||
private static string[,] m_Aliases = new string[,]
|
||||
private static string[,] m_Aliases = new[,]
|
||||
{
|
||||
{ "System.Object", "<font color=\"blue\">object</font>" },
|
||||
{ "System.String", "<font color=\"blue\">string</font>" },
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ namespace Server.Commands
|
|||
[Description( "Rebuilds the categorization data file used by the Add command." )]
|
||||
public static void RebuildCategorization_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
CategoryEntry root = new CategoryEntry( null, "Add Menu", new CategoryEntry[]{ Items, Mobiles } );
|
||||
CategoryEntry root = new CategoryEntry( null, "Add Menu", new[]{ Items, Mobiles } );
|
||||
|
||||
Export( root, "Data/objects.xml", "Objects" );
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Simple | CommandSupport.Complex | CommandSupport.Self;
|
||||
Commands = new string[]{ "Condition" };
|
||||
Commands = new[]{ "Condition" };
|
||||
ObjectTypes = ObjectTypes.All;
|
||||
Usage = "Condition <condition>";
|
||||
Description = "Checks that the given condition matches a targeted object.";
|
||||
|
|
@ -119,7 +119,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllItems;
|
||||
Commands = new string[]{ "BringToPack" };
|
||||
Commands = new[]{ "BringToPack" };
|
||||
ObjectTypes = ObjectTypes.Items;
|
||||
Usage = "BringToPack";
|
||||
Description = "Brings a targeted item to your backpack.";
|
||||
|
|
@ -143,7 +143,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Simple;
|
||||
Commands = new string[]{ "RefreshHouse" };
|
||||
Commands = new[]{ "RefreshHouse" };
|
||||
ObjectTypes = ObjectTypes.Items;
|
||||
Usage = "RefreshHouse";
|
||||
Description = "Refreshes a targeted house sign.";
|
||||
|
|
@ -178,7 +178,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Complex;
|
||||
Commands = new string[]{ "Count" };
|
||||
Commands = new[]{ "Count" };
|
||||
ObjectTypes = ObjectTypes.All;
|
||||
Usage = "Count";
|
||||
Description = "Counts the number of objects that a command modifier would use. Generally used with condition arguments.";
|
||||
|
|
@ -200,7 +200,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = new string[]{ "OpenBrowser", "OB" };
|
||||
Commands = new[]{ "OpenBrowser", "OB" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "OpenBrowser <url>";
|
||||
Description = "Opens the web browser of a targeted player to a specified url.";
|
||||
|
|
@ -287,7 +287,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Supports = CommandSupport.All;
|
||||
Commands = new string[]{ "Increase", "Inc" };
|
||||
Commands = new[]{ "Increase", "Inc" };
|
||||
ObjectTypes = ObjectTypes.Both;
|
||||
Usage = "Increase {<propertyName> <offset> ...}";
|
||||
Description = "Increases the value of a specified property by the specified offset.";
|
||||
|
|
@ -321,7 +321,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = new string[]{ "PrivSound" };
|
||||
Commands = new[]{ "PrivSound" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "PrivSound <index>";
|
||||
Description = "Plays a sound to a given target.";
|
||||
|
|
@ -360,13 +360,13 @@ namespace Server.Commands.Generic
|
|||
|
||||
if ( inGump )
|
||||
{
|
||||
Commands = new string[]{ "Message", "Msg" };
|
||||
Commands = new[]{ "Message", "Msg" };
|
||||
Usage = "Message \"text\"";
|
||||
Description = "Sends a message to a targeted player.";
|
||||
}
|
||||
else
|
||||
{
|
||||
Commands = new string[]{ "Tell" };
|
||||
Commands = new[]{ "Tell" };
|
||||
Usage = "Tell \"text\"";
|
||||
Description = "Sends a system message to a targeted player.";
|
||||
}
|
||||
|
|
@ -392,7 +392,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.All;
|
||||
Commands = new string[]{ "AddToPack", "AddToCont" };
|
||||
Commands = new[]{ "AddToPack", "AddToCont" };
|
||||
ObjectTypes = ObjectTypes.Both;
|
||||
ListOptimized = true;
|
||||
Usage = "AddToPack <name> [params] [set {<propertyName> <value> ...}]";
|
||||
|
|
@ -432,7 +432,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Simple | CommandSupport.Self;
|
||||
Commands = new string[]{ "Add" };
|
||||
Commands = new[]{ "Add" };
|
||||
ObjectTypes = ObjectTypes.All;
|
||||
Usage = "Add [<name> [params] [set {<propertyName> <value> ...}]]";
|
||||
Description = "Adds an item or npc by name to a targeted location. Optional constructor parameters. Optional set property list. If no arguments are specified, this brings up a categorized add menu.";
|
||||
|
|
@ -493,7 +493,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Supports = CommandSupport.Simple;
|
||||
Commands = new string[]{ "Teleport", "Tele" };
|
||||
Commands = new[]{ "Teleport", "Tele" };
|
||||
ObjectTypes = ObjectTypes.All;
|
||||
Usage = "Teleport";
|
||||
Description = "Teleports your character to a targeted location.";
|
||||
|
|
@ -532,7 +532,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = new string[]{ "Dismount" };
|
||||
Commands = new[]{ "Dismount" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "Dismount";
|
||||
Description = "Forcefully dismounts a given target.";
|
||||
|
|
@ -591,7 +591,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllNPCs;
|
||||
Commands = new string[]{ "Restock" };
|
||||
Commands = new[]{ "Restock" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "Restock";
|
||||
Description = "Manually restocks a targeted vendor, refreshing the quantity of every item the vendor sells to the maximum. This also invokes the maximum quantity adjustment algorithms.";
|
||||
|
|
@ -619,7 +619,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Supports = CommandSupport.All;
|
||||
Commands = new string[]{ "GetType" };
|
||||
Commands = new[]{ "GetType" };
|
||||
ObjectTypes = ObjectTypes.All;
|
||||
Usage = "GetType";
|
||||
Description = "Gets the type name of a targeted object.";
|
||||
|
|
@ -649,7 +649,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Supports = CommandSupport.All;
|
||||
Commands = new string[]{ "Get" };
|
||||
Commands = new[]{ "Get" };
|
||||
ObjectTypes = ObjectTypes.All;
|
||||
Usage = "Get <propertyName>";
|
||||
Description = "Gets one or more property values by name of a targeted object.";
|
||||
|
|
@ -695,7 +695,7 @@ namespace Server.Commands.Generic
|
|||
else
|
||||
Supports = CommandSupport.All;
|
||||
|
||||
Commands = new string[]{ command };
|
||||
Commands = new[]{ command };
|
||||
ObjectTypes = objects;
|
||||
Usage = command;
|
||||
Description = String.Format( "Sets the {0} property to {1}.", name, value );
|
||||
|
|
@ -718,7 +718,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Supports = CommandSupport.All;
|
||||
Commands = new string[]{ "Set" };
|
||||
Commands = new[]{ "Set" };
|
||||
ObjectTypes = ObjectTypes.Both;
|
||||
Usage = "Set <propertyName> <value> [...]";
|
||||
Description = "Sets one or more property values by name of a targeted object.";
|
||||
|
|
@ -751,7 +751,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllNPCs | CommandSupport.AllItems;
|
||||
Commands = new string[]{ "Delete", "Remove" };
|
||||
Commands = new[]{ "Delete", "Remove" };
|
||||
ObjectTypes = ObjectTypes.Both;
|
||||
Usage = "Delete";
|
||||
Description = "Deletes a targeted item or mobile. Does not delete players.";
|
||||
|
|
@ -836,7 +836,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = value ? new string[]{ "Kill" } : new string[]{ "Resurrect", "Res" };
|
||||
Commands = value ? new[]{ "Kill" } : new[]{ "Resurrect", "Res" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
|
||||
if ( value )
|
||||
|
|
@ -919,7 +919,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = new string[]{ value ? "Hide" : "Unhide" };
|
||||
Commands = new[]{ value ? "Hide" : "Unhide" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
|
||||
if ( value )
|
||||
|
|
@ -968,7 +968,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Administrator;
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = new string[]{ "Firewall" };
|
||||
Commands = new[]{ "Firewall" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "Firewall";
|
||||
Description = "Adds a targeted player to the firewall (list of blocked IP addresses). This command does not ban or kick.";
|
||||
|
|
@ -1011,7 +1011,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
AccessLevel = ( ban ? AccessLevel.Administrator : AccessLevel.GameMaster );
|
||||
Supports = CommandSupport.AllMobiles;
|
||||
Commands = new string[]{ ban ? "Ban" : "Kick" };
|
||||
Commands = new[]{ ban ? "Ban" : "Kick" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
|
||||
if ( ban )
|
||||
|
|
@ -1073,7 +1073,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.Administrator;
|
||||
Supports = CommandSupport.Simple;
|
||||
Commands = new string[] { "TraceLockdown" };
|
||||
Commands = new[] { "TraceLockdown" };
|
||||
ObjectTypes = ObjectTypes.Items;
|
||||
Usage = "TraceLockdown";
|
||||
Description = "Finds the BaseHouse for which a targeted item is locked down or secured.";
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Single | CommandSupport.Area;
|
||||
Commands = new string[] { "DesignInsert" };
|
||||
Commands = new[] { "DesignInsert" };
|
||||
ObjectTypes = ObjectTypes.Items;
|
||||
Usage = "DesignInsert [allItems=false]";
|
||||
Description = "Inserts multiple targeted items into a customizable house's design.";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Complex | CommandSupport.Simple;
|
||||
Commands = new string[]{ "Interface" };
|
||||
Commands = new[]{ "Interface" };
|
||||
ObjectTypes = ObjectTypes.Both;
|
||||
Usage = "Interface [view <properties ...>]";
|
||||
Description = "Opens an interface to interact with matched objects. Generally used with condition arguments.";
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ namespace Server.Commands.Generic
|
|||
"Parse",
|
||||
BindingFlags.Public | BindingFlags.Static,
|
||||
null,
|
||||
new Type[] { typeof( string ), typeof( NumberStyles ) },
|
||||
new[] { typeof( string ), typeof( NumberStyles ) },
|
||||
null
|
||||
);
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ namespace Server.Commands.Generic
|
|||
"Parse",
|
||||
BindingFlags.Public | BindingFlags.Static,
|
||||
null,
|
||||
new Type[] { typeof( string ) },
|
||||
new[] { typeof( string ) },
|
||||
null
|
||||
);
|
||||
|
||||
|
|
@ -279,7 +279,7 @@ namespace Server.Commands.Generic
|
|||
methodName,
|
||||
BindingFlags.Public | BindingFlags.Static,
|
||||
null,
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( string ),
|
||||
typeof( string )
|
||||
|
|
@ -319,7 +319,7 @@ namespace Server.Commands.Generic
|
|||
methodName,
|
||||
BindingFlags.Public | BindingFlags.Instance,
|
||||
null,
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( string )
|
||||
},
|
||||
|
|
@ -494,7 +494,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Verify",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( bool ),
|
||||
/* params */ new Type[] { typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ) } );
|
||||
|
||||
LocalBuilder obj = emitter.CreateLocal( objectType );
|
||||
LocalBuilder eq = emitter.CreateLocal( typeof( bool ) );
|
||||
|
|
@ -531,7 +531,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IConditional ).GetMethod(
|
||||
"Verify",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object )
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Compare",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( int ),
|
||||
/* params */ new Type[] { typeof( object ), typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ), typeof( object ) } );
|
||||
|
||||
LocalBuilder a = emitter.CreateLocal( objectType );
|
||||
LocalBuilder b = emitter.CreateLocal( objectType );
|
||||
|
|
@ -103,7 +103,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IComparer ).GetMethod(
|
||||
"Compare",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object ),
|
||||
typeof( object )
|
||||
|
|
@ -127,7 +127,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Equals",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( bool ),
|
||||
/* params */ new Type[] { typeof( object ), typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ), typeof( object ) } );
|
||||
|
||||
emitter.Generator.Emit( OpCodes.Ldarg_0 );
|
||||
emitter.Generator.Emit( OpCodes.Ldarg_1 );
|
||||
|
|
@ -145,7 +145,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IEqualityComparer<object> ).GetMethod(
|
||||
"Equals",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object ),
|
||||
typeof( object )
|
||||
|
|
@ -163,7 +163,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "GetHashCode",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( int ),
|
||||
/* params */ new Type[] { typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ) } );
|
||||
|
||||
LocalBuilder obj = emitter.CreateLocal( objectType );
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IEqualityComparer<object> ).GetMethod(
|
||||
"GetHashCode",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object )
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ namespace Server.Commands.Generic
|
|||
/* name */ "Compare",
|
||||
/* attr */ MethodAttributes.Public | MethodAttributes.Virtual,
|
||||
/* return */ typeof( int ),
|
||||
/* params */ new Type[] { typeof( object ), typeof( object ) } );
|
||||
/* params */ new[] { typeof( object ), typeof( object ) } );
|
||||
|
||||
LocalBuilder a = emitter.CreateLocal( objectType );
|
||||
LocalBuilder b = emitter.CreateLocal( objectType );
|
||||
|
|
@ -148,7 +148,7 @@ namespace Server.Commands.Generic
|
|||
emitter.Method,
|
||||
typeof( IComparer ).GetMethod(
|
||||
"Compare",
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( object ),
|
||||
typeof( object )
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
public AreaCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Area", "Group" };
|
||||
Accessors = new[]{ "Area", "Group" };
|
||||
SupportRequirement = CommandSupport.Area;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public ContainedCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Contained" };
|
||||
Accessors = new[]{ "Contained" };
|
||||
SupportRequirement = CommandSupport.Contained;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Usage = "Contained <command> [condition]";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public FacetCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Facet" };
|
||||
Accessors = new[]{ "Facet" };
|
||||
SupportRequirement = CommandSupport.Area;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public GlobalCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Global" };
|
||||
Accessors = new[]{ "Global" };
|
||||
SupportRequirement = CommandSupport.Global;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.Administrator;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public IPAddressCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "IPAddress" };
|
||||
Accessors = new[]{ "IPAddress" };
|
||||
SupportRequirement = CommandSupport.IPAddress;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.Administrator;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public MultiCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Multi", "m" };
|
||||
Accessors = new[]{ "Multi", "m" };
|
||||
SupportRequirement = CommandSupport.Multi;
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Usage = "Multi <command>";
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public OnlineCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Online" };
|
||||
Accessors = new[]{ "Online" };
|
||||
SupportRequirement = CommandSupport.Online;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
public RangeCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Range" };
|
||||
Accessors = new[]{ "Range" };
|
||||
SupportRequirement = CommandSupport.Area;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public RegionCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Region" };
|
||||
Accessors = new[]{ "Region" };
|
||||
SupportRequirement = CommandSupport.Region;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public ScreenCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Screen" };
|
||||
Accessors = new[]{ "Screen" };
|
||||
SupportRequirement = CommandSupport.Area;
|
||||
SupportsConditionals = true;
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public SelfCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Self" };
|
||||
Accessors = new[]{ "Self" };
|
||||
SupportRequirement = CommandSupport.Self;
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Usage = "Self <command>";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public SerialCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Serial" };
|
||||
Accessors = new[]{ "Serial" };
|
||||
SupportRequirement = CommandSupport.Single;
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Usage = "Serial <serial> <command>";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
public SingleCommandImplementor()
|
||||
{
|
||||
Accessors = new string[]{ "Single" };
|
||||
Accessors = new[]{ "Single" };
|
||||
SupportRequirement = CommandSupport.Single;
|
||||
AccessLevel = AccessLevel.Counselor;
|
||||
Usage = "Single <command>";
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ namespace Server.Commands
|
|||
private Mobile m_Mobile;
|
||||
private Item m_Item;
|
||||
|
||||
public EquipDetailsMenu( Mobile m, Item item ) : base( String.Format( "{0}: {1}", item.Layer, item.GetType().Name ), new string[]{"Move","Delete","Props"})
|
||||
public EquipDetailsMenu( Mobile m, Item item ) : base( String.Format( "{0}: {1}", item.Layer, item.GetType().Name ), new[]{"Move","Delete","Props"})
|
||||
{
|
||||
m_Mobile = m;
|
||||
m_Item = item;
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ namespace Server.Commands
|
|||
}
|
||||
}
|
||||
|
||||
private static char[] m_NotSafe = new char[]{ '\\', '/', ':', '*', '?', '"', '<', '>', '|' };
|
||||
private static char[] m_NotSafe = new[]{ '\\', '/', ':', '*', '?', '"', '<', '>', '|' };
|
||||
|
||||
public static void AppendPath( ref string path, string toAppend )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -240,7 +240,7 @@ namespace Server.Commands
|
|||
{
|
||||
using ( StreamWriter op = new StreamWriter( "expandedItems.log", true ) )
|
||||
{
|
||||
string[] names = new string[]
|
||||
string[] names = new[]
|
||||
{
|
||||
"Name",
|
||||
"Items",
|
||||
|
|
@ -297,7 +297,7 @@ namespace Server.Commands
|
|||
int[] parms = (int[])table[type];
|
||||
|
||||
if ( parms == null )
|
||||
table[type] = parms = new int[]{ 0, 0 };
|
||||
table[type] = parms = new[]{ 0, 0 };
|
||||
|
||||
parms[0]++;
|
||||
parms[1] += item.Amount;
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ namespace Server.Commands
|
|||
return ( t == typeofTimeSpan || t.IsDefined( typeofParsable, false ) );
|
||||
}
|
||||
|
||||
private static Type[] m_ParseTypes = new Type[]{ typeof( string ) };
|
||||
private static Type[] m_ParseTypes = new[]{ typeof( string ) };
|
||||
private static object[] m_ParseParams = new object[1];
|
||||
|
||||
private static object Parse( object o, Type t, string value )
|
||||
|
|
@ -408,7 +408,7 @@ namespace Server.Commands
|
|||
return method.Invoke( o, m_ParseParams );
|
||||
}
|
||||
|
||||
private static Type[] m_NumericTypes = new Type[]
|
||||
private static Type[] m_NumericTypes = new[]
|
||||
{
|
||||
typeof( Byte ), typeof( SByte ),
|
||||
typeof( Int16 ), typeof( UInt16 ),
|
||||
|
|
|
|||
|
|
@ -60,12 +60,12 @@ namespace Server.Commands
|
|||
}
|
||||
}
|
||||
|
||||
Map[] brit = new Map[]{ Map.Felucca, Map.Trammel };
|
||||
Map[] fel = new Map[]{ Map.Felucca };
|
||||
Map[] tram = new Map[]{ Map.Trammel };
|
||||
Map[] ilsh = new Map[]{ Map.Ilshenar };
|
||||
Map[] malas = new Map[]{ Map.Malas };
|
||||
Map[] tokuno = new Map[]{ Map.Tokuno };
|
||||
Map[] brit = new[]{ Map.Felucca, Map.Trammel };
|
||||
Map[] fel = new[]{ Map.Felucca };
|
||||
Map[] tram = new[]{ Map.Trammel };
|
||||
Map[] ilsh = new[]{ Map.Ilshenar };
|
||||
Map[] malas = new[]{ Map.Malas };
|
||||
Map[] tokuno = new[]{ Map.Tokuno };
|
||||
|
||||
for ( int i = 0; i < list.Count; ++i )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ namespace Server.Engines.BulkOrders
|
|||
|
||||
private const int LabelColor = 0x7FFF;
|
||||
|
||||
private static int[,] m_MaterialFilters = new int[,]
|
||||
private static int[,] m_MaterialFilters = new[,]
|
||||
{
|
||||
{ 1044067, 1 }, // Blacksmithy
|
||||
{ 1062226, 3 }, // Iron
|
||||
|
|
@ -34,21 +34,21 @@ namespace Server.Engines.BulkOrders
|
|||
{ 1062238, 16 } // Barbed
|
||||
};
|
||||
|
||||
private static int[,] m_TypeFilters = new int[,]
|
||||
private static int[,] m_TypeFilters = new[,]
|
||||
{
|
||||
{ 1062229, 0 }, // All
|
||||
{ 1062224, 1 }, // Small
|
||||
{ 1062225, 2 } // Large
|
||||
};
|
||||
|
||||
private static int[,] m_QualityFilters = new int[,]
|
||||
private static int[,] m_QualityFilters = new[,]
|
||||
{
|
||||
{ 1062229, 0 }, // All
|
||||
{ 1011542, 1 }, // Normal
|
||||
{ 1060636, 2 } // Exceptional
|
||||
};
|
||||
|
||||
private static int[,] m_AmountFilters = new int[,]
|
||||
private static int[,] m_AmountFilters = new[,]
|
||||
{
|
||||
{ 1062229, 0 }, // All
|
||||
{ 1049706, 1 }, // 10
|
||||
|
|
@ -56,21 +56,21 @@ namespace Server.Engines.BulkOrders
|
|||
{ 1062239, 3 } // 20
|
||||
};
|
||||
|
||||
private static int[][,] m_Filters = new int[][,]
|
||||
{
|
||||
private static int[][,] m_Filters = new[]
|
||||
{
|
||||
m_TypeFilters,
|
||||
m_QualityFilters,
|
||||
m_MaterialFilters,
|
||||
m_AmountFilters
|
||||
};
|
||||
|
||||
private static int[] m_XOffsets_Type = new int[]{ 0, 75, 170 };
|
||||
private static int[] m_XOffsets_Quality = new int[]{ 0, 75, 170 };
|
||||
private static int[] m_XOffsets_Amount = new int[]{ 0, 75, 180, 275 };
|
||||
private static int[] m_XOffsets_Material = new int[]{ 0, 105, 210, 305, 390, 485 };
|
||||
private static int[] m_XOffsets_Type = new[]{ 0, 75, 170 };
|
||||
private static int[] m_XOffsets_Quality = new[]{ 0, 75, 170 };
|
||||
private static int[] m_XOffsets_Amount = new[]{ 0, 75, 180, 275 };
|
||||
private static int[] m_XOffsets_Material = new[]{ 0, 105, 210, 305, 390, 485 };
|
||||
|
||||
private static int[] m_XWidths_Small = new int[]{ 50, 50, 70, 50 };
|
||||
private static int[] m_XWidths_Large = new int[]{ 80, 50, 50, 50, 50, 50 };
|
||||
private static int[] m_XWidths_Small = new[]{ 50, 50, 70, 50 };
|
||||
private static int[] m_XWidths_Large = new[]{ 80, 50, 50, 50, 50, 50 };
|
||||
|
||||
private void AddFilterList( int x, int y, int[] xOffsets, int yOffset, int[,] filters, int[] xWidths, int filterValue, int filterIndex )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.BulkOrders
|
|||
[TypeAlias( "Scripts.Engines.BulkOrders.LargeSmithBOD" )]
|
||||
public class LargeSmithBOD : LargeBOD
|
||||
{
|
||||
public static double[] m_BlacksmithMaterialChances = new double[]
|
||||
public static double[] m_BlacksmithMaterialChances = new[]
|
||||
{
|
||||
0.501953125, // None
|
||||
0.250000000, // Dull Copper
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.BulkOrders
|
|||
{
|
||||
public class LargeTailorBOD : LargeBOD
|
||||
{
|
||||
public static double[] m_TailoringMaterialChances = new double[]
|
||||
public static double[] m_TailoringMaterialChances = new[]
|
||||
{
|
||||
0.857421875, // None
|
||||
0.125000000, // Spined
|
||||
|
|
|
|||
|
|
@ -261,7 +261,7 @@ namespace Server.Engines.BulkOrders
|
|||
|
||||
public static readonly SmithRewardCalculator Instance = new SmithRewardCalculator();
|
||||
|
||||
private RewardType[] m_Types = new RewardType[]
|
||||
private RewardType[] m_Types = new[]
|
||||
{
|
||||
// Armors
|
||||
new RewardType( 200, typeof( RingmailGloves ), typeof( RingmailChest ), typeof( RingmailArms ), typeof( RingmailLegs ) ),
|
||||
|
|
@ -299,91 +299,91 @@ namespace Server.Engines.BulkOrders
|
|||
return points;
|
||||
}
|
||||
|
||||
private static int[][][] m_GoldTable = new int[][][]
|
||||
{
|
||||
new int[][] // 1-part (regular)
|
||||
private static int[][][] m_GoldTable = new[]
|
||||
{
|
||||
new[] // 1-part (regular)
|
||||
{
|
||||
new int[]{ 150, 250, 250, 400, 400, 750, 750, 1200, 1200 },
|
||||
new int[]{ 225, 375, 375, 600, 600, 1125, 1125, 1800, 1800 },
|
||||
new int[]{ 300, 500, 750, 800, 1050, 1500, 2250, 2400, 4000 }
|
||||
new[]{ 150, 250, 250, 400, 400, 750, 750, 1200, 1200 },
|
||||
new[]{ 225, 375, 375, 600, 600, 1125, 1125, 1800, 1800 },
|
||||
new[]{ 300, 500, 750, 800, 1050, 1500, 2250, 2400, 4000 }
|
||||
},
|
||||
new int[][] // 1-part (exceptional)
|
||||
new[] // 1-part (exceptional)
|
||||
{
|
||||
new int[]{ 250, 400, 400, 750, 750, 1500, 1500, 3000, 3000 },
|
||||
new int[]{ 375, 600, 600, 1125, 1125, 2250, 2250, 4500, 4500 },
|
||||
new int[]{ 500, 800, 1200, 1500, 2500, 3000, 6000, 6000, 12000 }
|
||||
new[]{ 250, 400, 400, 750, 750, 1500, 1500, 3000, 3000 },
|
||||
new[]{ 375, 600, 600, 1125, 1125, 2250, 2250, 4500, 4500 },
|
||||
new[]{ 500, 800, 1200, 1500, 2500, 3000, 6000, 6000, 12000 }
|
||||
},
|
||||
new int[][] // Ringmail (regular)
|
||||
new[] // Ringmail (regular)
|
||||
{
|
||||
new int[]{ 3000, 5000, 5000, 7500, 7500, 10000, 10000, 15000, 15000 },
|
||||
new int[]{ 4500, 7500, 7500, 11250, 11500, 15000, 15000, 22500, 22500 },
|
||||
new int[]{ 6000, 10000, 15000, 15000, 20000, 20000, 30000, 30000, 50000 }
|
||||
new[]{ 3000, 5000, 5000, 7500, 7500, 10000, 10000, 15000, 15000 },
|
||||
new[]{ 4500, 7500, 7500, 11250, 11500, 15000, 15000, 22500, 22500 },
|
||||
new[]{ 6000, 10000, 15000, 15000, 20000, 20000, 30000, 30000, 50000 }
|
||||
},
|
||||
new int[][] // Ringmail (exceptional)
|
||||
new[] // Ringmail (exceptional)
|
||||
{
|
||||
new int[]{ 5000, 10000, 10000, 15000, 15000, 25000, 25000, 50000, 50000 },
|
||||
new int[]{ 7500, 15000, 15000, 22500, 22500, 37500, 37500, 75000, 75000 },
|
||||
new int[]{ 10000, 20000, 30000, 30000, 50000, 50000, 100000, 100000, 200000 }
|
||||
new[]{ 5000, 10000, 10000, 15000, 15000, 25000, 25000, 50000, 50000 },
|
||||
new[]{ 7500, 15000, 15000, 22500, 22500, 37500, 37500, 75000, 75000 },
|
||||
new[]{ 10000, 20000, 30000, 30000, 50000, 50000, 100000, 100000, 200000 }
|
||||
},
|
||||
new int[][] // Chainmail (regular)
|
||||
new[] // Chainmail (regular)
|
||||
{
|
||||
new int[]{ 4000, 7500, 7500, 10000, 10000, 15000, 15000, 25000, 25000 },
|
||||
new int[]{ 6000, 11250, 11250, 15000, 15000, 22500, 22500, 37500, 37500 },
|
||||
new int[]{ 8000, 15000, 20000, 20000, 30000, 30000, 50000, 50000, 100000 }
|
||||
new[]{ 4000, 7500, 7500, 10000, 10000, 15000, 15000, 25000, 25000 },
|
||||
new[]{ 6000, 11250, 11250, 15000, 15000, 22500, 22500, 37500, 37500 },
|
||||
new[]{ 8000, 15000, 20000, 20000, 30000, 30000, 50000, 50000, 100000 }
|
||||
},
|
||||
new int[][] // Chainmail (exceptional)
|
||||
new[] // Chainmail (exceptional)
|
||||
{
|
||||
new int[]{ 7500, 15000, 15000, 25000, 25000, 50000, 50000, 100000, 100000 },
|
||||
new int[]{ 11250, 22500, 22500, 37500, 37500, 75000, 75000, 150000, 150000 },
|
||||
new int[]{ 15000, 30000, 50000, 50000, 100000, 100000, 200000, 200000, 200000 }
|
||||
new[]{ 7500, 15000, 15000, 25000, 25000, 50000, 50000, 100000, 100000 },
|
||||
new[]{ 11250, 22500, 22500, 37500, 37500, 75000, 75000, 150000, 150000 },
|
||||
new[]{ 15000, 30000, 50000, 50000, 100000, 100000, 200000, 200000, 200000 }
|
||||
},
|
||||
new int[][] // Platemail (regular)
|
||||
new[] // Platemail (regular)
|
||||
{
|
||||
new int[]{ 5000, 10000, 10000, 15000, 15000, 25000, 25000, 50000, 50000 },
|
||||
new int[]{ 7500, 15000, 15000, 22500, 22500, 37500, 37500, 75000, 75000 },
|
||||
new int[]{ 10000, 20000, 30000, 30000, 50000, 50000, 100000, 100000, 200000 }
|
||||
new[]{ 5000, 10000, 10000, 15000, 15000, 25000, 25000, 50000, 50000 },
|
||||
new[]{ 7500, 15000, 15000, 22500, 22500, 37500, 37500, 75000, 75000 },
|
||||
new[]{ 10000, 20000, 30000, 30000, 50000, 50000, 100000, 100000, 200000 }
|
||||
},
|
||||
new int[][] // Platemail (exceptional)
|
||||
new[] // Platemail (exceptional)
|
||||
{
|
||||
new int[]{ 10000, 25000, 25000, 50000, 50000, 100000, 100000, 100000, 100000 },
|
||||
new int[]{ 15000, 37500, 37500, 75000, 75000, 150000, 150000, 150000, 150000 },
|
||||
new int[]{ 20000, 50000, 100000, 100000, 200000, 200000, 200000, 200000, 200000 }
|
||||
new[]{ 10000, 25000, 25000, 50000, 50000, 100000, 100000, 100000, 100000 },
|
||||
new[]{ 15000, 37500, 37500, 75000, 75000, 150000, 150000, 150000, 150000 },
|
||||
new[]{ 20000, 50000, 100000, 100000, 200000, 200000, 200000, 200000, 200000 }
|
||||
},
|
||||
new int[][] // 2-part weapons (regular)
|
||||
new[] // 2-part weapons (regular)
|
||||
{
|
||||
new int[]{ 3000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 4500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 6000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
new[]{ 3000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 4500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 6000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
},
|
||||
new int[][] // 2-part weapons (exceptional)
|
||||
new[] // 2-part weapons (exceptional)
|
||||
{
|
||||
new int[]{ 5000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 7500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 10000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
new[]{ 5000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 7500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 10000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
},
|
||||
new int[][] // 5-part weapons (regular)
|
||||
new[] // 5-part weapons (regular)
|
||||
{
|
||||
new int[]{ 4000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 6000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 8000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
new[]{ 4000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 6000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 8000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
},
|
||||
new int[][] // 5-part weapons (exceptional)
|
||||
new[] // 5-part weapons (exceptional)
|
||||
{
|
||||
new int[]{ 7500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 11250, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 15000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
new[]{ 7500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 11250, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 15000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
},
|
||||
new int[][] // 6-part weapons (regular)
|
||||
new[] // 6-part weapons (regular)
|
||||
{
|
||||
new int[]{ 4000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 6000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 10000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
new[]{ 4000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 6000, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 10000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
},
|
||||
new int[][] // 6-part weapons (exceptional)
|
||||
new[] // 6-part weapons (exceptional)
|
||||
{
|
||||
new int[]{ 7500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 11250, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new int[]{ 15000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
new[]{ 7500, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 11250, 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
new[]{ 15000, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -430,7 +430,7 @@ namespace Server.Engines.BulkOrders
|
|||
|
||||
public SmithRewardCalculator()
|
||||
{
|
||||
Groups = new RewardGroup[]
|
||||
Groups = new[]
|
||||
{
|
||||
new RewardGroup( 0, new RewardItem( 1, SturdyShovel ) ),
|
||||
new RewardGroup( 25, new RewardItem( 1, SturdyPickaxe ) ),
|
||||
|
|
@ -471,13 +471,13 @@ namespace Server.Engines.BulkOrders
|
|||
private static readonly ConstructCallback BearRug = new ConstructCallback( CreateBearRug );
|
||||
private static readonly ConstructCallback ClothingBlessDeed = new ConstructCallback( CreateCBD );
|
||||
|
||||
private static int[][] m_ClothHues = new int[][]
|
||||
{
|
||||
new int[]{ 0x483, 0x48C, 0x488, 0x48A },
|
||||
new int[]{ 0x495, 0x48B, 0x486, 0x485 },
|
||||
new int[]{ 0x48D, 0x490, 0x48E, 0x491 },
|
||||
new int[]{ 0x48F, 0x494, 0x484, 0x497 },
|
||||
new int[]{ 0x489, 0x47F, 0x482, 0x47E }
|
||||
private static int[][] m_ClothHues = new[]
|
||||
{
|
||||
new[]{ 0x483, 0x48C, 0x488, 0x48A },
|
||||
new[]{ 0x495, 0x48B, 0x486, 0x485 },
|
||||
new[]{ 0x48D, 0x490, 0x48E, 0x491 },
|
||||
new[]{ 0x48F, 0x494, 0x484, 0x497 },
|
||||
new[]{ 0x489, 0x47F, 0x482, 0x47E }
|
||||
};
|
||||
|
||||
private static Item CreateCloth( int type )
|
||||
|
|
@ -492,7 +492,7 @@ namespace Server.Engines.BulkOrders
|
|||
throw new InvalidOperationException();
|
||||
}
|
||||
|
||||
private static int[] m_SandalHues = new int[]
|
||||
private static int[] m_SandalHues = new[]
|
||||
{
|
||||
0x489, 0x47F, 0x482,
|
||||
0x47E, 0x48F, 0x494,
|
||||
|
|
@ -595,107 +595,107 @@ namespace Server.Engines.BulkOrders
|
|||
return points;
|
||||
}
|
||||
|
||||
private static int[][][] m_AosGoldTable = new int[][][]
|
||||
{
|
||||
new int[][] // 1-part (regular)
|
||||
private static int[][][] m_AosGoldTable = new[]
|
||||
{
|
||||
new[] // 1-part (regular)
|
||||
{
|
||||
new int[]{ 150, 150, 300, 300 },
|
||||
new int[]{ 225, 225, 450, 450 },
|
||||
new int[]{ 300, 400, 600, 750 }
|
||||
new[]{ 150, 150, 300, 300 },
|
||||
new[]{ 225, 225, 450, 450 },
|
||||
new[]{ 300, 400, 600, 750 }
|
||||
},
|
||||
new int[][] // 1-part (exceptional)
|
||||
new[] // 1-part (exceptional)
|
||||
{
|
||||
new int[]{ 300, 300, 600, 600 },
|
||||
new int[]{ 450, 450, 900, 900 },
|
||||
new int[]{ 600, 750, 1200, 1800 }
|
||||
new[]{ 300, 300, 600, 600 },
|
||||
new[]{ 450, 450, 900, 900 },
|
||||
new[]{ 600, 750, 1200, 1800 }
|
||||
},
|
||||
new int[][] // 4-part (regular)
|
||||
new[] // 4-part (regular)
|
||||
{
|
||||
new int[]{ 4000, 4000, 5000, 5000 },
|
||||
new int[]{ 6000, 6000, 7500, 7500 },
|
||||
new int[]{ 8000, 10000, 10000, 15000 }
|
||||
new[]{ 4000, 4000, 5000, 5000 },
|
||||
new[]{ 6000, 6000, 7500, 7500 },
|
||||
new[]{ 8000, 10000, 10000, 15000 }
|
||||
},
|
||||
new int[][] // 4-part (exceptional)
|
||||
new[] // 4-part (exceptional)
|
||||
{
|
||||
new int[]{ 5000, 5000, 7500, 7500 },
|
||||
new int[]{ 7500, 7500, 11250, 11250 },
|
||||
new int[]{ 10000, 15000, 15000, 20000 }
|
||||
new[]{ 5000, 5000, 7500, 7500 },
|
||||
new[]{ 7500, 7500, 11250, 11250 },
|
||||
new[]{ 10000, 15000, 15000, 20000 }
|
||||
},
|
||||
new int[][] // 5-part (regular)
|
||||
new[] // 5-part (regular)
|
||||
{
|
||||
new int[]{ 5000, 5000, 7500, 7500 },
|
||||
new int[]{ 7500, 7500, 11250, 11250 },
|
||||
new int[]{ 10000, 15000, 15000, 20000 }
|
||||
new[]{ 5000, 5000, 7500, 7500 },
|
||||
new[]{ 7500, 7500, 11250, 11250 },
|
||||
new[]{ 10000, 15000, 15000, 20000 }
|
||||
},
|
||||
new int[][] // 5-part (exceptional)
|
||||
new[] // 5-part (exceptional)
|
||||
{
|
||||
new int[]{ 7500, 7500, 10000, 10000 },
|
||||
new int[]{ 11250, 11250, 15000, 15000 },
|
||||
new int[]{ 15000, 20000, 20000, 30000 }
|
||||
new[]{ 7500, 7500, 10000, 10000 },
|
||||
new[]{ 11250, 11250, 15000, 15000 },
|
||||
new[]{ 15000, 20000, 20000, 30000 }
|
||||
},
|
||||
new int[][] // 6-part (regular)
|
||||
new[] // 6-part (regular)
|
||||
{
|
||||
new int[]{ 7500, 7500, 10000, 10000 },
|
||||
new int[]{ 11250, 11250, 15000, 15000 },
|
||||
new int[]{ 15000, 20000, 20000, 30000 }
|
||||
new[]{ 7500, 7500, 10000, 10000 },
|
||||
new[]{ 11250, 11250, 15000, 15000 },
|
||||
new[]{ 15000, 20000, 20000, 30000 }
|
||||
},
|
||||
new int[][] // 6-part (exceptional)
|
||||
new[] // 6-part (exceptional)
|
||||
{
|
||||
new int[]{ 10000, 10000, 15000, 15000 },
|
||||
new int[]{ 15000, 15000, 22500, 22500 },
|
||||
new int[]{ 20000, 30000, 30000, 50000 }
|
||||
new[]{ 10000, 10000, 15000, 15000 },
|
||||
new[]{ 15000, 15000, 22500, 22500 },
|
||||
new[]{ 20000, 30000, 30000, 50000 }
|
||||
}
|
||||
};
|
||||
|
||||
private static int[][][] m_OldGoldTable = new int[][][]
|
||||
{
|
||||
new int[][] // 1-part (regular)
|
||||
private static int[][][] m_OldGoldTable = new[]
|
||||
{
|
||||
new[] // 1-part (regular)
|
||||
{
|
||||
new int[]{ 150, 150, 300, 300 },
|
||||
new int[]{ 225, 225, 450, 450 },
|
||||
new int[]{ 300, 400, 600, 750 }
|
||||
new[]{ 150, 150, 300, 300 },
|
||||
new[]{ 225, 225, 450, 450 },
|
||||
new[]{ 300, 400, 600, 750 }
|
||||
},
|
||||
new int[][] // 1-part (exceptional)
|
||||
new[] // 1-part (exceptional)
|
||||
{
|
||||
new int[]{ 300, 300, 600, 600 },
|
||||
new int[]{ 450, 450, 900, 900 },
|
||||
new int[]{ 600, 750, 1200, 1800 }
|
||||
new[]{ 300, 300, 600, 600 },
|
||||
new[]{ 450, 450, 900, 900 },
|
||||
new[]{ 600, 750, 1200, 1800 }
|
||||
},
|
||||
new int[][] // 4-part (regular)
|
||||
new[] // 4-part (regular)
|
||||
{
|
||||
new int[]{ 3000, 3000, 4000, 4000 },
|
||||
new int[]{ 4500, 4500, 6000, 6000 },
|
||||
new int[]{ 6000, 8000, 8000, 10000 }
|
||||
new[]{ 3000, 3000, 4000, 4000 },
|
||||
new[]{ 4500, 4500, 6000, 6000 },
|
||||
new[]{ 6000, 8000, 8000, 10000 }
|
||||
},
|
||||
new int[][] // 4-part (exceptional)
|
||||
new[] // 4-part (exceptional)
|
||||
{
|
||||
new int[]{ 4000, 4000, 5000, 5000 },
|
||||
new int[]{ 6000, 6000, 7500, 7500 },
|
||||
new int[]{ 8000, 10000, 10000, 15000 }
|
||||
new[]{ 4000, 4000, 5000, 5000 },
|
||||
new[]{ 6000, 6000, 7500, 7500 },
|
||||
new[]{ 8000, 10000, 10000, 15000 }
|
||||
},
|
||||
new int[][] // 5-part (regular)
|
||||
new[] // 5-part (regular)
|
||||
{
|
||||
new int[]{ 4000, 4000, 5000, 5000 },
|
||||
new int[]{ 6000, 6000, 7500, 7500 },
|
||||
new int[]{ 8000, 10000, 10000, 15000 }
|
||||
new[]{ 4000, 4000, 5000, 5000 },
|
||||
new[]{ 6000, 6000, 7500, 7500 },
|
||||
new[]{ 8000, 10000, 10000, 15000 }
|
||||
},
|
||||
new int[][] // 5-part (exceptional)
|
||||
new[] // 5-part (exceptional)
|
||||
{
|
||||
new int[]{ 5000, 5000, 7500, 7500 },
|
||||
new int[]{ 7500, 7500, 11250, 11250 },
|
||||
new int[]{ 10000, 15000, 15000, 20000 }
|
||||
new[]{ 5000, 5000, 7500, 7500 },
|
||||
new[]{ 7500, 7500, 11250, 11250 },
|
||||
new[]{ 10000, 15000, 15000, 20000 }
|
||||
},
|
||||
new int[][] // 6-part (regular)
|
||||
new[] // 6-part (regular)
|
||||
{
|
||||
new int[]{ 5000, 5000, 7500, 7500 },
|
||||
new int[]{ 7500, 7500, 11250, 11250 },
|
||||
new int[]{ 10000, 15000, 15000, 20000 }
|
||||
new[]{ 5000, 5000, 7500, 7500 },
|
||||
new[]{ 7500, 7500, 11250, 11250 },
|
||||
new[]{ 10000, 15000, 15000, 20000 }
|
||||
},
|
||||
new int[][] // 6-part (exceptional)
|
||||
new[] // 6-part (exceptional)
|
||||
{
|
||||
new int[]{ 7500, 7500, 10000, 10000 },
|
||||
new int[]{ 11250, 11250, 15000, 15000 },
|
||||
new int[]{ 15000, 20000, 20000, 30000 }
|
||||
new[]{ 7500, 7500, 10000, 10000 },
|
||||
new[]{ 11250, 11250, 15000, 15000 },
|
||||
new[]{ 15000, 20000, 20000, 30000 }
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -717,7 +717,7 @@ namespace Server.Engines.BulkOrders
|
|||
|
||||
public TailorRewardCalculator()
|
||||
{
|
||||
Groups = new RewardGroup[]
|
||||
Groups = new[]
|
||||
{
|
||||
new RewardGroup( 0, new RewardItem( 1, Cloth, 0 ) ),
|
||||
new RewardGroup( 50, new RewardItem( 1, Cloth, 1 ) ),
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Engines.BulkOrders
|
|||
[TypeAlias( "Scripts.Engines.BulkOrders.SmallSmithBOD" )]
|
||||
public class SmallSmithBOD : SmallBOD
|
||||
{
|
||||
public static double[] m_BlacksmithMaterialChances = new double[]
|
||||
public static double[] m_BlacksmithMaterialChances = new[]
|
||||
{
|
||||
0.501953125, // None
|
||||
0.250000000, // Dull Copper
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.BulkOrders
|
|||
{
|
||||
public class SmallTailorBOD : SmallBOD
|
||||
{
|
||||
public static double[] m_TailoringMaterialChances = new double[]
|
||||
public static double[] m_TailoringMaterialChances = new[]
|
||||
{
|
||||
0.857421875, // None
|
||||
0.125000000, // Spined
|
||||
|
|
|
|||
|
|
@ -38,73 +38,73 @@ namespace Server.Engines.CannedEvil
|
|||
|
||||
public static ChampionSpawnInfo[] Table => m_Table;
|
||||
|
||||
private static readonly ChampionSpawnInfo[] m_Table = new ChampionSpawnInfo[]
|
||||
private static readonly ChampionSpawnInfo[] m_Table = new[]
|
||||
{
|
||||
new ChampionSpawnInfo( "Abyss", typeof( Semidar ), new string[]{ "Foe", "Assassin", "Conqueror" }, new Type[][] // Abyss
|
||||
new ChampionSpawnInfo( "Abyss", typeof( Semidar ), new[]{ "Foe", "Assassin", "Conqueror" }, new[] // Abyss
|
||||
{ // Abyss
|
||||
new Type[]{ typeof( GreaterMongbat ), typeof( Imp ) }, // Level 1
|
||||
new Type[]{ typeof( Gargoyle ), typeof( Harpy ) }, // Level 2
|
||||
new Type[]{ typeof( FireGargoyle ), typeof( StoneGargoyle ) }, // Level 3
|
||||
new Type[]{ typeof( Daemon ), typeof( Succubus ) } // Level 4
|
||||
new[]{ typeof( GreaterMongbat ), typeof( Imp ) }, // Level 1
|
||||
new[]{ typeof( Gargoyle ), typeof( Harpy ) }, // Level 2
|
||||
new[]{ typeof( FireGargoyle ), typeof( StoneGargoyle ) }, // Level 3
|
||||
new[]{ typeof( Daemon ), typeof( Succubus ) } // Level 4
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Arachnid", typeof( Mephitis ), new string[]{ "Bane", "Killer", "Vanquisher" }, new Type[][] // Arachnid
|
||||
new ChampionSpawnInfo( "Arachnid", typeof( Mephitis ), new[]{ "Bane", "Killer", "Vanquisher" }, new[] // Arachnid
|
||||
{ // Arachnid
|
||||
new Type[]{ typeof( Scorpion ), typeof( GiantSpider ) }, // Level 1
|
||||
new Type[]{ typeof( TerathanDrone ), typeof( TerathanWarrior ) }, // Level 2
|
||||
new Type[]{ typeof( DreadSpider ), typeof( TerathanMatriarch ) }, // Level 3
|
||||
new Type[]{ typeof( PoisonElemental ), typeof( TerathanAvenger ) } // Level 4
|
||||
new[]{ typeof( Scorpion ), typeof( GiantSpider ) }, // Level 1
|
||||
new[]{ typeof( TerathanDrone ), typeof( TerathanWarrior ) }, // Level 2
|
||||
new[]{ typeof( DreadSpider ), typeof( TerathanMatriarch ) }, // Level 3
|
||||
new[]{ typeof( PoisonElemental ), typeof( TerathanAvenger ) } // Level 4
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Cold Blood", typeof( Rikktor ), new string[]{ "Blight", "Slayer", "Destroyer" }, new Type[][] // Cold Blood
|
||||
new ChampionSpawnInfo( "Cold Blood", typeof( Rikktor ), new[]{ "Blight", "Slayer", "Destroyer" }, new[] // Cold Blood
|
||||
{ // Cold Blood
|
||||
new Type[]{ typeof( Lizardman ), typeof( Snake ) }, // Level 1
|
||||
new Type[]{ typeof( LavaLizard ), typeof( OphidianWarrior ) }, // Level 2
|
||||
new Type[]{ typeof( Drake ), typeof( OphidianArchmage ) }, // Level 3
|
||||
new Type[]{ typeof( Dragon ), typeof( OphidianKnight ) } // Level 4
|
||||
new[]{ typeof( Lizardman ), typeof( Snake ) }, // Level 1
|
||||
new[]{ typeof( LavaLizard ), typeof( OphidianWarrior ) }, // Level 2
|
||||
new[]{ typeof( Drake ), typeof( OphidianArchmage ) }, // Level 3
|
||||
new[]{ typeof( Dragon ), typeof( OphidianKnight ) } // Level 4
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Forest Lord", typeof( LordOaks ), new string[]{ "Enemy", "Curse", "Slaughterer" }, new Type[][] // Forest Lord
|
||||
new ChampionSpawnInfo( "Forest Lord", typeof( LordOaks ), new[]{ "Enemy", "Curse", "Slaughterer" }, new[] // Forest Lord
|
||||
{ // Forest Lord
|
||||
new Type[]{ typeof( Pixie ), typeof( ShadowWisp ) }, // Level 1
|
||||
new Type[]{ typeof( Kirin ), typeof( Wisp ) }, // Level 2
|
||||
new Type[]{ typeof( Centaur ), typeof( Unicorn ) }, // Level 3
|
||||
new Type[]{ typeof( EtherealWarrior ), typeof( SerpentineDragon ) } // Level 4
|
||||
new[]{ typeof( Pixie ), typeof( ShadowWisp ) }, // Level 1
|
||||
new[]{ typeof( Kirin ), typeof( Wisp ) }, // Level 2
|
||||
new[]{ typeof( Centaur ), typeof( Unicorn ) }, // Level 3
|
||||
new[]{ typeof( EtherealWarrior ), typeof( SerpentineDragon ) } // Level 4
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Vermin Horde", typeof( Barracoon ), new string[]{ "Adversary", "Subjugator", "Eradicator" }, new Type[][] // Vermin Horde
|
||||
new ChampionSpawnInfo( "Vermin Horde", typeof( Barracoon ), new[]{ "Adversary", "Subjugator", "Eradicator" }, new[] // Vermin Horde
|
||||
{ // Vermin Horde
|
||||
new Type[]{ typeof( GiantRat ), typeof( Slime ) }, // Level 1
|
||||
new Type[]{ typeof( DireWolf ), typeof( Ratman ) }, // Level 2
|
||||
new Type[]{ typeof( HellHound ), typeof( RatmanMage ) }, // Level 3
|
||||
new Type[]{ typeof( RatmanArcher ), typeof( SilverSerpent ) } // Level 4
|
||||
new[]{ typeof( GiantRat ), typeof( Slime ) }, // Level 1
|
||||
new[]{ typeof( DireWolf ), typeof( Ratman ) }, // Level 2
|
||||
new[]{ typeof( HellHound ), typeof( RatmanMage ) }, // Level 3
|
||||
new[]{ typeof( RatmanArcher ), typeof( SilverSerpent ) } // Level 4
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Unholy Terror", typeof( Neira ), new string[]{ "Scourge", "Punisher", "Nemesis" }, new Type[][] // Unholy Terror
|
||||
new ChampionSpawnInfo( "Unholy Terror", typeof( Neira ), new[]{ "Scourge", "Punisher", "Nemesis" }, new[] // Unholy Terror
|
||||
{ // Unholy Terror
|
||||
(Core.AOS ?
|
||||
new Type[]{ typeof( Bogle ), typeof( Ghoul ), typeof( Shade ), typeof( Spectre ), typeof( Wraith ) } // Level 1 (Pre-AoS)
|
||||
: new Type[]{ typeof( Ghoul ), typeof( Shade ), typeof( Spectre ), typeof( Wraith ) } ), // Level 1
|
||||
new[]{ typeof( Bogle ), typeof( Ghoul ), typeof( Shade ), typeof( Spectre ), typeof( Wraith ) } // Level 1 (Pre-AoS)
|
||||
: new[]{ typeof( Ghoul ), typeof( Shade ), typeof( Spectre ), typeof( Wraith ) } ), // Level 1
|
||||
|
||||
new Type[]{ typeof( BoneMagi ), typeof( Mummy ), typeof( SkeletalMage ) }, // Level 2
|
||||
new Type[]{ typeof( BoneKnight ), typeof( Lich ), typeof( SkeletalKnight ) }, // Level 3
|
||||
new Type[]{ typeof( LichLord ), typeof( RottingCorpse ) } // Level 4
|
||||
new[]{ typeof( BoneMagi ), typeof( Mummy ), typeof( SkeletalMage ) }, // Level 2
|
||||
new[]{ typeof( BoneKnight ), typeof( Lich ), typeof( SkeletalKnight ) }, // Level 3
|
||||
new[]{ typeof( LichLord ), typeof( RottingCorpse ) } // Level 4
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Sleeping Dragon", typeof( Serado ), new string[]{ "Rival", "Challenger", "Antagonist" } , new Type[][]
|
||||
new ChampionSpawnInfo( "Sleeping Dragon", typeof( Serado ), new[]{ "Rival", "Challenger", "Antagonist" } , new[]
|
||||
{ // Unholy Terror
|
||||
new Type[]{ typeof( DeathwatchBeetleHatchling ), typeof( Lizardman ) },
|
||||
new Type[]{ typeof( DeathwatchBeetle ), typeof( Kappa ) },
|
||||
new Type[]{ typeof( LesserHiryu ), typeof( RevenantLion ) },
|
||||
new Type[]{ typeof( Hiryu ), typeof( Oni ) }
|
||||
new[]{ typeof( DeathwatchBeetleHatchling ), typeof( Lizardman ) },
|
||||
new[]{ typeof( DeathwatchBeetle ), typeof( Kappa ) },
|
||||
new[]{ typeof( LesserHiryu ), typeof( RevenantLion ) },
|
||||
new[]{ typeof( Hiryu ), typeof( Oni ) }
|
||||
} ),
|
||||
new ChampionSpawnInfo( "Glade", typeof( Twaulo ), new string[]{ "Banisher", "Enforcer", "Eradicator" } , new Type[][]
|
||||
new ChampionSpawnInfo( "Glade", typeof( Twaulo ), new[]{ "Banisher", "Enforcer", "Eradicator" } , new[]
|
||||
{ // Glade
|
||||
new Type[]{ typeof( Pixie ), typeof( ShadowWisp ) },
|
||||
new Type[]{ typeof( Centaur ), typeof( MLDryad ) },
|
||||
new Type[]{ typeof( Satyr ), typeof( CuSidhe ) },
|
||||
new Type[]{ typeof( FeralTreefellow ), typeof( RagingGrizzlyBear ) }
|
||||
new[]{ typeof( Pixie ), typeof( ShadowWisp ) },
|
||||
new[]{ typeof( Centaur ), typeof( MLDryad ) },
|
||||
new[]{ typeof( Satyr ), typeof( CuSidhe ) },
|
||||
new[]{ typeof( FeralTreefellow ), typeof( RagingGrizzlyBear ) }
|
||||
} ),
|
||||
new ChampionSpawnInfo( "The Corrupt", typeof( Ilhenir ), new string[]{ "Cleanser", "Expunger", "Depurator" } , new Type[][]
|
||||
new ChampionSpawnInfo( "The Corrupt", typeof( Ilhenir ), new[]{ "Cleanser", "Expunger", "Depurator" } , new[]
|
||||
{ // Unholy Terror
|
||||
new Type[]{ typeof( PlagueSpawn ), typeof( Bogling ) },
|
||||
new Type[]{ typeof( PlagueBeast ), typeof( BogThing ) },
|
||||
new Type[]{ typeof( PlagueBeastLord ), typeof( InterredGrizzle ) },
|
||||
new Type[]{ typeof( FetidEssence ), typeof( PestilentBandage ) }
|
||||
new[]{ typeof( PlagueSpawn ), typeof( Bogling ) },
|
||||
new[]{ typeof( PlagueBeast ), typeof( BogThing ) },
|
||||
new[]{ typeof( PlagueBeastLord ), typeof( InterredGrizzle ) },
|
||||
new[]{ typeof( FetidEssence ), typeof( PestilentBandage ) }
|
||||
} )
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
|
||||
#region Offsets & Rotation
|
||||
private static Point2D[] m_EdgeOffsets = new Point2D[]
|
||||
private static Point2D[] m_EdgeOffsets = new[]
|
||||
{
|
||||
/*
|
||||
* /\
|
||||
|
|
@ -423,7 +423,7 @@ namespace Server.Engines.ConPVP
|
|||
};
|
||||
|
||||
// nw corner
|
||||
private static Point2D[] m_CornerOffsets = new Point2D[]
|
||||
private static Point2D[] m_CornerOffsets = new[]
|
||||
{
|
||||
/*
|
||||
* /\
|
||||
|
|
@ -444,16 +444,16 @@ namespace Server.Engines.ConPVP
|
|||
new Point2D( 3, 0 )
|
||||
};
|
||||
|
||||
private static int[][,] m_Rotate = new int[][,]
|
||||
{
|
||||
new int[,]{ { +1, 0 }, { 0, +1 } }, // west
|
||||
new int[,]{ { -1, 0 }, { 0, -1 } }, // east
|
||||
new int[,]{ { 0, +1 }, { +1, 0 } }, // north
|
||||
new int[,]{ { 0, -1 }, { -1, 0 } }, // south
|
||||
new int[,]{ { +1, 0 }, { 0, +1 } }, // nw
|
||||
new int[,]{ { -1, 0 }, { 0, -1 } }, // se
|
||||
new int[,]{ { 0, +1 }, { +1, 0 } }, // sw
|
||||
new int[,]{ { 0, -1 }, { -1, 0 } }, // ne
|
||||
private static int[][,] m_Rotate = new[]
|
||||
{
|
||||
new[,]{ { +1, 0 }, { 0, +1 } }, // west
|
||||
new[,]{ { -1, 0 }, { 0, -1 } }, // east
|
||||
new[,]{ { 0, +1 }, { +1, 0 } }, // north
|
||||
new[,]{ { 0, -1 }, { -1, 0 } }, // south
|
||||
new[,]{ { +1, 0 }, { 0, +1 } }, // nw
|
||||
new[,]{ { -1, 0 }, { 0, -1 } }, // se
|
||||
new[,]{ { 0, +1 }, { +1, 0 } }, // sw
|
||||
new[,]{ { 0, -1 }, { -1, 0 } }, // ne
|
||||
};
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -743,7 +743,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
StopSDTimers();
|
||||
|
||||
Type[] types = new Type[]{ typeof( BeginGump ), typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( PickRulesetGump ), typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( RulesetGump ) };
|
||||
Type[] types = new[]{ typeof( BeginGump ), typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( PickRulesetGump ), typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( RulesetGump ) };
|
||||
|
||||
for ( int i = 0; i < m_Participants.Count; ++i )
|
||||
{
|
||||
|
|
@ -1528,8 +1528,8 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
public void CloseAllGumps()
|
||||
{
|
||||
Type[] types = new Type[]{ typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( RulesetGump ) };
|
||||
int[] defs = new int[]{ -1, -1, -1 };
|
||||
Type[] types = new[]{ typeof( DuelContextGump ), typeof( ParticipantGump ), typeof( RulesetGump ) };
|
||||
int[] defs = new[]{ -1, -1, -1 };
|
||||
|
||||
for ( int i = 0; i < m_Participants.Count; ++i )
|
||||
{
|
||||
|
|
@ -1556,8 +1556,8 @@ namespace Server.Engines.ConPVP
|
|||
if ( m_StartedReadyCountdown )
|
||||
return; // sanity
|
||||
|
||||
Type[] types = new Type[]{ typeof( DuelContextGump ), typeof( ReadyUpGump ), typeof( ReadyGump ) };
|
||||
int[] defs = new int[]{ -1, -1, -1 };
|
||||
Type[] types = new[]{ typeof( DuelContextGump ), typeof( ReadyUpGump ), typeof( ReadyGump ) };
|
||||
int[] defs = new[]{ -1, -1, -1 };
|
||||
|
||||
for ( int i = 0; i < m_Participants.Count; ++i )
|
||||
{
|
||||
|
|
@ -1962,7 +1962,7 @@ namespace Server.Engines.ConPVP
|
|||
BeginAutoTie();
|
||||
}
|
||||
|
||||
Type[] types = new Type[]{ typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( BeginGump ) };
|
||||
Type[] types = new[]{ typeof( ReadyGump ), typeof( ReadyUpGump ), typeof( BeginGump ) };
|
||||
|
||||
for ( int i = 0; i < m_Participants.Count; ++i )
|
||||
{
|
||||
|
|
@ -2284,7 +2284,7 @@ namespace Server.Engines.ConPVP
|
|||
m_ReadyWait = true;
|
||||
m_ReadyCount = -1;
|
||||
|
||||
Type[] types = new Type[]{ typeof( ReadyUpGump ) };
|
||||
Type[] types = new[]{ typeof( ReadyUpGump ) };
|
||||
|
||||
for ( int i = 0; i < m_Participants.Count; ++i )
|
||||
{
|
||||
|
|
@ -2520,7 +2520,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
bool isAllReady = true;
|
||||
|
||||
Type[] types = new Type[]{ typeof( ReadyGump ) };
|
||||
Type[] types = new[]{ typeof( ReadyGump ) };
|
||||
|
||||
for ( int i = 0; i < m_Participants.Count; ++i )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
public class Ladder
|
||||
{
|
||||
private static int[] m_ShortLevels = new int[]
|
||||
private static int[] m_ShortLevels = new[]
|
||||
{
|
||||
1,
|
||||
2,
|
||||
|
|
@ -97,7 +97,7 @@ namespace Server.Engines.ConPVP
|
|||
return m_ShortLevels[xp / 100];
|
||||
}
|
||||
|
||||
private static int[] m_BaseXP = new int[]
|
||||
private static int[] m_BaseXP = new[]
|
||||
{
|
||||
0, 100, 200, 400, 600, 900, 1200, 1600, 2000, 2500
|
||||
};
|
||||
|
|
@ -116,7 +116,7 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
}
|
||||
|
||||
private static int[] m_LossFactors = new int[]
|
||||
private static int[] m_LossFactors = new[]
|
||||
{
|
||||
10,
|
||||
11, 11,
|
||||
|
|
@ -133,7 +133,7 @@ namespace Server.Engines.ConPVP
|
|||
return m_LossFactors[level - 1];
|
||||
}
|
||||
|
||||
private static int[,] m_OffsetScalar = new int[,]
|
||||
private static int[,] m_OffsetScalar = new[,]
|
||||
{
|
||||
/* { win, los } */
|
||||
/* -6 */ { 175, 25 },
|
||||
|
|
|
|||
|
|
@ -15,58 +15,58 @@ namespace Server.Engines.ConPVP
|
|||
{
|
||||
ArrayList entries = new ArrayList();
|
||||
|
||||
entries.Add( new RulesetLayout( "Spells", new RulesetLayout[]
|
||||
entries.Add( new RulesetLayout( "Spells", new[]
|
||||
{
|
||||
new RulesetLayout( "1st Circle", "Spells", new string[]
|
||||
new RulesetLayout( "1st Circle", "Spells", new[]
|
||||
{
|
||||
"Reactive Armor", "Clumsy",
|
||||
"Create Food", "Feeblemind",
|
||||
"Heal", "Magic Arrow",
|
||||
"Night Sight", "Weaken"
|
||||
} ),
|
||||
new RulesetLayout( "2nd Circle", "Spells", new string[]
|
||||
new RulesetLayout( "2nd Circle", "Spells", new[]
|
||||
{
|
||||
"Agility", "Cunning",
|
||||
"Cure", "Harm",
|
||||
"Magic Trap", "Untrap",
|
||||
"Protection", "Strength"
|
||||
} ),
|
||||
new RulesetLayout( "3rd Circle", "Spells", new string[]
|
||||
new RulesetLayout( "3rd Circle", "Spells", new[]
|
||||
{
|
||||
"Bless", "Fireball",
|
||||
"Magic Lock", "Poison",
|
||||
"Telekinesis", "Teleport",
|
||||
"Unlock Spell", "Wall of Stone"
|
||||
} ),
|
||||
new RulesetLayout( "4th Circle", "Spells", new string[]
|
||||
new RulesetLayout( "4th Circle", "Spells", new[]
|
||||
{
|
||||
"Arch Cure", "Arch Protection",
|
||||
"Curse", "Fire Field",
|
||||
"Greater Heal", "Lightning",
|
||||
"Mana Drain", "Recall"
|
||||
} ),
|
||||
new RulesetLayout( "5th Circle", "Spells", new string[]
|
||||
new RulesetLayout( "5th Circle", "Spells", new[]
|
||||
{
|
||||
"Blade Spirits", "Dispel Field",
|
||||
"Incognito", "Magic Reflection",
|
||||
"Mind Blast", "Paralyze",
|
||||
"Poison Field", "Summon Creature"
|
||||
} ),
|
||||
new RulesetLayout( "6th Circle", "Spells", new string[]
|
||||
new RulesetLayout( "6th Circle", "Spells", new[]
|
||||
{
|
||||
"Dispel", "Energy Bolt",
|
||||
"Explosion", "Invisibility",
|
||||
"Mark", "Mass Curse",
|
||||
"Paralyze Field", "Reveal"
|
||||
} ),
|
||||
new RulesetLayout( "7th Circle", "Spells", new string[]
|
||||
new RulesetLayout( "7th Circle", "Spells", new[]
|
||||
{
|
||||
"Chain Lightning", "Energy Field",
|
||||
"Flame Strike", "Gate Travel",
|
||||
"Mana Vampire", "Mass Dispel",
|
||||
"Meteor Swarm", "Polymorph"
|
||||
} ),
|
||||
new RulesetLayout( "8th Circle", "Spells", new string[]
|
||||
new RulesetLayout( "8th Circle", "Spells", new[]
|
||||
{
|
||||
"Earthquake", "Energy Vortex",
|
||||
"Resurrection", "Air Elemental",
|
||||
|
|
@ -77,7 +77,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
if ( Core.AOS )
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Chivalry", new string[]
|
||||
entries.Add( new RulesetLayout( "Chivalry", new[]
|
||||
{
|
||||
"Cleanse by Fire",
|
||||
"Close Wounds",
|
||||
|
|
@ -91,7 +91,7 @@ namespace Server.Engines.ConPVP
|
|||
"Sacred Journey"
|
||||
} ) );
|
||||
|
||||
entries.Add( new RulesetLayout( "Necromancy", new string[]
|
||||
entries.Add( new RulesetLayout( "Necromancy", new[]
|
||||
{
|
||||
"Animate Dead",
|
||||
"Blood Oath",
|
||||
|
|
@ -113,7 +113,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
if ( Core.SE )
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Bushido", new string[]
|
||||
entries.Add( new RulesetLayout( "Bushido", new[]
|
||||
{
|
||||
"Confidence",
|
||||
"Counter Attack",
|
||||
|
|
@ -123,7 +123,7 @@ namespace Server.Engines.ConPVP
|
|||
"Momentum Strike"
|
||||
} ) );
|
||||
|
||||
entries.Add( new RulesetLayout( "Ninjitsu", new string[]
|
||||
entries.Add( new RulesetLayout( "Ninjitsu", new[]
|
||||
{
|
||||
"Animal Form",
|
||||
"Backstab",
|
||||
|
|
@ -137,7 +137,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
if ( Core.ML )
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Spellweaving", new string[]
|
||||
entries.Add( new RulesetLayout( "Spellweaving", new[]
|
||||
{
|
||||
"Arcane Circle",
|
||||
"Arcane Empowerment",
|
||||
|
|
@ -164,7 +164,7 @@ namespace Server.Engines.ConPVP
|
|||
{
|
||||
if ( Core.SE )
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Combat Abilities", new string[]
|
||||
entries.Add( new RulesetLayout( "Combat Abilities", new[]
|
||||
{
|
||||
"Stun",
|
||||
"Disarm",
|
||||
|
|
@ -197,7 +197,7 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
else
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Combat Abilities", new string[]
|
||||
entries.Add( new RulesetLayout( "Combat Abilities", new[]
|
||||
{
|
||||
"Stun",
|
||||
"Disarm",
|
||||
|
|
@ -219,7 +219,7 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
else
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Combat Abilities", new string[]
|
||||
entries.Add( new RulesetLayout( "Combat Abilities", new[]
|
||||
{
|
||||
"Stun",
|
||||
"Disarm",
|
||||
|
|
@ -229,7 +229,7 @@ namespace Server.Engines.ConPVP
|
|||
} ) );
|
||||
}
|
||||
|
||||
entries.Add( new RulesetLayout( "Skills", new string[]
|
||||
entries.Add( new RulesetLayout( "Skills", new[]
|
||||
{
|
||||
"Anatomy",
|
||||
"Detect Hidden",
|
||||
|
|
@ -244,7 +244,7 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
if ( Core.AOS )
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Weapons", new string[]
|
||||
entries.Add( new RulesetLayout( "Weapons", new[]
|
||||
{
|
||||
"Magical",
|
||||
"Melee",
|
||||
|
|
@ -253,7 +253,7 @@ namespace Server.Engines.ConPVP
|
|||
"Wrestling"
|
||||
} ) );
|
||||
|
||||
entries.Add( new RulesetLayout( "Armor", new string[]
|
||||
entries.Add( new RulesetLayout( "Armor", new[]
|
||||
{
|
||||
"Magical",
|
||||
"Shields"
|
||||
|
|
@ -261,7 +261,7 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
else
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Weapons", new string[]
|
||||
entries.Add( new RulesetLayout( "Weapons", new[]
|
||||
{
|
||||
"Magical",
|
||||
"Melee",
|
||||
|
|
@ -271,7 +271,7 @@ namespace Server.Engines.ConPVP
|
|||
"Runics"
|
||||
} ) );
|
||||
|
||||
entries.Add( new RulesetLayout( "Armor", new string[]
|
||||
entries.Add( new RulesetLayout( "Armor", new[]
|
||||
{
|
||||
"Magical",
|
||||
"Shields",
|
||||
|
|
@ -281,9 +281,9 @@ namespace Server.Engines.ConPVP
|
|||
|
||||
if ( Core.SE )
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Items", new RulesetLayout[]
|
||||
entries.Add( new RulesetLayout( "Items", new[]
|
||||
{
|
||||
new RulesetLayout( "Potions", new string[]
|
||||
new RulesetLayout( "Potions", new[]
|
||||
{
|
||||
"Agility",
|
||||
"Cure",
|
||||
|
|
@ -295,7 +295,7 @@ namespace Server.Engines.ConPVP
|
|||
"Strength"
|
||||
} )
|
||||
},
|
||||
new string[]
|
||||
new[]
|
||||
{
|
||||
"Bandages",
|
||||
"Wands",
|
||||
|
|
@ -310,9 +310,9 @@ namespace Server.Engines.ConPVP
|
|||
}
|
||||
else
|
||||
{
|
||||
entries.Add( new RulesetLayout( "Items", new RulesetLayout[]
|
||||
entries.Add( new RulesetLayout( "Items", new[]
|
||||
{
|
||||
new RulesetLayout( "Potions", new string[]
|
||||
new RulesetLayout( "Potions", new[]
|
||||
{
|
||||
"Agility",
|
||||
"Cure",
|
||||
|
|
@ -324,7 +324,7 @@ namespace Server.Engines.ConPVP
|
|||
"Strength"
|
||||
} )
|
||||
},
|
||||
new string[]
|
||||
new[]
|
||||
{
|
||||
"Bandages",
|
||||
"Wands",
|
||||
|
|
@ -497,7 +497,7 @@ namespace Server.Engines.ConPVP
|
|||
s7x.SetOption( "Items", "Trapped Containers", true );
|
||||
#endregion
|
||||
|
||||
m_Root.Defaults = new Ruleset[] { m5x, m7x, s7x };
|
||||
m_Root.Defaults = new[] { m5x, m7x, s7x };
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -586,7 +586,7 @@ namespace Server.Engines.ConPVP
|
|||
all.SetOption( "Items", "Bandages", true );
|
||||
all.SetOption( "Items", "Trapped Containers", true );
|
||||
|
||||
m_Root.Defaults = new Ruleset[] { all };
|
||||
m_Root.Defaults = new[] { all };
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
|
@ -642,7 +642,7 @@ namespace Server.Engines.ConPVP
|
|||
summons.SetOption( "Spellweaving", "Summon Fiend", true );
|
||||
summons.SetOption( "Spellweaving", "Nature's Fury", true );
|
||||
|
||||
m_Root.Flavors = new Ruleset[]{ pots, para, fields, area, summons };
|
||||
m_Root.Flavors = new[]{ pots, para, fields, area, summons };
|
||||
}
|
||||
|
||||
return m_Root;
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ namespace Server.Engines.Craft
|
|||
}
|
||||
|
||||
#region Tables
|
||||
private static int[] m_HeatSources = new int[]
|
||||
private static int[] m_HeatSources = new[]
|
||||
{
|
||||
0x461, 0x48E, // Sandstone oven/fireplace
|
||||
0x92B, 0x96C, // Stone oven/fireplace
|
||||
|
|
@ -300,46 +300,46 @@ namespace Server.Engines.Craft
|
|||
0x2DD8, 0x2DD8 // Elven Forge
|
||||
};
|
||||
|
||||
private static int[] m_Ovens = new int[]
|
||||
private static int[] m_Ovens = new[]
|
||||
{
|
||||
0x461, 0x46F, // Sandstone oven
|
||||
0x92B, 0x93F, // Stone oven
|
||||
0x2DDB, 0x2DDC //Elven stove
|
||||
};
|
||||
|
||||
private static int[] m_Mills = new int[]
|
||||
private static int[] m_Mills = new[]
|
||||
{
|
||||
0x1920, 0x1921, 0x1922, 0x1923, 0x1924, 0x1295, 0x1926, 0x1928,
|
||||
0x192C, 0x192D, 0x192E, 0x129F, 0x1930, 0x1931, 0x1932, 0x1934
|
||||
};
|
||||
|
||||
private static Type[][] m_TypesTable = new Type[][]
|
||||
{
|
||||
new Type[]{ typeof( Log ), typeof( Board ) },
|
||||
new Type[]{ typeof( HeartwoodLog ), typeof( HeartwoodBoard ) },
|
||||
new Type[]{ typeof( BloodwoodLog ), typeof( BloodwoodBoard ) },
|
||||
new Type[]{ typeof( FrostwoodLog ), typeof( FrostwoodBoard ) },
|
||||
new Type[]{ typeof( OakLog ), typeof( OakBoard ) },
|
||||
new Type[]{ typeof( AshLog ), typeof( AshBoard ) },
|
||||
new Type[]{ typeof( YewLog ), typeof( YewBoard ) },
|
||||
new Type[]{ typeof( Leather ), typeof( Hides ) },
|
||||
new Type[]{ typeof( SpinedLeather ), typeof( SpinedHides ) },
|
||||
new Type[]{ typeof( HornedLeather ), typeof( HornedHides ) },
|
||||
new Type[]{ typeof( BarbedLeather ), typeof( BarbedHides ) },
|
||||
new Type[]{ typeof( BlankMap ), typeof( BlankScroll ) },
|
||||
new Type[]{ typeof( Cloth ), typeof( UncutCloth ) },
|
||||
new Type[]{ typeof( CheeseWheel ), typeof( CheeseWedge ) },
|
||||
new Type[]{ typeof( Pumpkin ), typeof( SmallPumpkin ) },
|
||||
new Type[]{ typeof( WoodenBowlOfPeas ), typeof( PewterBowlOfPeas ) }
|
||||
private static Type[][] m_TypesTable = new[]
|
||||
{
|
||||
new[]{ typeof( Log ), typeof( Board ) },
|
||||
new[]{ typeof( HeartwoodLog ), typeof( HeartwoodBoard ) },
|
||||
new[]{ typeof( BloodwoodLog ), typeof( BloodwoodBoard ) },
|
||||
new[]{ typeof( FrostwoodLog ), typeof( FrostwoodBoard ) },
|
||||
new[]{ typeof( OakLog ), typeof( OakBoard ) },
|
||||
new[]{ typeof( AshLog ), typeof( AshBoard ) },
|
||||
new[]{ typeof( YewLog ), typeof( YewBoard ) },
|
||||
new[]{ typeof( Leather ), typeof( Hides ) },
|
||||
new[]{ typeof( SpinedLeather ), typeof( SpinedHides ) },
|
||||
new[]{ typeof( HornedLeather ), typeof( HornedHides ) },
|
||||
new[]{ typeof( BarbedLeather ), typeof( BarbedHides ) },
|
||||
new[]{ typeof( BlankMap ), typeof( BlankScroll ) },
|
||||
new[]{ typeof( Cloth ), typeof( UncutCloth ) },
|
||||
new[]{ typeof( CheeseWheel ), typeof( CheeseWedge ) },
|
||||
new[]{ typeof( Pumpkin ), typeof( SmallPumpkin ) },
|
||||
new[]{ typeof( WoodenBowlOfPeas ), typeof( PewterBowlOfPeas ) }
|
||||
};
|
||||
|
||||
private static Type[] m_ColoredItemTable = new Type[]
|
||||
private static Type[] m_ColoredItemTable = new[]
|
||||
{
|
||||
typeof( BaseWeapon ), typeof( BaseArmor ), typeof( BaseClothing ),
|
||||
typeof( BaseJewel ), typeof( DragonBardingDeed )
|
||||
};
|
||||
|
||||
private static Type[] m_ColoredResourceTable = new Type[]
|
||||
private static Type[] m_ColoredResourceTable = new[]
|
||||
{
|
||||
typeof( BaseIngot ), typeof( BaseOre ),
|
||||
typeof( BaseLeather ), typeof( BaseHides ),
|
||||
|
|
@ -347,7 +347,7 @@ namespace Server.Engines.Craft
|
|||
typeof( BaseGranite ), typeof( BaseScales )
|
||||
};
|
||||
|
||||
private static Type[] m_MarkableTable = new Type[]
|
||||
private static Type[] m_MarkableTable = new[]
|
||||
{
|
||||
typeof( BaseArmor ),
|
||||
typeof( BaseWeapon ),
|
||||
|
|
@ -361,7 +361,7 @@ namespace Server.Engines.Craft
|
|||
typeof( BaseQuiver )
|
||||
};
|
||||
|
||||
private static Type[] m_NeverColorTable = new Type[]
|
||||
private static Type[] m_NeverColorTable = new[]
|
||||
{
|
||||
typeof( OrcHelm )
|
||||
};
|
||||
|
|
@ -652,7 +652,7 @@ namespace Server.Engines.Craft
|
|||
}
|
||||
|
||||
if ( types[i] == null )
|
||||
types[i] = new Type[]{ baseType };
|
||||
types[i] = new[]{ baseType };
|
||||
|
||||
amounts[i] = craftRes.Amount;
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ namespace Server.Engines.Craft
|
|||
SpidersSilk
|
||||
}
|
||||
|
||||
private Type[] m_RegTypes = new Type[]
|
||||
private Type[] m_RegTypes = new[]
|
||||
{
|
||||
typeof( BlackPearl ),
|
||||
typeof( Bloodmoss ),
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace Server.Engines.Craft
|
|||
return 0;
|
||||
}
|
||||
|
||||
private static Type[] m_TailorColorables = new Type[]
|
||||
private static Type[] m_TailorColorables = new[]
|
||||
{
|
||||
typeof( GozaMatEastDeed ), typeof( GozaMatSouthDeed ),
|
||||
typeof( SquareGozaMatEastDeed ), typeof( SquareGozaMatSouthDeed ),
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace Server.Engines.Craft
|
|||
return 0;
|
||||
}
|
||||
|
||||
private static Type[] m_TinkerColorables = new Type[]
|
||||
private static Type[] m_TinkerColorables = new[]
|
||||
{
|
||||
typeof( ForkLeft ), typeof( ForkRight ),
|
||||
typeof( SpoonLeft ), typeof( SpoonRight ),
|
||||
|
|
|
|||
|
|
@ -613,34 +613,34 @@ namespace Server.Engines.Doom
|
|||
|
||||
public static int[][] MsgParams =
|
||||
{
|
||||
new int[]{ 0x66d, 3 },
|
||||
new int[]{ 0x66d, 3 },
|
||||
new int[]{ 0x34, 3 }
|
||||
new[]{ 0x66d, 3 },
|
||||
new[]{ 0x66d, 3 },
|
||||
new[]{ 0x34, 3 }
|
||||
};
|
||||
/* World data for items */
|
||||
|
||||
public static int[][] TA =
|
||||
{
|
||||
|
||||
new int[]{316, 64, 5}, /* 3D Coords for levers */
|
||||
new int[]{323, 58, 5},
|
||||
new int[]{332, 63, 5},
|
||||
new int[]{323, 71, 5},
|
||||
new[]{316, 64, 5}, /* 3D Coords for levers */
|
||||
new[]{323, 58, 5},
|
||||
new[]{332, 63, 5},
|
||||
new[]{323, 71, 5},
|
||||
|
||||
new int[]{324, 64}, /* 2D Coords for standing regions */
|
||||
new int[]{316, 65},
|
||||
new int[]{324, 58},
|
||||
new int[]{332, 64},
|
||||
new int[]{323, 72},
|
||||
new[]{324, 64}, /* 2D Coords for standing regions */
|
||||
new[]{316, 65},
|
||||
new[]{324, 58},
|
||||
new[]{332, 64},
|
||||
new[]{323, 72},
|
||||
|
||||
new int[]{468, 92, -1}, new int[]{0x181D, 0x482}, /* 3D coord, itemid+hue for L.R. teles */
|
||||
new int[]{469, 92, -1}, new int[]{0x1821, 0x3fd},
|
||||
new int[]{470, 92, -1}, new int[]{0x1825, 0x66d},
|
||||
new[]{468, 92, -1}, new[]{0x181D, 0x482}, /* 3D coord, itemid+hue for L.R. teles */
|
||||
new[]{469, 92, -1}, new[]{0x1821, 0x3fd},
|
||||
new[]{470, 92, -1}, new[]{0x1825, 0x66d},
|
||||
|
||||
new int[]{319, 70, 18}, new int[]{0x12d8}, /* 3D coord, itemid for statues */
|
||||
new int[]{329, 60, 18}, new int[]{0x12d9},
|
||||
new[]{319, 70, 18}, new[]{0x12d8}, /* 3D coord, itemid for statues */
|
||||
new[]{329, 60, 18}, new[]{0x12d9},
|
||||
|
||||
new int[]{469, 96, 6} /* 3D Coords for Fake Box */
|
||||
new[]{469, 96, 6} /* 3D Coords for Fake Box */
|
||||
};
|
||||
|
||||
/* CLILOC data for statue "correct souls" messages */
|
||||
|
|
@ -664,12 +664,12 @@ namespace Server.Engines.Doom
|
|||
|
||||
public static int[][] PA =
|
||||
{
|
||||
new int[]{ 0, 0, 0xA6 },
|
||||
new int[]{ 1050001, 0x485, 0xAA },
|
||||
new int[]{ 1050003, 0x485, 0xAC },
|
||||
new int[]{ 1050056, 0x485, 0xA8 },
|
||||
new int[]{ 1050057, 0x485, 0xA4 },
|
||||
new int[]{ 1062091, 0x23F3, 0xAC }
|
||||
new[]{ 0, 0, 0xA6 },
|
||||
new[]{ 1050001, 0x485, 0xAA },
|
||||
new[]{ 1050003, 0x485, 0xAC },
|
||||
new[]{ 1050056, 0x485, 0xA8 },
|
||||
new[]{ 1050057, 0x485, 0xA4 },
|
||||
new[]{ 1062091, 0x23F3, 0xAC }
|
||||
};
|
||||
public static Poison[] PA2 =
|
||||
{
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ namespace Server.Ethics
|
|||
public static readonly Ethic Hero = new Hero.HeroEthic();
|
||||
public static readonly Ethic Evil = new Evil.EvilEthic();
|
||||
|
||||
public static readonly Ethic[] Ethics = new Ethic[]
|
||||
public static readonly Ethic[] Ethics = new[]
|
||||
{
|
||||
Hero,
|
||||
Evil
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ using Server.Commands.Generic;
|
|||
|
||||
namespace Server.Factions
|
||||
{
|
||||
[CustomEnum( new string[]{ "Minax", "Council of Mages", "True Britannians", "Shadowlords" } )]
|
||||
[CustomEnum( new[]{ "Minax", "Council of Mages", "True Britannians", "Shadowlords" } )]
|
||||
public abstract class Faction : IComparable
|
||||
{
|
||||
public int ZeroRankOffset;
|
||||
|
|
@ -1299,21 +1299,21 @@ namespace Server.Factions
|
|||
{
|
||||
case FactionKickType.Kick:
|
||||
{
|
||||
Commands = new string[]{ "FactionKick" };
|
||||
Commands = new[]{ "FactionKick" };
|
||||
Usage = "FactionKick";
|
||||
Description = "Kicks the targeted player out of his current faction. This does not prevent them from rejoining.";
|
||||
break;
|
||||
}
|
||||
case FactionKickType.Ban:
|
||||
{
|
||||
Commands = new string[]{ "FactionBan" };
|
||||
Commands = new[]{ "FactionBan" };
|
||||
Usage = "FactionBan";
|
||||
Description = "Bans the account of a targeted player from joining factions. All players on the account are removed from their current faction, if any.";
|
||||
break;
|
||||
}
|
||||
case FactionKickType.Unban:
|
||||
{
|
||||
Commands = new string[]{ "FactionUnban" };
|
||||
Commands = new[]{ "FactionUnban" };
|
||||
Usage = "FactionUnban";
|
||||
Description = "Unbans the account of a targeted player from joining factions.";
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace Server.Factions
|
|||
|
||||
public class MerchantTitles
|
||||
{
|
||||
private static MerchantTitleInfo[] m_Info = new MerchantTitleInfo[]
|
||||
private static MerchantTitleInfo[] m_Info = new[]
|
||||
{
|
||||
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" ) ),
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
|
||||
namespace Server.Factions
|
||||
{
|
||||
[CustomEnum( new string[]{ "Britain", "Magincia", "Minoc", "Moonglow", "Skara Brae", "Trinsic", "Vesper", "Yew" } )]
|
||||
[CustomEnum( new[]{ "Britain", "Magincia", "Minoc", "Moonglow", "Skara Brae", "Trinsic", "Vesper", "Yew" } )]
|
||||
public abstract class Town : IComparable
|
||||
{
|
||||
private TownDefinition m_Definition;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace Server.Factions
|
|||
m_Label = label;
|
||||
}
|
||||
|
||||
private static VendorDefinition[] m_Definitions = new VendorDefinition[]
|
||||
private static VendorDefinition[] m_Definitions = new[]
|
||||
{
|
||||
new VendorDefinition( typeof( FactionBottleVendor ), 0xF0E,
|
||||
5000,
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Factions
|
|||
private Faction m_Faction;
|
||||
private Town m_Town;
|
||||
|
||||
private static int[] m_PriceOffsets = new int[]
|
||||
private static int[] m_PriceOffsets = new[]
|
||||
{
|
||||
-30, -25, -20, -15, -10, -5,
|
||||
+50, +100, +150, +200, +250, +300
|
||||
|
|
|
|||
|
|
@ -38,14 +38,14 @@ namespace Server.Factions
|
|||
new TextDefinition( 1005189, "Members of the Council of Mages will now be beaten with a stick." ),
|
||||
// Moonglow
|
||||
new StrongholdDefinition(
|
||||
new Rectangle2D[]
|
||||
new[]
|
||||
{
|
||||
new Rectangle2D( 4463, 1487, 15, 35 ),
|
||||
new Rectangle2D( 4450, 1522, 35, 48 ),
|
||||
},
|
||||
new Point3D( 4469, 1486, 0 ),
|
||||
new Point3D( 4457, 1544, 0 ),
|
||||
new Point3D[]
|
||||
new[]
|
||||
{
|
||||
new Point3D( 4464, 1534, 21 ),
|
||||
new Point3D( 4470, 1536, 21 ),
|
||||
|
|
@ -78,7 +78,7 @@ namespace Server.Factions
|
|||
new Point3D( 3797, 2249, 20 ),
|
||||
new Point3D( 3797, 2246, 20 )
|
||||
} ), */
|
||||
new RankDefinition[]
|
||||
new[]
|
||||
{
|
||||
new RankDefinition( 10, 991, 8, new TextDefinition( 1060789, "Inquisitor of the Council" ) ),
|
||||
new RankDefinition( 9, 950, 7, new TextDefinition( 1060788, "Archon of Principle" ) ),
|
||||
|
|
@ -91,7 +91,7 @@ namespace Server.Factions
|
|||
new RankDefinition( 2, 200, 4, new TextDefinition( 1060785, "Mystic" ) ),
|
||||
new RankDefinition( 1, 0, 4, new TextDefinition( 1060785, "Mystic" ) )
|
||||
},
|
||||
new GuardDefinition[]
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition( typeof( FactionHenchman ), 0x1403, 5000, 1000, 10, new TextDefinition( 1011526, "HENCHMAN" ), new TextDefinition( 1011510, "Hire Henchman" ) ),
|
||||
new GuardDefinition( typeof( FactionMercenary ), 0x0F62, 6000, 2000, 10, new TextDefinition( 1011527, "MERCENARY" ), new TextDefinition( 1011511, "Hire Mercenary" ) ),
|
||||
|
|
|
|||
|
|
@ -38,13 +38,13 @@ namespace Server.Factions
|
|||
new TextDefinition( 1005191, "Followers of Minax will now be told to go away." ),
|
||||
new TextDefinition( 1005192, "Followers of Minax will now be hanged by their toes." ),
|
||||
new StrongholdDefinition(
|
||||
new Rectangle2D[]
|
||||
new[]
|
||||
{
|
||||
new Rectangle2D( 1097, 2570, 70, 50 )
|
||||
},
|
||||
new Point3D( 1172, 2593, 0 ),
|
||||
new Point3D( 1117, 2587, 18 ),
|
||||
new Point3D[]
|
||||
new[]
|
||||
{
|
||||
new Point3D( 1113, 2601, 18 ),
|
||||
new Point3D( 1113, 2598, 18 ),
|
||||
|
|
@ -55,7 +55,7 @@ namespace Server.Factions
|
|||
new Point3D( 1116, 2595, 18 ),
|
||||
new Point3D( 1116, 2592, 18 )
|
||||
} ),
|
||||
new RankDefinition[]
|
||||
new[]
|
||||
{
|
||||
new RankDefinition( 10, 991, 8, new TextDefinition( 1060784, "Avenger of Mondain" ) ),
|
||||
new RankDefinition( 9, 950, 7, new TextDefinition( 1060783, "Dread Knight" ) ),
|
||||
|
|
@ -68,7 +68,7 @@ namespace Server.Factions
|
|||
new RankDefinition( 2, 200, 4, new TextDefinition( 1060780, "Defiler" ) ),
|
||||
new RankDefinition( 1, 0, 4, new TextDefinition( 1060780, "Defiler" ) )
|
||||
},
|
||||
new GuardDefinition[]
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition( typeof( FactionHenchman ), 0x1403, 5000, 1000, 10, new TextDefinition( 1011526, "HENCHMAN" ), new TextDefinition( 1011510, "Hire Henchman" ) ),
|
||||
new GuardDefinition( typeof( FactionMercenary ), 0x0F62, 6000, 2000, 10, new TextDefinition( 1011527, "MERCENARY" ), new TextDefinition( 1011511, "Hire Mercenary" ) ),
|
||||
|
|
|
|||
|
|
@ -37,14 +37,14 @@ namespace Server.Factions
|
|||
new TextDefinition( 1005185, "Minions of the Shadowlords will now be warned of their impending deaths." ),
|
||||
new TextDefinition( 1005186, "Minions of the Shadowlords will now be attacked at will." ),
|
||||
new StrongholdDefinition(
|
||||
new Rectangle2D[]
|
||||
new[]
|
||||
{
|
||||
new Rectangle2D( 960, 688, 8, 9 ),
|
||||
new Rectangle2D( 944, 697, 24, 23 )
|
||||
},
|
||||
new Point3D( 969, 768, 0 ),
|
||||
new Point3D( 947, 713, 0 ),
|
||||
new Point3D[]
|
||||
new[]
|
||||
{
|
||||
new Point3D( 953, 713, 20 ),
|
||||
new Point3D( 953, 709, 20 ),
|
||||
|
|
@ -55,7 +55,7 @@ namespace Server.Factions
|
|||
new Point3D( 957, 705, 20 ),
|
||||
new Point3D( 957, 701, 20 )
|
||||
} ),
|
||||
new RankDefinition[]
|
||||
new[]
|
||||
{
|
||||
new RankDefinition( 10, 991, 8, new TextDefinition( 1060799, "Purveyor of Darkness" ) ),
|
||||
new RankDefinition( 9, 950, 7, new TextDefinition( 1060798, "Agent of Evil" ) ),
|
||||
|
|
@ -68,7 +68,7 @@ namespace Server.Factions
|
|||
new RankDefinition( 2, 200, 4, new TextDefinition( 1060795, "Servant" ) ),
|
||||
new RankDefinition( 1, 0, 4, new TextDefinition( 1060795, "Servant" ) )
|
||||
},
|
||||
new GuardDefinition[]
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition( typeof( FactionHenchman ), 0x1403, 5000, 1000, 10, new TextDefinition( 1011526, "HENCHMAN" ), new TextDefinition( 1011510, "Hire Henchman" ) ),
|
||||
new GuardDefinition( typeof( FactionMercenary ), 0x0F62, 6000, 2000, 10, new TextDefinition( 1011527, "MERCENARY" ), new TextDefinition( 1011511, "Hire Mercenary" ) ),
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace Server.Factions
|
|||
new TextDefinition( 1005182, "Followers of Lord British will now be warned of their impending doom." ),
|
||||
new TextDefinition( 1005183, "Followers of Lord British will now be attacked on sight." ),
|
||||
new StrongholdDefinition(
|
||||
new Rectangle2D[]
|
||||
new[]
|
||||
{
|
||||
new Rectangle2D( 1292, 1556, 25, 25 ),
|
||||
new Rectangle2D( 1292, 1676, 120, 25 ),
|
||||
|
|
@ -49,7 +49,7 @@ namespace Server.Factions
|
|||
},
|
||||
new Point3D( 1419, 1622, 20 ),
|
||||
new Point3D( 1330, 1621, 50 ),
|
||||
new Point3D[]
|
||||
new[]
|
||||
{
|
||||
new Point3D( 1328, 1627, 50 ),
|
||||
new Point3D( 1328, 1621, 50 ),
|
||||
|
|
@ -60,7 +60,7 @@ namespace Server.Factions
|
|||
new Point3D( 1345, 1621, 50 ),
|
||||
new Point3D( 1345, 1627, 50 )
|
||||
} ),
|
||||
new RankDefinition[]
|
||||
new[]
|
||||
{
|
||||
new RankDefinition( 10, 991, 8, new TextDefinition( 1060794, "Knight of the Codex" ) ),
|
||||
new RankDefinition( 9, 950, 7, new TextDefinition( 1060793, "Knight of Virtue" ) ),
|
||||
|
|
@ -73,7 +73,7 @@ namespace Server.Factions
|
|||
new RankDefinition( 2, 200, 4, new TextDefinition( 1060790, "Defender" ) ),
|
||||
new RankDefinition( 1, 0, 4, new TextDefinition( 1060790, "Defender" ) )
|
||||
},
|
||||
new GuardDefinition[]
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition( typeof( FactionHenchman ), 0x1403, 5000, 1000, 10, new TextDefinition( 1011526, "HENCHMAN" ), new TextDefinition( 1011510, "Hire Henchman" ) ),
|
||||
new GuardDefinition( typeof( FactionMercenary ), 0x0F62, 6000, 2000, 10, new TextDefinition( 1011527, "MERCENARY" ), new TextDefinition( 1011511, "Hire Mercenary" ) ),
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ namespace Server.Factions
|
|||
Utility.AssignRandomFacialHair( this, HairHue );
|
||||
}
|
||||
|
||||
private static Type[] m_StrongPotions = new Type[]
|
||||
private static Type[] m_StrongPotions = new[]
|
||||
{
|
||||
typeof( GreaterHealPotion ), typeof( GreaterHealPotion ), typeof( GreaterHealPotion ),
|
||||
typeof( GreaterCurePotion ), typeof( GreaterCurePotion ), typeof( GreaterCurePotion ),
|
||||
|
|
@ -278,7 +278,7 @@ namespace Server.Factions
|
|||
typeof( GreaterExplosionPotion )
|
||||
};
|
||||
|
||||
private static Type[] m_WeakPotions = new Type[]
|
||||
private static Type[] m_WeakPotions = new[]
|
||||
{
|
||||
typeof( HealPotion ), typeof( HealPotion ), typeof( HealPotion ),
|
||||
typeof( CurePotion ), typeof( CurePotion ), typeof( CurePotion ),
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@ namespace Server.Engines.Harvest
|
|||
fish.ConsumedPerFeluccaHarvest = 1;
|
||||
|
||||
// The fishing
|
||||
fish.EffectActions = new int[]{ 12 };
|
||||
fish.EffectActions = new[]{ 12 };
|
||||
fish.EffectSounds = new int[0];
|
||||
fish.EffectCounts = new int[]{ 1 };
|
||||
fish.EffectCounts = new[]{ 1 };
|
||||
fish.EffectDelay = TimeSpan.Zero;
|
||||
fish.EffectSoundDelay = TimeSpan.FromSeconds( 8.0 );
|
||||
|
||||
|
|
@ -75,12 +75,12 @@ namespace Server.Engines.Harvest
|
|||
fish.PackFullMessage = 503176; // You do not have room in your backpack for a fish.
|
||||
fish.ToolBrokeMessage = 503174; // You broke your fishing pole.
|
||||
|
||||
res = new HarvestResource[]
|
||||
res = new[]
|
||||
{
|
||||
new HarvestResource( 00.0, 00.0, 100.0, 1043297, typeof( Fish ) )
|
||||
};
|
||||
|
||||
veins = new HarvestVein[]
|
||||
veins = new[]
|
||||
{
|
||||
new HarvestVein( 100.0, 0.0, res[0], null )
|
||||
};
|
||||
|
|
@ -90,7 +90,7 @@ namespace Server.Engines.Harvest
|
|||
|
||||
if ( Core.ML )
|
||||
{
|
||||
fish.BonusResources = new BonusHarvestResource[]
|
||||
fish.BonusResources = new[]
|
||||
{
|
||||
new BonusHarvestResource( 0, 99.4, null, null ), //set to same chance as mining ml gems
|
||||
new BonusHarvestResource( 80.0, .6, 1072597, typeof( WhitePearl ) )
|
||||
|
|
@ -123,7 +123,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
}
|
||||
|
||||
private static MutateEntry[] m_MutateTable = new MutateEntry[]
|
||||
private static MutateEntry[] m_MutateTable = new[]
|
||||
{
|
||||
new MutateEntry( 80.0, 80.0, 4080.0, true, typeof( SpecialFishingNet ) ),
|
||||
new MutateEntry( 80.0, 80.0, 4080.0, true, typeof( BigFish ) ),
|
||||
|
|
@ -254,7 +254,7 @@ namespace Server.Engines.Harvest
|
|||
{
|
||||
case 0: // Body parts
|
||||
{
|
||||
int[] list = new int[]
|
||||
int[] list = new[]
|
||||
{
|
||||
0x1CDD, 0x1CE5, // arm
|
||||
0x1CE0, 0x1CE8, // torso
|
||||
|
|
@ -267,7 +267,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
case 1: // Bone parts
|
||||
{
|
||||
int[] list = new int[]
|
||||
int[] list = new[]
|
||||
{
|
||||
0x1AE0, 0x1AE1, 0x1AE2, 0x1AE3, 0x1AE4, // skulls
|
||||
0x1B09, 0x1B0A, 0x1B0B, 0x1B0C, 0x1B0D, 0x1B0E, 0x1B0F, 0x1B10, // bone piles
|
||||
|
|
@ -303,7 +303,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
case 6: // Misc
|
||||
{
|
||||
int[] list = new int[]
|
||||
int[] list = new[]
|
||||
{
|
||||
0x1EB5, // unfinished barrel
|
||||
0xA2A, // stool
|
||||
|
|
@ -550,7 +550,7 @@ namespace Server.Engines.Harvest
|
|||
return true;
|
||||
}
|
||||
|
||||
private static int[] m_WaterTiles = new int[]
|
||||
private static int[] m_WaterTiles = new[]
|
||||
{
|
||||
0x00A8, 0x00AB,
|
||||
0x0136, 0x0137,
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@ namespace Server.Engines.Harvest
|
|||
lumber.ConsumedPerFeluccaHarvest = 20;
|
||||
|
||||
// The chopping effect
|
||||
lumber.EffectActions = new int[]{ 13 };
|
||||
lumber.EffectSounds = new int[]{ 0x13E };
|
||||
lumber.EffectCounts = (Core.AOS ? new int[]{ 1 } : new int[]{ 1, 2, 2, 2, 3 });
|
||||
lumber.EffectActions = new[]{ 13 };
|
||||
lumber.EffectSounds = new[]{ 0x13E };
|
||||
lumber.EffectCounts = (Core.AOS ? new[]{ 1 } : new[]{ 1, 2, 2, 2, 3 });
|
||||
lumber.EffectDelay = TimeSpan.FromSeconds( 1.6 );
|
||||
lumber.EffectSoundDelay = TimeSpan.FromSeconds( 0.9 );
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ namespace Server.Engines.Harvest
|
|||
|
||||
if ( Core.ML )
|
||||
{
|
||||
res = new HarvestResource[]
|
||||
res = new[]
|
||||
{
|
||||
new HarvestResource( 00.0, 00.0, 100.0, 1072540, typeof( Log ) ),
|
||||
new HarvestResource( 65.0, 25.0, 105.0, 1072541, typeof( OakLog ) ),
|
||||
|
|
@ -83,7 +83,7 @@ namespace Server.Engines.Harvest
|
|||
};
|
||||
|
||||
|
||||
veins = new HarvestVein[]
|
||||
veins = new[]
|
||||
{
|
||||
new HarvestVein( 49.0, 0.0, res[0], null ), // Ordinary Logs
|
||||
new HarvestVein( 30.0, 0.5, res[1], res[0] ), // Oak
|
||||
|
|
@ -94,7 +94,7 @@ namespace Server.Engines.Harvest
|
|||
new HarvestVein( 01.0, 0.5, res[6], res[0] ), // Frostwood
|
||||
};
|
||||
|
||||
lumber.BonusResources = new BonusHarvestResource[]
|
||||
lumber.BonusResources = new[]
|
||||
{
|
||||
new BonusHarvestResource( 0, 83.9, null, null ), //Nothing
|
||||
new BonusHarvestResource( 100, 10.0, 1072548, typeof( BarkFragment ) ),
|
||||
|
|
@ -106,12 +106,12 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
else
|
||||
{
|
||||
res = new HarvestResource[]
|
||||
res = new[]
|
||||
{
|
||||
new HarvestResource( 00.0, 00.0, 100.0, 500498, typeof( Log ) )
|
||||
};
|
||||
|
||||
veins = new HarvestVein[]
|
||||
veins = new[]
|
||||
{
|
||||
new HarvestVein( 100.0, 0.0, res[0], null )
|
||||
};
|
||||
|
|
@ -182,7 +182,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
|
||||
#region Tile lists
|
||||
private static int[] m_TreeTiles = new int[]
|
||||
private static int[] m_TreeTiles = new[]
|
||||
{
|
||||
0x4CCA, 0x4CCB, 0x4CCC, 0x4CCD, 0x4CD0, 0x4CD3, 0x4CD6, 0x4CD8,
|
||||
0x4CDA, 0x4CDD, 0x4CE0, 0x4CE3, 0x4CE6, 0x4CF8, 0x4CFB, 0x4CFE,
|
||||
|
|
|
|||
|
|
@ -60,9 +60,9 @@ namespace Server.Engines.Harvest
|
|||
oreAndStone.ConsumedPerFeluccaHarvest = 2;
|
||||
|
||||
// The digging effect
|
||||
oreAndStone.EffectActions = new int[]{ 11 };
|
||||
oreAndStone.EffectSounds = new int[]{ 0x125, 0x126 };
|
||||
oreAndStone.EffectCounts = new int[]{ 1 };
|
||||
oreAndStone.EffectActions = new[]{ 11 };
|
||||
oreAndStone.EffectSounds = new[]{ 0x125, 0x126 };
|
||||
oreAndStone.EffectCounts = new[]{ 1 };
|
||||
oreAndStone.EffectDelay = TimeSpan.FromSeconds( 1.6 );
|
||||
oreAndStone.EffectSoundDelay = TimeSpan.FromSeconds( 0.9 );
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ namespace Server.Engines.Harvest
|
|||
oreAndStone.PackFullMessage = 1010481; // Your backpack is full, so the ore you mined is lost.
|
||||
oreAndStone.ToolBrokeMessage = 1044038; // You have worn out your tool!
|
||||
|
||||
res = new HarvestResource[]
|
||||
res = new[]
|
||||
{
|
||||
new HarvestResource( 00.0, 00.0, 100.0, 1007072, typeof( IronOre ), typeof( Granite ) ),
|
||||
new HarvestResource( 65.0, 25.0, 105.0, 1007073, typeof( DullCopperOre ), typeof( DullCopperGranite ), typeof( DullCopperElemental ) ),
|
||||
|
|
@ -87,7 +87,7 @@ namespace Server.Engines.Harvest
|
|||
new HarvestResource( 99.0, 59.0, 139.0, 1007080, typeof( ValoriteOre ), typeof( ValoriteGranite ), typeof( ValoriteElemental ) )
|
||||
};
|
||||
|
||||
veins = new HarvestVein[]
|
||||
veins = new[]
|
||||
{
|
||||
new HarvestVein( 49.6, 0.0, res[0], null ), // Iron
|
||||
new HarvestVein( 11.2, 0.5, res[1], res[0] ), // Dull Copper
|
||||
|
|
@ -105,7 +105,7 @@ namespace Server.Engines.Harvest
|
|||
|
||||
if ( Core.ML )
|
||||
{
|
||||
oreAndStone.BonusResources = new BonusHarvestResource[]
|
||||
oreAndStone.BonusResources = new[]
|
||||
{
|
||||
new BonusHarvestResource( 0, 99.4, null, null ), //Nothing
|
||||
new BonusHarvestResource( 100, .1, 1072562, typeof( BlueDiamond ) ),
|
||||
|
|
@ -152,9 +152,9 @@ namespace Server.Engines.Harvest
|
|||
sand.ConsumedPerFeluccaHarvest = 1;
|
||||
|
||||
// The digging effect
|
||||
sand.EffectActions = new int[]{ 11 };
|
||||
sand.EffectSounds = new int[]{ 0x125, 0x126 };
|
||||
sand.EffectCounts = new int[]{ 6 };
|
||||
sand.EffectActions = new[]{ 11 };
|
||||
sand.EffectSounds = new[]{ 0x125, 0x126 };
|
||||
sand.EffectCounts = new[]{ 6 };
|
||||
sand.EffectDelay = TimeSpan.FromSeconds( 1.6 );
|
||||
sand.EffectSoundDelay = TimeSpan.FromSeconds( 0.9 );
|
||||
|
||||
|
|
@ -166,12 +166,12 @@ namespace Server.Engines.Harvest
|
|||
sand.PackFullMessage = 1044632; // Your backpack can't hold the sand, and it is lost!
|
||||
sand.ToolBrokeMessage = 1044038; // You have worn out your tool!
|
||||
|
||||
res = new HarvestResource[]
|
||||
res = new[]
|
||||
{
|
||||
new HarvestResource( 100.0, 70.0, 400.0, 1044631, typeof( Sand ) )
|
||||
};
|
||||
|
||||
veins = new HarvestVein[]
|
||||
veins = new[]
|
||||
{
|
||||
new HarvestVein( 100.0, 0.0, res[0], null )
|
||||
};
|
||||
|
|
@ -260,7 +260,7 @@ namespace Server.Engines.Harvest
|
|||
return base.MutateVein( from, tool, def, bank, toHarvest, vein );
|
||||
}
|
||||
|
||||
private static int[] m_Offsets = new int[]
|
||||
private static int[] m_Offsets = new[]
|
||||
{
|
||||
-1, -1,
|
||||
-1, 0,
|
||||
|
|
@ -353,7 +353,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
|
||||
#region Tile lists
|
||||
private static int[] m_MountainAndCaveTiles = new int[]
|
||||
private static int[] m_MountainAndCaveTiles = new[]
|
||||
{
|
||||
220, 221, 222, 223, 224, 225, 226, 227, 228, 229,
|
||||
230, 231, 236, 237, 238, 239, 240, 241, 242, 243,
|
||||
|
|
@ -392,7 +392,7 @@ namespace Server.Engines.Harvest
|
|||
0x4549, 0x454A, 0x454B, 0x454C, 0x454D, 0x454E, 0x454F
|
||||
};
|
||||
|
||||
private static int[] m_SandTiles = new int[]
|
||||
private static int[] m_SandTiles = new[]
|
||||
{
|
||||
22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
|
||||
32, 33, 34, 35, 36, 37, 38, 39, 40, 41,
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ namespace Server.Engines.Help
|
|||
{
|
||||
private Mobile m_From;
|
||||
|
||||
public ContainedMenu( Mobile from ) : base( "You already have an open help request. We will have someone assist you as soon as possible. What would you like to do?", new string[]{ "Leave my old help request like it is.", "Remove my help request from the queue." } )
|
||||
public ContainedMenu( Mobile from ) : base( "You already have an open help request. We will have someone assist you as soon as possible. What would you like to do?", new[]{ "Leave my old help request like it is.", "Remove my help request from the queue." } )
|
||||
{
|
||||
m_From = from;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Server.Engines.Help
|
|||
public class PageEntry
|
||||
{
|
||||
// What page types should have a speech log as attachment?
|
||||
public static readonly PageType[] SpeechLogAttachment = new PageType[]
|
||||
public static readonly PageType[] SpeechLogAttachment = new[]
|
||||
{
|
||||
PageType.VerbalHarassment
|
||||
};
|
||||
|
|
|
|||
|
|
@ -468,7 +468,7 @@ namespace Server.Engines.Help
|
|||
private PageEntry m_Entry;
|
||||
private Mobile m_Mobile;
|
||||
|
||||
private static int[] m_AccessLevelHues = new int[]
|
||||
private static int[] m_AccessLevelHues = new[]
|
||||
{
|
||||
2100,
|
||||
2122,
|
||||
|
|
|
|||
|
|
@ -22,10 +22,10 @@ namespace Server.Menus.Questions
|
|||
|
||||
public class StuckMenu : Gump
|
||||
{
|
||||
private static StuckMenuEntry[] m_Entries = new StuckMenuEntry[]
|
||||
private static StuckMenuEntry[] m_Entries = new[]
|
||||
{
|
||||
// Britain
|
||||
new StuckMenuEntry( 1011028, new Point3D[]
|
||||
new StuckMenuEntry( 1011028, new[]
|
||||
{
|
||||
new Point3D( 1522, 1757, 28 ),
|
||||
new Point3D( 1519, 1619, 10 ),
|
||||
|
|
@ -35,7 +35,7 @@ namespace Server.Menus.Questions
|
|||
} ),
|
||||
|
||||
// Trinsic
|
||||
new StuckMenuEntry( 1011029, new Point3D[]
|
||||
new StuckMenuEntry( 1011029, new[]
|
||||
{
|
||||
new Point3D( 2005, 2754, 30 ),
|
||||
new Point3D( 1993, 2827, 0 ),
|
||||
|
|
@ -45,7 +45,7 @@ namespace Server.Menus.Questions
|
|||
} ),
|
||||
|
||||
// Vesper
|
||||
new StuckMenuEntry( 1011030, new Point3D[]
|
||||
new StuckMenuEntry( 1011030, new[]
|
||||
{
|
||||
new Point3D( 2973, 891, 0 ),
|
||||
new Point3D( 3003, 776, 0 ),
|
||||
|
|
@ -55,7 +55,7 @@ namespace Server.Menus.Questions
|
|||
} ),
|
||||
|
||||
// Minoc
|
||||
new StuckMenuEntry( 1011031, new Point3D[]
|
||||
new StuckMenuEntry( 1011031, new[]
|
||||
{
|
||||
new Point3D( 2498, 392, 0 ),
|
||||
new Point3D( 2433, 541, 0 ),
|
||||
|
|
@ -65,7 +65,7 @@ namespace Server.Menus.Questions
|
|||
} ),
|
||||
|
||||
// Yew
|
||||
new StuckMenuEntry( 1011032, new Point3D[]
|
||||
new StuckMenuEntry( 1011032, new[]
|
||||
{
|
||||
new Point3D( 490, 1166, 0 ),
|
||||
new Point3D( 652, 1098, 0 ),
|
||||
|
|
@ -75,7 +75,7 @@ namespace Server.Menus.Questions
|
|||
} ),
|
||||
|
||||
// Cove
|
||||
new StuckMenuEntry( 1011033, new Point3D[]
|
||||
new StuckMenuEntry( 1011033, new[]
|
||||
{
|
||||
new Point3D( 2230, 1159, 0 ),
|
||||
new Point3D( 2218, 1203, 0 ),
|
||||
|
|
@ -85,10 +85,10 @@ namespace Server.Menus.Questions
|
|||
} )
|
||||
};
|
||||
|
||||
private static StuckMenuEntry[] m_T2AEntries = new StuckMenuEntry[]
|
||||
private static StuckMenuEntry[] m_T2AEntries = new[]
|
||||
{
|
||||
// Papua
|
||||
new StuckMenuEntry( 1011057, new Point3D[]
|
||||
new StuckMenuEntry( 1011057, new[]
|
||||
{
|
||||
new Point3D( 5720, 3109, -1 ),
|
||||
new Point3D( 5677, 3176, -3 ),
|
||||
|
|
@ -98,7 +98,7 @@ namespace Server.Menus.Questions
|
|||
} ),
|
||||
|
||||
// Delucia
|
||||
new StuckMenuEntry( 1011058, new Point3D[]
|
||||
new StuckMenuEntry( 1011058, new[]
|
||||
{
|
||||
new Point3D( 5216, 4033, 37 ),
|
||||
new Point3D( 5262, 4049, 37 ),
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074858; // You had better get going. Master Theophilus isn't likely to kill himself just to save me this embarrassment.
|
||||
CompletionMessage = 1074859; // You look a bit worse for wear! He put up a good fight did he? Hah! That's the spirit … a Master of Bedlam is a match for most.
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( MasterTheophilus ) }, "Master Theophilus" ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( MasterTheophilus ) }, "Master Theophilus" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Rabbit ) }, "rabbits" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Rabbit ) }, "rabbits" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -136,7 +136,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Pig ) }, "pigs" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Pig ) }, "pigs" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -152,7 +152,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Walrus ) }, "walruses" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Walrus ) }, "walruses" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -168,7 +168,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Mongbat ) }, "mongbats" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Mongbat ) }, "mongbats" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -184,7 +184,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Bull ) }, "bulls" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Bull ) }, "bulls" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -200,7 +200,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Sheep ) }, "sheep" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Sheep ) }, "sheep" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -216,7 +216,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Bird ) }, "birds" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Bird ) }, "birds" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -232,7 +232,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( SewerRat ) }, "sewer rats" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( SewerRat ) }, "sewer rats" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -248,8 +248,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( Zombie ) }, "zombies" ) );
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( Skeleton ) }, "skeletons" ) );
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( Zombie ) }, "zombies" ) );
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( Skeleton ) }, "skeletons" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -265,7 +265,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( GrizzlyBear ) }, "grizzly bears" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( GrizzlyBear ) }, "grizzly bears" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -283,8 +283,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
ObjectiveType = ObjectiveType.Any;
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( RedSolenWorker ) }, "red solen workers" ) );
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( BlackSolenWorker ) }, "black solen workers" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( RedSolenWorker ) }, "red solen workers" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( BlackSolenWorker ) }, "black solen workers" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -300,7 +300,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073586; // The restless spirts still walk -- you must kill 15 of them.
|
||||
|
||||
Objectives.Add( new KillObjective( 15, new Type[] { typeof( Spectre ), typeof( Shade ), typeof( Wraith ) }, "spectres or shades or wraiths" ) );
|
||||
Objectives.Add( new KillObjective( 15, new[] { typeof( Spectre ), typeof( Shade ), typeof( Wraith ) }, "spectres or shades or wraiths" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -316,7 +316,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( PatchworkSkeleton ) }, "patchwork skeletons" ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( PatchworkSkeleton ) }, "patchwork skeletons" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -332,7 +332,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Ghoul ) }, "ghouls" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Ghoul ) }, "ghouls" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -348,7 +348,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1074690; // Probably the wiser course of action.
|
||||
InProgressMessage = 1074691; // You still need to kill those troglodytes, remember?
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Troglodyte ) }, "troglodytes" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Troglodyte ) }, "troglodytes" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -364,7 +364,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073585; // Your task is not done. Continue putting the Skeleton and Bone Knights to rest.
|
||||
|
||||
Objectives.Add( new KillObjective( 16, new Type[] { typeof( BoneKnight ), typeof( SkeletalKnight ) }, "bone knights or skeletal knights" ) );
|
||||
Objectives.Add( new KillObjective( 16, new[] { typeof( BoneKnight ), typeof( SkeletalKnight ) }, "bone knights or skeletal knights" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -415,8 +415,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074682; // The trog chief and his mutt should be easy enough to find. Just kill them and report back. Easy enough.
|
||||
CompletionMessage = 1074683; // Not half bad. Here's your prize.
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Lurg ) }, "Lurg" ) );
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Grobu ) }, "Grobu" ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Lurg ) }, "Lurg" ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Grobu ) }, "Grobu" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -432,7 +432,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Hind ) }, "hinds" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Hind ) }, "hinds" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -448,7 +448,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Boar ) }, "boars" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Boar ) }, "boars" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -464,9 +464,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073599; // Four of each, that's all I ask. Water, earth and fire.
|
||||
|
||||
Objectives.Add( new KillObjective( 4, new Type[] { typeof( FireElemental ) }, "fire elementals" ) );
|
||||
Objectives.Add( new KillObjective( 4, new Type[] { typeof( WaterElemental ) }, "water elementals" ) );
|
||||
Objectives.Add( new KillObjective( 4, new Type[] { typeof( EarthElemental ) }, "earth elementals" ) );
|
||||
Objectives.Add( new KillObjective( 4, new[] { typeof( FireElemental ) }, "fire elementals" ) );
|
||||
Objectives.Add( new KillObjective( 4, new[] { typeof( WaterElemental ) }, "water elementals" ) );
|
||||
Objectives.Add( new KillObjective( 4, new[] { typeof( EarthElemental ) }, "earth elementals" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -482,7 +482,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073736; // Continue to seek and kill the Bog Things.
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( BogThing ) }, "bog things" ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( BogThing ) }, "bog things" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -498,7 +498,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073584; // You got rocks in your head? I said to kill 12 earth elementals, okay?
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( EarthElemental ) }, "earth elementals" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( EarthElemental ) }, "earth elementals" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -514,7 +514,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( GiantSpider ) }, "giant spiders" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( GiantSpider ) }, "giant spiders" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -530,8 +530,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( Corpser ) }, "corpsers" ) );
|
||||
Objectives.Add( new KillObjective( 2, new Type[] { typeof( SwampTentacle ) }, "swamp tentacles" ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( Corpser ) }, "corpsers" ) );
|
||||
Objectives.Add( new KillObjective( 2, new[] { typeof( SwampTentacle ) }, "swamp tentacles" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -547,7 +547,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Gibberling ) }, "gibberlings" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Gibberling ) }, "gibberlings" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -563,7 +563,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( FleshGolem ) }, "flesh golems" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( FleshGolem ) }, "flesh golems" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -579,7 +579,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Harpy ) }, "harpies" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Harpy ) }, "harpies" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -595,7 +595,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( PlagueSpawn ) }, "plague spawns" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( PlagueSpawn ) }, "plague spawns" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -611,7 +611,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( LavaLizard ) }, "lava lizards" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( LavaLizard ) }, "lava lizards" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -627,7 +627,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( GoreFiend ) }, "gore fiends" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( GoreFiend ) }, "gore fiends" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -643,7 +643,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073019; // Hahahaha! I knew it!
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( VampireBat ) }, "vampire bats" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( VampireBat ) }, "vampire bats" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -659,7 +659,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073583; // Uh, I don't think you're quite done killing Mummies yet.
|
||||
|
||||
Objectives.Add( new KillObjective( 15, new Type[] { typeof( Mummy ) }, "mummies" ) );
|
||||
Objectives.Add( new KillObjective( 15, new[] { typeof( Mummy ) }, "mummies" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -675,7 +675,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073735; // Have you killed the Ophidian Knights or Avengers?
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( OphidianKnight ) }, "ophidian avengers or ophidian knight-errants" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( OphidianKnight ) }, "ophidian avengers or ophidian knight-errants" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -691,7 +691,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073587; // Don't let the little devils scare you! You kill 12 imps - then we'll talk reward.
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Imp ) }, "imps" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Imp ) }, "imps" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -707,7 +707,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073740; // Those smoky devils, the Efreets, are still about.
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( Efreet ) }, "efreets" ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( Efreet ) }, "efreets" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -723,7 +723,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073594; // Have you annihilated a dozen Gazers yet, kind traveler?
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Gazer ) }, "gazers" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Gazer ) }, "gazers" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -739,7 +739,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073738; // I won't be able to pay you until you've gotten enough Gargoyle Enforcers.
|
||||
|
||||
Objectives.Add( new KillObjective( 6, new Type[] { typeof( GargoyleEnforcer ) }, "gargoyle enforcers" ) );
|
||||
Objectives.Add( new KillObjective( 6, new[] { typeof( GargoyleEnforcer ) }, "gargoyle enforcers" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -755,7 +755,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073590; // Surely, a brave soul like yourself can kill 10 Bone Magi and Skeletal Mages?
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( BoneMagi ), typeof( SkeletalMage ) }, "bone mages or skeletal mages" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( BoneMagi ), typeof( SkeletalMage ) }, "bone mages or skeletal mages" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -771,7 +771,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073742; // Dread Spiders? I say keep exterminating the arachnid vermin.
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( DreadSpider ) }, "dread spiders" ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( DreadSpider ) }, "dread spiders" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -787,8 +787,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Mongbat ) }, "mongbats" ) );
|
||||
Objectives.Add( new KillObjective( 4, new Type[] { typeof( GreaterMongbat ) }, "greater mongbats" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Mongbat ) }, "mongbats" ) );
|
||||
Objectives.Add( new KillObjective( 4, new[] { typeof( GreaterMongbat ) }, "greater mongbats" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -806,8 +806,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
ObjectiveType = ObjectiveType.Any;
|
||||
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( RedSolenQueen ) }, "red solen queens" ) );
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( BlackSolenQueen ) }, "black solen queens" ) );
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( RedSolenQueen ) }, "red solen queens" ) );
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( BlackSolenQueen ) }, "black solen queens" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -823,7 +823,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073588; // Unless you kill at least 10 Terathan Warriors, you won't have any impact on their hive.
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( TerathanWarrior ) }, "terathan warriors" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( TerathanWarrior ) }, "terathan warriors" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -839,7 +839,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073598; // You wouldn't try and just pretend you murdered 10 Giant Ice Worms, would you?
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( IceSerpent ) }, "giant ice serpents" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( IceSerpent ) }, "giant ice serpents" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -855,8 +855,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073591; // The only good orc is a dead orc - and 4 dead Captains and 6 dead Bombers is even better!
|
||||
|
||||
Objectives.Add( new KillObjective( 6, new Type[] { typeof( OrcBomber ) }, "orc bombers" ) );
|
||||
Objectives.Add( new KillObjective( 4, new Type[] { typeof( OrcCaptain ) }, "orc captain" ) );
|
||||
Objectives.Add( new KillObjective( 6, new[] { typeof( OrcBomber ) }, "orc bombers" ) );
|
||||
Objectives.Add( new KillObjective( 4, new[] { typeof( OrcCaptain ) }, "orc captain" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -872,7 +872,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Goat ) }, "goats" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Goat ) }, "goats" ) );
|
||||
|
||||
Rewards.Add( ItemReward.SmallBagOfTrinkets );
|
||||
}
|
||||
|
|
@ -888,7 +888,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Slime ) }, "slimes" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Slime ) }, "slimes" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -904,9 +904,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( Orc ) }, "orcs" ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( Orc ) }, "orcs" ) );
|
||||
// TODO: This needs to be orc scouts but they aren't in the SVN
|
||||
Objectives.Add( new KillObjective( 4, new Type[] { typeof( OrcishLord ) }, "orcish lords" ) );
|
||||
Objectives.Add( new KillObjective( 4, new[] { typeof( OrcishLord ) }, "orcish lords" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -922,8 +922,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( Ogre ) }, "ogres" ) );
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( Ettin ) }, "ettins" ) );
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( Ogre ) }, "ogres" ) );
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( Ettin ) }, "ettins" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -939,7 +939,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Troll ) }, "trolls" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Troll ) }, "trolls" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -955,8 +955,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 6, new Type[] { typeof( IceSerpent ) }, "giant ice serpents" ) );
|
||||
Objectives.Add( new KillObjective( 6, new Type[] { typeof( FrostSpider ) }, "frost spiders" ) );
|
||||
Objectives.Add( new KillObjective( 6, new[] { typeof( IceSerpent ) }, "giant ice serpents" ) );
|
||||
Objectives.Add( new KillObjective( 6, new[] { typeof( FrostSpider ) }, "frost spiders" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -972,7 +972,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Lizardman ) }, "lizardmen" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Lizardman ) }, "lizardmen" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -990,8 +990,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
ObjectiveType = ObjectiveType.Any;
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( RedSolenWarrior ) }, "red solen warriors" ) );
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( BlackSolenWarrior ) }, "black solen warriors" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( RedSolenWarrior ) }, "red solen warriors" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( BlackSolenWarrior ) }, "black solen warriors" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -1007,7 +1007,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073589; // You've got a good start, but to stop the black-eyed fiends, you need to kill a dozen.
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( GiantBlackWidow ) }, "giant black widows" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( GiantBlackWidow ) }, "giant black widows" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -1023,7 +1023,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073582; // Go back and kill all 20 bogglings!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Bogling ) }, "boglings" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Bogling ) }, "boglings" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -1039,7 +1039,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073744; // How are farmers supposed to work with these Whipping Vines around?
|
||||
|
||||
Objectives.Add( new KillObjective( 15, new Type[] { typeof( WhippingVine ) }, "whipping vines" ) );
|
||||
Objectives.Add( new KillObjective( 15, new[] { typeof( WhippingVine ) }, "whipping vines" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1055,7 +1055,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073745; // Please, rid us of the Ant Lion infestation.
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( AntLion ) }, "ant lions" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( AntLion ) }, "ant lions" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1072,7 +1072,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1073746; // The unholy brutes, the Golems, must be smited!
|
||||
CompletionMessage = 1073787; // Reduced those Golems to component parts? Good, then -- you deserve this reward!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Golem ) }, "golems" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Golem ) }, "golems" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1088,7 +1088,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073746; // The chill won't lift until you eradicate a few Ice Elemenals.
|
||||
|
||||
Objectives.Add( new KillObjective( 15, new Type[] { typeof( IceElemental ) }, "ice elementals" ) );
|
||||
Objectives.Add( new KillObjective( 15, new[] { typeof( IceElemental ) }, "ice elementals" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1522,7 +1522,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( Succubus ) }, "succubi", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( Succubus ) }, "succubi", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1538,7 +1538,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( Moloch ) }, "molochs", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( Moloch ) }, "molochs", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1554,7 +1554,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Daemon ) }, "daemons", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Daemon ) }, "daemons", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1570,7 +1570,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( ArcaneDaemon ) }, "arcane daemons", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( ArcaneDaemon ) }, "arcane daemons", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1586,8 +1586,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( PoisonElemental ) }, "poison elementals", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 6, new Type[] { typeof( AcidElemental ) }, "acid elementals", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( PoisonElemental ) }, "poison elementals", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 6, new[] { typeof( AcidElemental ) }, "acid elementals", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1603,9 +1603,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( PlagueSpawn ) }, "plague spawns", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( PlagueBeast ) }, "plague beasts", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( PlagueBeastLord ) }, "plague beast lord", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( PlagueSpawn ) }, "plague spawns", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( PlagueBeast ) }, "plague beasts", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( PlagueBeastLord ) }, "plague beast lord", new QuestArea( 1074806, "The Palace of Paroxysmus" ) ) ); // The Palace of Paroxysmus
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1622,7 +1622,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074672; // You must not waste time. Do not suffer these crystalline abominations to live.
|
||||
CompletionMessage = 1074673; // You have done well. Enjoy this reward.
|
||||
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( CrystalLatticeSeeker ) }, "crystal lattice seekers", new QuestArea( 1074805, "The Prism of Light" ) ) ); // The Prism of Light
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( CrystalLatticeSeeker ) }, "crystal lattice seekers", new QuestArea( 1074805, "The Prism of Light" ) ) ); // The Prism of Light
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1639,7 +1639,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074672; // You must not waste time. Do not suffer these crystalline abominations to live.
|
||||
CompletionMessage = 1074673; // You have done well. Enjoy this reward.
|
||||
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( CrystalDaemon ) }, "crystal daemons", new QuestArea( 1074805, "The Prism of Light" ) ) ); // The Prism of Light
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( CrystalDaemon ) }, "crystal daemons", new QuestArea( 1074805, "The Prism of Light" ) ) ); // The Prism of Light
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1656,7 +1656,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074672; // You must not waste time. Do not suffer these crystalline abominations to live.
|
||||
CompletionMessage = 1074673; // You have done well. Enjoy this reward.
|
||||
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( CrystalVortex ) }, "crystal vortices", new QuestArea( 1074805, "The Prism of Light" ) ) ); // The Prism of Light
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( CrystalVortex ) }, "crystal vortices", new QuestArea( 1074805, "The Prism of Light" ) ) ); // The Prism of Light
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -1769,7 +1769,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1072980; // The Black Order's fortress home is well hidden. Legend has it that a humble fishing village disguises the magical portal.
|
||||
|
||||
// TODO: Verify that this has to be males only (as per the description)
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( EliteNinja ) }, "elite ninjas", new QuestArea( 1074804, "The Citadel" ) ) ); // The Citadel
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( EliteNinja ) }, "elite ninjas", new QuestArea( 1074804, "The Citadel" ) ) ); // The Citadel
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072830; // Then begone. I have no time to waste on you, human.
|
||||
InProgressMessage = 1072831; // The timber wolves are easily tracked, human.
|
||||
|
||||
Objectives.Add( new KillObjective( 15, new Type[] { typeof( TimberWolf ) }, "timber wolves", new QuestArea( 1074833, "Huntsman's Forest" ) ) ); // Huntsman's Forest
|
||||
Objectives.Add( new KillObjective( 15, new[] { typeof( TimberWolf ) }, "timber wolves", new QuestArea( 1074833, "Huntsman's Forest" ) ) ); // Huntsman's Forest
|
||||
|
||||
Rewards.Add( new DummyReward( 1072807 ) ); // The boon of the Huntsman.
|
||||
}
|
||||
|
|
@ -619,8 +619,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074529; // You're not making much progress in the honing-mind-and-body department, are you?
|
||||
CompletionNotice = CompletionNoticeShortReturn;
|
||||
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( Efreet ) }, "efreets", new QuestArea( 1074808, "Fire" ) ) ); // Fire
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( IceFiend ) }, "ice fiends", new QuestArea( 1074809, "Ice" ) ) ); // Ice
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( Efreet ) }, "efreets", new QuestArea( 1074808, "Fire" ) ) ); // Fire
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( IceFiend ) }, "ice fiends", new QuestArea( 1074809, "Ice" ) ) ); // Ice
|
||||
|
||||
Rewards.Add( new DummyReward( 1074875 ) ); // Another step closer to becoming human.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073581; // Until you kill 12 Wailing Banshees, there will be no peace.
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( WailingBanshee ) }, "wailing banshees" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( WailingBanshee ) }, "wailing banshees" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -70,7 +70,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( FrenziedOstard ) }, "frenzied ostards" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( FrenziedOstard ) }, "frenzied ostards" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -86,7 +86,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( DireWolf ) }, "dire wolves" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( DireWolf ) }, "dire wolves" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -103,9 +103,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074746; // Perhaps I was unclear. You'll know them when you see them, because you'll see you, and you, and you. Hurry now.
|
||||
CompletionMessage = 1074747; // Are you one of THEM? Ahhhh! Oh, wait, if you were them, then you'd be me. So you're -- you. Good job!
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Guile ) }, "Guile" ) );
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Irk ) }, "Irk" ) );
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Spite ) }, "Spite" ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Guile ) }, "Guile" ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Irk ) }, "Irk" ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Spite ) }, "Spite" ) );
|
||||
|
||||
Rewards.Add( ItemReward.Strongbox );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -137,9 +137,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
QuestArea bedlam = new QuestArea( 1074835, "Bedlam" ); // Bedlam
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( RedDeath ) }, "Red Death", bedlam ) );
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( GoreFiend ) }, "gore fiends", bedlam ) );
|
||||
Objectives.Add( new KillObjective( 8, new Type[] { typeof( RottingCorpse ) }, "rotting corpses", bedlam ) );
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( RedDeath ) }, "Red Death", bedlam ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( GoreFiend ) }, "gore fiends", bedlam ) );
|
||||
Objectives.Add( new KillObjective( 8, new[] { typeof( RottingCorpse ) }, "rotting corpses", bedlam ) );
|
||||
|
||||
Rewards.Add( new DummyReward( 1074634 ) ); // Tuition Reimbursement
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1075483; // Fair enough, the bow isn't for everyone. Good day then.
|
||||
InProgressMessage = 1075484; // Return once ye have killed ten sheep with a bow and not a moment before.
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Sheep ) }, 1018270 ) ); // sheep
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Sheep ) }, 1018270 ) ); // sheep
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073733; // Perhaps you'll change your mind and return at some point.
|
||||
InProgressMessage = 1073741; // There's too much cuteness in the world -- kill those pixies!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Pixie ) }, "pixies" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Pixie ) }, "pixies" ) );
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -347,9 +347,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072667; // Hrmph. Well maybe another time then.
|
||||
InProgressMessage = 1072668; // Shouldn't you be slaying orcs?
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Orc ) }, "orcs", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( OrcBomber ) }, "orc bombers", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( OrcBrute ) }, "orc brutes", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Orc ) }, "orcs", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( OrcBomber ) }, "orc bombers", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( OrcBrute ) }, "orc brutes", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -365,7 +365,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073595; // I don't see 10 tails from Ratman Archers on your belt -- and until I do, no reward for you.
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( RatmanArcher ) }, "ratman archers" ) );
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( RatmanArcher ) }, "ratman archers" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -381,7 +381,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072270; // Well, okay. But if you decide you are up for it after all, c'mon back and see me.
|
||||
InProgressMessage = 1072271; // You're not quite done yet. Get back to work!
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Ratman ) }, "ratmen" ) );
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Ratman ) }, "ratmen" ) );
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -400,7 +400,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1072572; // Small words. Kill Moug-Guur. Go. Now!
|
||||
CompletionMessage = 1072573; // You're better than I thought you'd be. Not particularly bad, but not entirely inept.
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( MougGuur ) }, "Moug-Guur", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( MougGuur ) }, "Moug-Guur", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -420,7 +420,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1072576; // How difficult is this? The rats live in the tunnels. Go into the tunnels and find the biggest, meanest rat and execute him. Loitering around here won't get the task done.
|
||||
CompletionMessage = 1072577; // It's about time! Could you have taken longer?
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Chiikkaha ) }, "Chiikkaha", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Chiikkaha ) }, "Chiikkaha", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -439,7 +439,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1072581; // Hahahaha! I can see the fear in your eyes. Pathetic. Szavetra is waiting for you.
|
||||
CompletionMessage = 1072582; // Amazing! Simply astonishing ... you survived. Well, I supposed I should indulge your avarice with a reward.
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( Szavetra ) }, "Szavetra", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( Szavetra ) }, "Szavetra", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.Strongbox );
|
||||
}
|
||||
|
|
@ -528,7 +528,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072687; // I quite understand your reluctance. If you reconsider, I'll be here.
|
||||
InProgressMessage = 1072688; // You can't miss those ogres, they're huge and just outside the gates here.
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( Ogre ) }, "ogres", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( Ogre ) }, "ogres", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
@ -547,7 +547,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072708; // Reluctance doesn't become a hero like you. But, as you wish.
|
||||
InProgressMessage = 1072709; // Ogre Lords are pretty easy to recognize. They're the ones ordering the other ogres about in a lordly manner. Striking down their leadership will throw the ogres into confusion and dismay!
|
||||
|
||||
Objectives.Add( new KillObjective( 10, new Type[] { typeof( OgreLord ) }, "ogre lords", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 10, new[] { typeof( OgreLord ) }, "ogre lords", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -566,7 +566,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072711; // Oh, I see. *sigh* Perhaps I overestimated your abilities.
|
||||
InProgressMessage = 1072712; // Make sure you fully assess all of the cyclopian tactical abilities!
|
||||
|
||||
Objectives.Add( new KillObjective( 6, new Type[] { typeof( Cyclops ) }, "cyclops", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 6, new[] { typeof( Cyclops ) }, "cyclops", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -584,7 +584,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072714; // Certainly. You've done enough to merit a breather. When you're ready for more, report back to me.
|
||||
InProgressMessage = 1072715; // Those titans don't skulk very well. You should be able to track them easily ... their footsteps are easily the largest around.
|
||||
|
||||
Objectives.Add( new KillObjective( 3, new Type[] { typeof( Titan ) }, "titans", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 3, new[] { typeof( Titan ) }, "titans", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.LargeBagOfTreasure );
|
||||
}
|
||||
|
|
@ -600,7 +600,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1072594; // Don't tell me you're a gargoyle sympathizer? *spits*
|
||||
InProgressMessage = 1072595; // Those blasted gargoyles hang around the old tower. That's the best place to hunt them down.
|
||||
|
||||
Objectives.Add( new KillObjective( 12, new Type[] { typeof( Gargoyle ) }, "gargoyles", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new KillObjective( 12, new[] { typeof( Gargoyle ) }, "gargoyles", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTrinkets );
|
||||
}
|
||||
|
|
@ -635,7 +635,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1073580; // I hope you'll reconsider. Until then, farwell.
|
||||
InProgressMessage = 1073592; // The Brigands still plague us. Have you killed 20 of their number?<br>
|
||||
|
||||
Objectives.Add( new KillObjective( 20, new Type[] { typeof( Brigand ) }, 1074894 ) ); // Common brigands
|
||||
Objectives.Add( new KillObjective( 20, new[] { typeof( Brigand ) }, 1074894 ) ); // Common brigands
|
||||
|
||||
Rewards.Add( ItemReward.BagOfTreasure );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -145,8 +145,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1072779; // Every moment you procrastinate, these unnatural creatures damage Sosaria.
|
||||
CompletionMessage = 1074167; // Well done! Well done, indeed. You are worthy to become an arcanist!
|
||||
|
||||
Objectives.Add( new KillObjective( 5, new Type[] { typeof( ExodusOverseer ) }, "Exodus Overseers" ) );
|
||||
Objectives.Add( new KillObjective( 2, new Type[] { typeof( ExodusMinion ) }, "Exodus Minions" ) );
|
||||
Objectives.Add( new KillObjective( 5, new[] { typeof( ExodusOverseer ) }, "Exodus Overseers" ) );
|
||||
Objectives.Add( new KillObjective( 2, new[] { typeof( ExodusMinion ) }, "Exodus Minions" ) );
|
||||
|
||||
Rewards.Add( new ItemReward( 1031601, typeof( ArcaneCircleScroll ) ) ); // Arcane Circle
|
||||
Rewards.Add( new ItemReward( 1031600, typeof( SpellweavingBook ) ) ); // Spellweaving Spellbook
|
||||
|
|
@ -177,7 +177,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1072773; // You waste my time. The task is simple. Kill 50 rats in an hour.
|
||||
// No completion message
|
||||
|
||||
Objectives.Add( new TimedKillObjective( TimeSpan.FromHours( 1 ), 50, new Type[] { typeof( Rat ) }, "rats", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
Objectives.Add( new TimedKillObjective( TimeSpan.FromHours( 1 ), 50, new[] { typeof( Rat ) }, "rats", new QuestArea( 1074807, "Sanctuary" ) ) ); // Sanctuary
|
||||
|
||||
Rewards.Add( new DummyReward( 1074872 ) ); // The opportunity to learn the ways of the Arcanist.
|
||||
}
|
||||
|
|
@ -345,7 +345,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
InProgressMessage = 1074316; // Mean reapers are all around trees! *giggle* You fix them up, please.
|
||||
CompletionNotice = CompletionNoticeShortReturn;
|
||||
|
||||
Objectives.Add( new KillObjective( 20, new Type[] { typeof( Reaper ) }, "reapers" ) );
|
||||
Objectives.Add( new KillObjective( 20, new[] { typeof( Reaper ) }, "reapers" ) );
|
||||
|
||||
Rewards.Add( new ItemReward( 1031607, typeof( SummonFeyScroll ) ) ); // Summon Fey
|
||||
}
|
||||
|
|
@ -377,7 +377,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
// TODO: Verify
|
||||
CompletionMessage = 1074291; // Hah! You showed them!
|
||||
|
||||
Objectives.Add( new KillObjective( 50, new Type[] { typeof( Imp ) }, "imps" ) );
|
||||
Objectives.Add( new KillObjective( 50, new[] { typeof( Imp ) }, "imps" ) );
|
||||
|
||||
Rewards.Add( new DummyReward( 1074873 ) ); // The opportunity to prove yourself worthy of learning to Summon Fiends. (Sufficient spellweaving skill is required to cast the spell)
|
||||
}
|
||||
|
|
@ -425,7 +425,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
RefusalMessage = 1074314; // If you're not up for it, so be it.
|
||||
InProgressMessage = 1074318; // You need to vanquish an arcane daemon before the imps will fear you properly.
|
||||
|
||||
Objectives.Add( new KillObjective( 1, new Type[] { typeof( ArcaneDaemon ) }, 1029733 ) ); // arcane demon
|
||||
Objectives.Add( new KillObjective( 1, new[] { typeof( ArcaneDaemon ) }, 1029733 ) ); // arcane demon
|
||||
|
||||
Rewards.Add( new ItemReward( 1031608, typeof( SummonFiendScroll ) ) ); // Summon Fiend
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.MLQuests.Items
|
|||
{
|
||||
public abstract class BaseCraftmansSatchel : Backpack
|
||||
{
|
||||
protected static readonly Type[] m_TalismanType = new Type[] { typeof( RandomTalisman ) };
|
||||
protected static readonly Type[] m_TalismanType = new[] { typeof( RandomTalisman ) };
|
||||
|
||||
public BaseCraftmansSatchel()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ namespace Server.Engines.MLQuests
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Simple;
|
||||
Commands = new string[] { "ViewQuests" };
|
||||
Commands = new[] { "ViewQuests" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "ViewQuests";
|
||||
Description = "Displays a targeted mobile's quest overview.";
|
||||
|
|
@ -209,7 +209,7 @@ namespace Server.Engines.MLQuests
|
|||
{
|
||||
AccessLevel = AccessLevel.GameMaster;
|
||||
Supports = CommandSupport.Simple;
|
||||
Commands = new string[] { "ViewMLContext" };
|
||||
Commands = new[] { "ViewMLContext" };
|
||||
ObjectTypes = ObjectTypes.Mobiles;
|
||||
Usage = "ViewMLContext";
|
||||
Description = "Opens the ML quest context for a targeted mobile.";
|
||||
|
|
@ -301,7 +301,7 @@ namespace Server.Engines.MLQuests
|
|||
if ( found.Count == 0 )
|
||||
m.SendMessage( "No matching objects found." );
|
||||
else
|
||||
m.SendGump( new InterfaceGump( m, new string[] { "Object" }, found, 0, null ) );
|
||||
m.SendGump( new InterfaceGump( m, new[] { "Object" }, found, 0, null ) );
|
||||
}
|
||||
|
||||
private static bool FindQuest( IQuestGiver quester, PlayerMobile pm, MLQuestContext context, out MLQuest quest, out MLQuestInstance entry )
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Engines.MyRunUO
|
|||
private static Layer ChainTunic = (Layer)254;
|
||||
private static Layer LeatherShorts = (Layer)253;
|
||||
|
||||
private static Layer[] m_DesiredLayerOrder = new Layer[]
|
||||
private static Layer[] m_DesiredLayerOrder = new[]
|
||||
{
|
||||
Layer.Cloak,
|
||||
Layer.Bracelet,
|
||||
|
|
|
|||
|
|
@ -298,7 +298,7 @@ namespace Server.Engines.MyRunUO
|
|||
|
||||
public void ExecuteNonQueryIfNull( string select, string insert )
|
||||
{
|
||||
m_Command.Enqueue( new string[]{ select, insert } );
|
||||
m_Command.Enqueue( new[]{ select, insert } );
|
||||
}
|
||||
|
||||
private void AppendCharEntity( string input, int charIndex, ref StringBuilder sb, char c )
|
||||
|
|
|
|||
|
|
@ -395,7 +395,7 @@ namespace Server.Engines.Plants
|
|||
if ( from.Backpack == null )
|
||||
return null;
|
||||
|
||||
Item[] items = from.Backpack.FindItemsByType( new Type[] { typeof( BasePotion ), typeof( PotionKeg ) } );
|
||||
Item[] items = from.Backpack.FindItemsByType( new[] { typeof( BasePotion ), typeof( PotionKeg ) } );
|
||||
|
||||
foreach ( Item item in items )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -158,9 +158,9 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
private static TilesAndEffect[] m_Table = new TilesAndEffect[]
|
||||
private static TilesAndEffect[] m_Table = new[]
|
||||
{
|
||||
new TilesAndEffect( new int[]
|
||||
new TilesAndEffect( new[]
|
||||
{
|
||||
0x71, 0x7C,
|
||||
0x82, 0xA7,
|
||||
|
|
@ -197,14 +197,14 @@ namespace Server.Items
|
|||
},
|
||||
typeof( DirtGreenThornsEffect ) ),
|
||||
|
||||
new TilesAndEffect( new int[]
|
||||
new TilesAndEffect( new[]
|
||||
{
|
||||
0x9, 0x15,
|
||||
0x150, 0x15C
|
||||
},
|
||||
typeof( FurrowsGreenThornsEffect ) ),
|
||||
|
||||
new TilesAndEffect( new int[]
|
||||
new TilesAndEffect( new[]
|
||||
{
|
||||
0x9C4, 0x9EB,
|
||||
0x3D65, 0x3D65,
|
||||
|
|
@ -216,7 +216,7 @@ namespace Server.Items
|
|||
},
|
||||
typeof( SwampGreenThornsEffect ) ),
|
||||
|
||||
new TilesAndEffect( new int[]
|
||||
new TilesAndEffect( new[]
|
||||
{
|
||||
0x10C, 0x10F,
|
||||
0x114, 0x117,
|
||||
|
|
@ -235,7 +235,7 @@ namespace Server.Items
|
|||
},
|
||||
typeof( SnowGreenThornsEffect ) ),
|
||||
|
||||
new TilesAndEffect( new int[]
|
||||
new TilesAndEffect( new[]
|
||||
{
|
||||
0x16, 0x3A,
|
||||
0x44, 0x4B,
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ namespace Server.Engines.Plants
|
|||
return contains;
|
||||
}
|
||||
|
||||
private static int[] m_DirtPatchTiles = new int[]
|
||||
private static int[] m_DirtPatchTiles = new[]
|
||||
{
|
||||
0x9, 0x15,
|
||||
0x71, 0x7C,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Plants
|
|||
{
|
||||
public class PlantResourceInfo
|
||||
{
|
||||
private static PlantResourceInfo[] m_ResourceList = new PlantResourceInfo[]
|
||||
private static PlantResourceInfo[] m_ResourceList = new[]
|
||||
{
|
||||
new PlantResourceInfo( PlantType.ElephantEarPlant, PlantHue.BrightRed, typeof( RedLeaves ) ),
|
||||
new PlantResourceInfo( PlantType.PonytailPalm, PlantHue.BrightRed, typeof( RedLeaves ) ),
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ namespace Server.Engines.Plants
|
|||
|
||||
public class PlantTypeInfo
|
||||
{
|
||||
private static PlantTypeInfo[] m_Table = new PlantTypeInfo[]
|
||||
private static PlantTypeInfo[] m_Table = new[]
|
||||
{
|
||||
new PlantTypeInfo( 0xC83, 0, 0, PlantType.CampionFlowers, false, true, true, true, PlantCategory.Default ),
|
||||
new PlantTypeInfo( 0xC86, 0, 0, PlantType.Poppies, false, true, true, true, PlantCategory.Default ),
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Ambitious
|
|||
{
|
||||
public class AmbitiousQueenQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Ambitious.DontOfferConversation ),
|
||||
typeof( Ambitious.AcceptConversation ),
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Collector
|
|||
{
|
||||
public class CollectorQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Collector.DontOfferConversation ),
|
||||
typeof( Collector.DeclineConversation ),
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ namespace Server.Engines.Quests.Collector
|
|||
|
||||
public class ImageTypeInfo
|
||||
{
|
||||
private static readonly ImageTypeInfo[] m_Table = new ImageTypeInfo[]
|
||||
private static readonly ImageTypeInfo[] m_Table = new[]
|
||||
{
|
||||
new ImageTypeInfo( 9734, typeof( Betrayer ), 75, 45 ),
|
||||
new ImageTypeInfo( 9735, typeof( Bogling ), 75, 45 ),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Engines.Quests.Collector
|
|||
{
|
||||
public class Obsidian : Item
|
||||
{
|
||||
private static readonly string[] m_Names = new string[]
|
||||
private static readonly string[] m_Names = new[]
|
||||
{
|
||||
null,
|
||||
"an aggressive cavalier",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
public class EnchantedSextant : Item
|
||||
{
|
||||
//TODO: Trammel/Haven
|
||||
private static readonly Point2D[] m_TrammelBanks = new Point2D[]
|
||||
private static readonly Point2D[] m_TrammelBanks = new[]
|
||||
{
|
||||
new Point2D( 652, 820 ),
|
||||
new Point2D( 1813, 2825 ),
|
||||
|
|
@ -27,7 +27,7 @@ namespace Server.Items
|
|||
new Point2D( 5669, 3131 )
|
||||
};
|
||||
|
||||
private static readonly Point2D[] m_FeluccaBanks = new Point2D[]
|
||||
private static readonly Point2D[] m_FeluccaBanks = new[]
|
||||
{
|
||||
new Point2D( 652, 820 ),
|
||||
new Point2D( 1813, 2825 ),
|
||||
|
|
@ -49,7 +49,7 @@ namespace Server.Items
|
|||
new Point2D( 5669, 3131 )
|
||||
};
|
||||
|
||||
private static readonly Point2D[] m_IlshenarBanks = new Point2D[]
|
||||
private static readonly Point2D[] m_IlshenarBanks = new[]
|
||||
{
|
||||
new Point2D( 854, 680 ),
|
||||
new Point2D( 855, 603 ),
|
||||
|
|
@ -57,7 +57,7 @@ namespace Server.Items
|
|||
new Point2D( 1610, 556 )
|
||||
};
|
||||
|
||||
private static readonly Point2D[] m_MalasBanks = new Point2D[]
|
||||
private static readonly Point2D[] m_MalasBanks = new[]
|
||||
{
|
||||
new Point2D( 996, 519 ),
|
||||
new Point2D( 2048, 1345 )
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace Server.Engines.Quests
|
|||
|
||||
public abstract class QuestSystem
|
||||
{
|
||||
public static readonly Type[] QuestTypes = new Type[]
|
||||
public static readonly Type[] QuestTypes = new[]
|
||||
{
|
||||
typeof( Doom.TheSummoningQuest ),
|
||||
typeof( Necro.DarkTidesQuest ),
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public override object Message => 1060099;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1026153, 6178 ), // teleporter
|
||||
new QuestItemInfo( 1049117, 4036 ), // Horn of Retreat
|
||||
|
|
@ -49,7 +49,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public override object Message => 1060103;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1026153, 6178 ) // teleporter
|
||||
};
|
||||
|
|
@ -98,7 +98,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public override object Message => 1060110;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1023643, 8787 ) // spellbook
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public class DarkTidesQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Necro.AcceptConversation ),
|
||||
typeof( Necro.AnimateMaabusCorpseObjective ),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public override object Message => 1060102;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1023643, 8787 ) // spellbook
|
||||
};
|
||||
|
|
@ -116,7 +116,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public override object Message => 1060109;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1023676, 3679 ) // glowing rune
|
||||
};
|
||||
|
|
@ -197,7 +197,7 @@ namespace Server.Engines.Quests.Necro
|
|||
{
|
||||
public override object Message => 1060115;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1026153, 6178 ) // teleporter
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Ninja
|
|||
{
|
||||
public class EminosUndertakingQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Ninja.AcceptConversation ),
|
||||
typeof( Ninja.FindZoelConversation ),
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Ninja
|
|||
{
|
||||
public class HiddenFigure : BaseQuester
|
||||
{
|
||||
public static int[] Messages = new int[]
|
||||
public static int[] Messages = new[]
|
||||
{
|
||||
1063191, // They won<6F>t find me here.
|
||||
1063192 // Ah, a quiet hideout.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Samurai
|
|||
{
|
||||
public class HaochisTrialsQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Samurai.AcceptConversation ),
|
||||
typeof( Samurai.RadarConversation ),
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Matriarch
|
|||
{
|
||||
public class SolenMatriarchQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Matriarch.DontOfferConversation ),
|
||||
typeof( Matriarch.AcceptConversation ),
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ namespace Server.Engines.Quests.Naturalist
|
|||
{
|
||||
public class NestArea
|
||||
{
|
||||
private static readonly NestArea[] m_Areas = new NestArea[]
|
||||
private static readonly NestArea[] m_Areas = new[]
|
||||
{
|
||||
new NestArea( false, new Rectangle2D( 5861, 1787, 26, 25 ) ),
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Naturalist
|
|||
{
|
||||
public class StudyOfSolenQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( StudyNestsObjective ),
|
||||
typeof( ReturnToNaturalistObjective ),
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Zento
|
|||
{
|
||||
public class TerribleHatchlingsQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( AcceptConversation ),
|
||||
typeof( DirectionConversation ),
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace Server.Engines.Quests.Doom
|
|||
Delete();
|
||||
}
|
||||
|
||||
private static int[] m_Offsets = new int[]
|
||||
private static int[] m_Offsets = new[]
|
||||
{
|
||||
-1, -1,
|
||||
-1, 0,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Doom
|
|||
{
|
||||
public class TheSummoningQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Doom.AcceptConversation ),
|
||||
typeof( Doom.CollectBonesObjective ),
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ namespace Server.Engines.Quests.Haven
|
|||
}
|
||||
}
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1023676, 0xE68 ) // glowing rune
|
||||
};
|
||||
|
|
@ -214,7 +214,7 @@ namespace Server.Engines.Quests.Haven
|
|||
}
|
||||
}
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1026153, 0x1822 ), // teleporter
|
||||
new QuestItemInfo( 1048032, 0xE76 ) // a bag
|
||||
|
|
@ -291,7 +291,7 @@ namespace Server.Engines.Quests.Haven
|
|||
}
|
||||
}
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1023637, 0xE34 ) // scroll
|
||||
};
|
||||
|
|
@ -312,7 +312,7 @@ namespace Server.Engines.Quests.Haven
|
|||
{
|
||||
public override object Message => 1049325;
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1048030, 0x14EB ), // a Treasure Map
|
||||
new QuestItemInfo( 1023969, 0xF81 ), // Fertile Dirt
|
||||
|
|
@ -401,7 +401,7 @@ namespace Server.Engines.Quests.Haven
|
|||
}
|
||||
}
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1023965, 0xF7D ), // Daemon Blood
|
||||
new QuestItemInfo( 1022581, 0xA22 ), // lantern
|
||||
|
|
@ -469,12 +469,12 @@ namespace Server.Engines.Quests.Haven
|
|||
}
|
||||
}
|
||||
|
||||
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_Info = new[]
|
||||
{
|
||||
new QuestItemInfo( 1017412, 0xF80 ), // Daemon Bone
|
||||
};
|
||||
|
||||
private static QuestItemInfo[] m_InfoPaladin = new QuestItemInfo[]
|
||||
private static QuestItemInfo[] m_InfoPaladin = new[]
|
||||
{
|
||||
new QuestItemInfo( 1017412, 0xF80 ), // Daemon Bone
|
||||
new QuestItemInfo( 1060577, 0x1F14 ), // Recall Rune
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Haven
|
|||
{
|
||||
public class UzeraanTurmoilQuest : QuestSystem
|
||||
{
|
||||
private static Type[] m_TypeReferenceTable = new Type[]
|
||||
private static Type[] m_TypeReferenceTable = new[]
|
||||
{
|
||||
typeof( Haven.AcceptConversation ),
|
||||
typeof( Haven.UzeraanTitheConversation ),
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue