fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221)
### BREAKING CHANGE ### The constructor for `TextDefinition` has been removed. Instead use `TextDefinition.Of()` or cast the integer/string to TextDefinition.
This commit is contained in:
parent
213b7025af
commit
910e06767b
50 changed files with 790 additions and 722 deletions
|
|
@ -42,44 +42,44 @@ namespace Server.Factions
|
|||
new(
|
||||
SkillName.Inscribe,
|
||||
90.0,
|
||||
new TextDefinition(1060773, "Scribe"),
|
||||
new TextDefinition(1011468, "SCRIBE"),
|
||||
new TextDefinition(1010121, "You now have the faction title of scribe")
|
||||
1060773, // Scribe
|
||||
1011468, // SCRIBE
|
||||
1010121 // You now have the faction title of scribe
|
||||
),
|
||||
new(
|
||||
SkillName.Carpentry,
|
||||
90.0,
|
||||
new TextDefinition(1060774, "Carpenter"),
|
||||
new TextDefinition(1011469, "CARPENTER"),
|
||||
new TextDefinition(1010122, "You now have the faction title of carpenter")
|
||||
1060774, // Carpenter
|
||||
1011469, // CARPENTER
|
||||
1010122 // You now have the faction title of carpenter
|
||||
),
|
||||
new(
|
||||
SkillName.Tinkering,
|
||||
90.0,
|
||||
new TextDefinition(1022984, "Tinker"),
|
||||
new TextDefinition(1011470, "TINKER"),
|
||||
new TextDefinition(1010123, "You now have the faction title of tinker")
|
||||
1022984, // Tinker
|
||||
1011470, // TINKER
|
||||
1010123 // You now have the faction title of tinker
|
||||
),
|
||||
new(
|
||||
SkillName.Blacksmith,
|
||||
90.0,
|
||||
new TextDefinition(1023016, "Blacksmith"),
|
||||
new TextDefinition(1011471, "BLACKSMITH"),
|
||||
new TextDefinition(1010124, "You now have the faction title of blacksmith")
|
||||
1023016, // Blacksmith
|
||||
1011471, // BLACKSMITH
|
||||
1010124 // You now have the faction title of blacksmith
|
||||
),
|
||||
new(
|
||||
SkillName.Fletching,
|
||||
90.0,
|
||||
new TextDefinition(1023022, "Bowyer"),
|
||||
new TextDefinition(1011472, "BOWYER"),
|
||||
new TextDefinition(1010125, "You now have the faction title of Bowyer")
|
||||
1023022, // Bowyer
|
||||
1011472, // BOWYER
|
||||
1010125 // You now have the faction title of Bowyer
|
||||
),
|
||||
new(
|
||||
SkillName.Tailoring,
|
||||
90.0,
|
||||
new TextDefinition(1022982, "Tailor"),
|
||||
new TextDefinition(1018300, "TAILOR"),
|
||||
new TextDefinition(1042162, "You now have the faction title of Tailor")
|
||||
1022982, // Tailor
|
||||
1018300, // TAILOR
|
||||
1042162 // You now have the faction title of Tailor
|
||||
)
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@ namespace Server.Factions
|
|||
5000,
|
||||
1000,
|
||||
10,
|
||||
new TextDefinition(1011549, "POTION BOTTLE VENDOR"),
|
||||
new TextDefinition(1011544, "Buy Potion Bottle Vendor")
|
||||
1011549, // POTION BOTTLE VENDOR
|
||||
1011544 // Buy Potion Bottle Vendor
|
||||
),
|
||||
new(
|
||||
typeof(FactionBoardVendor),
|
||||
|
|
@ -51,8 +51,8 @@ namespace Server.Factions
|
|||
3000,
|
||||
500,
|
||||
10,
|
||||
new TextDefinition(1011552, "WOOD VENDOR"),
|
||||
new TextDefinition(1011545, "Buy Wooden Board Vendor")
|
||||
1011552, // WOOD VENDOR
|
||||
1011545 // Buy Wooden Board Vendor
|
||||
),
|
||||
new(
|
||||
typeof(FactionOreVendor),
|
||||
|
|
@ -60,8 +60,8 @@ namespace Server.Factions
|
|||
3000,
|
||||
500,
|
||||
10,
|
||||
new TextDefinition(1011553, "IRON ORE VENDOR"),
|
||||
new TextDefinition(1011546, "Buy Iron Ore Vendor")
|
||||
1011553, // IRON ORE VENDOR
|
||||
1011546 // Buy Iron Ore Vendor
|
||||
),
|
||||
new(
|
||||
typeof(FactionReagentVendor),
|
||||
|
|
@ -69,8 +69,8 @@ namespace Server.Factions
|
|||
5000,
|
||||
1000,
|
||||
10,
|
||||
new TextDefinition(1011554, "REAGENT VENDOR"),
|
||||
new TextDefinition(1011547, "Buy Reagent Vendor")
|
||||
1011554, // REAGENT VENDOR
|
||||
1011547 // Buy Reagent Vendor
|
||||
),
|
||||
new(
|
||||
typeof(FactionHorseVendor),
|
||||
|
|
@ -78,8 +78,8 @@ namespace Server.Factions
|
|||
5000,
|
||||
1000,
|
||||
1,
|
||||
new TextDefinition(1011556, "HORSE BREEDER"),
|
||||
new TextDefinition(1011555, "Buy Horse Breeder")
|
||||
1011556, // HORSE BREEDER
|
||||
1011555 // Buy Horse Breeder
|
||||
)
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,140 +1,139 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class CouncilOfMages : Faction
|
||||
{
|
||||
public class CouncilOfMages : Faction
|
||||
public CouncilOfMages()
|
||||
{
|
||||
public CouncilOfMages()
|
||||
{
|
||||
Instance = this;
|
||||
Instance = this;
|
||||
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
1,
|
||||
1325, // blue
|
||||
1310, // bluish white
|
||||
1325, // join stone : blue
|
||||
1325, // broadcast : blue
|
||||
0x77,
|
||||
0x3EB1, // war horse
|
||||
"Council of Mages",
|
||||
"council",
|
||||
"CoM",
|
||||
new TextDefinition(1011535, "COUNCIL OF MAGES"),
|
||||
new TextDefinition(1060770, "Council of Mages faction"),
|
||||
new TextDefinition(1011422, "<center>COUNCIL OF MAGES</center>"),
|
||||
new TextDefinition(
|
||||
1011449,
|
||||
"The council of Mages have their roots in the city of Moonglow, where " +
|
||||
"they once convened. They began as a small movement, dedicated to " +
|
||||
"calling forth the Stranger, who saved the lands once before. A " +
|
||||
"series of war and murders and misbegotten trials by those loyal to " +
|
||||
"Lord British has caused the group to take up the banner of war."
|
||||
),
|
||||
new TextDefinition(1011455, "This city is controlled by the Council of Mages."),
|
||||
new TextDefinition(1042253, "This sigil has been corrupted by the Council of Mages"),
|
||||
new TextDefinition(1041044, "The faction signup stone for the Council of Mages"),
|
||||
new TextDefinition(1041382, "The Faction Stone of the Council of Mages"),
|
||||
new TextDefinition(1011464, ": Council of Mages"),
|
||||
new TextDefinition(1005187, "Members of the Council of Mages will now be ignored."),
|
||||
new TextDefinition(1005188, "Members of the Council of Mages will now be warned to leave."),
|
||||
new TextDefinition(1005189, "Members of the Council of Mages will now be beaten with a stick."),
|
||||
// Moonglow
|
||||
new StrongholdDefinition(
|
||||
new[]
|
||||
{
|
||||
new Rectangle2D(4463, 1487, 15, 35),
|
||||
new Rectangle2D(4450, 1522, 35, 48)
|
||||
},
|
||||
new Point3D(4469, 1486, 0),
|
||||
new Point3D(4457, 1544, 0),
|
||||
new[]
|
||||
{
|
||||
new Point3D(4464, 1534, 21),
|
||||
new Point3D(4470, 1536, 21),
|
||||
new Point3D(4468, 1534, 21),
|
||||
new Point3D(4470, 1534, 21),
|
||||
new Point3D(4468, 1536, 21),
|
||||
new Point3D(4466, 1534, 21),
|
||||
new Point3D(4466, 1536, 21),
|
||||
new Point3D(4464, 1536, 21)
|
||||
}
|
||||
),
|
||||
// Magincia
|
||||
/* new StrongholdDefinition(
|
||||
new Rectangle2D[]
|
||||
{
|
||||
new Rectangle2D( 3756, 2232, 4, 23 ),
|
||||
new Rectangle2D( 3760, 2227, 60, 28 ),
|
||||
new Rectangle2D( 3782, 2219, 18, 8 ),
|
||||
new Rectangle2D( 3778, 2255, 35, 17 )
|
||||
},
|
||||
new Point3D( 3750, 2241, 20 ),
|
||||
new Point3D( 3795, 2259, 20 ),
|
||||
new Point3D[]
|
||||
{
|
||||
new Point3D( 3793, 2255, 20 ),
|
||||
new Point3D( 3793, 2252, 20 ),
|
||||
new Point3D( 3793, 2249, 20 ),
|
||||
new Point3D( 3793, 2246, 20 ),
|
||||
new Point3D( 3797, 2255, 20 ),
|
||||
new Point3D( 3797, 2252, 20 ),
|
||||
new Point3D( 3797, 2249, 20 ),
|
||||
new Point3D( 3797, 2246, 20 )
|
||||
} ), */
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
1,
|
||||
1325, // blue
|
||||
1310, // bluish white
|
||||
1325, // join stone : blue
|
||||
1325, // broadcast : blue
|
||||
0x77,
|
||||
0x3EB1, // war horse
|
||||
"Council of Mages",
|
||||
"council",
|
||||
"CoM",
|
||||
1011535, // COUNCIL OF MAGES
|
||||
1060770, // Council of Mages faction
|
||||
1011422, // <center>COUNCIL OF MAGES</center>
|
||||
/*
|
||||
* The council of Mages have their roots in the city of Moonglow, where
|
||||
* they once convened. They began as a small movement, dedicated to
|
||||
* calling forth the Stranger, who saved the lands once before. A
|
||||
* series of war and murders and misbegotten trials by those loyal to
|
||||
* Lord British has caused the group to take up the banner of war.
|
||||
*/
|
||||
1011449,
|
||||
1011455, // This city is controlled by the Council of Mages.
|
||||
1042253, // This sigil has been corrupted by the Council of Mages
|
||||
1041044, // The faction signup stone for the Council of Mages
|
||||
1041382, // The Faction Stone of the Council of Mages
|
||||
1011464, // : Council of Mages
|
||||
1005187, // Members of the Council of Mages will now be ignored.
|
||||
1005188, // Members of the Council of Mages will now be warned to leave.
|
||||
1005189, // Members of the Council of Mages will now be beaten with a stick.
|
||||
// Moonglow
|
||||
new StrongholdDefinition(
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, new TextDefinition(1060789, "Inquisitor of the Council")),
|
||||
new RankDefinition(9, 950, 7, new TextDefinition(1060788, "Archon of Principle")),
|
||||
new RankDefinition(8, 900, 6, new TextDefinition(1060787, "Luminary")),
|
||||
new RankDefinition(7, 800, 6, new TextDefinition(1060787, "Luminary")),
|
||||
new RankDefinition(6, 700, 5, new TextDefinition(1060786, "Diviner")),
|
||||
new RankDefinition(5, 600, 5, new TextDefinition(1060786, "Diviner")),
|
||||
new RankDefinition(4, 500, 5, new TextDefinition(1060786, "Diviner")),
|
||||
new RankDefinition(3, 400, 4, new TextDefinition(1060785, "Mystic")),
|
||||
new RankDefinition(2, 200, 4, new TextDefinition(1060785, "Mystic")),
|
||||
new RankDefinition(1, 0, 4, new TextDefinition(1060785, "Mystic"))
|
||||
new Rectangle2D(4463, 1487, 15, 35),
|
||||
new Rectangle2D(4450, 1522, 35, 48)
|
||||
},
|
||||
new Point3D(4469, 1486, 0),
|
||||
new Point3D(4457, 1544, 0),
|
||||
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")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionSorceress),
|
||||
0x0E89,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
new TextDefinition(1011507, "SORCERESS"),
|
||||
new TextDefinition(1011501, "Hire Sorceress")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionWizard),
|
||||
0x13F8,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
new TextDefinition(1011508, "ELDER WIZARD"),
|
||||
new TextDefinition(1011502, "Hire Elder Wizard")
|
||||
)
|
||||
new Point3D(4464, 1534, 21),
|
||||
new Point3D(4470, 1536, 21),
|
||||
new Point3D(4468, 1534, 21),
|
||||
new Point3D(4470, 1534, 21),
|
||||
new Point3D(4468, 1536, 21),
|
||||
new Point3D(4466, 1534, 21),
|
||||
new Point3D(4466, 1536, 21),
|
||||
new Point3D(4464, 1536, 21)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
),
|
||||
// Magincia
|
||||
/* new StrongholdDefinition(
|
||||
new Rectangle2D[]
|
||||
{
|
||||
new Rectangle2D( 3756, 2232, 4, 23 ),
|
||||
new Rectangle2D( 3760, 2227, 60, 28 ),
|
||||
new Rectangle2D( 3782, 2219, 18, 8 ),
|
||||
new Rectangle2D( 3778, 2255, 35, 17 )
|
||||
},
|
||||
new Point3D( 3750, 2241, 20 ),
|
||||
new Point3D( 3795, 2259, 20 ),
|
||||
new Point3D[]
|
||||
{
|
||||
new Point3D( 3793, 2255, 20 ),
|
||||
new Point3D( 3793, 2252, 20 ),
|
||||
new Point3D( 3793, 2249, 20 ),
|
||||
new Point3D( 3793, 2246, 20 ),
|
||||
new Point3D( 3797, 2255, 20 ),
|
||||
new Point3D( 3797, 2252, 20 ),
|
||||
new Point3D( 3797, 2249, 20 ),
|
||||
new Point3D( 3797, 2246, 20 )
|
||||
} ), */
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, 1060789), // Inquisitor of the Council
|
||||
new RankDefinition(9, 950, 7, 1060788), // Archon of Principle
|
||||
new RankDefinition(8, 900, 6, 1060787), // Luminary
|
||||
new RankDefinition(7, 800, 6, 1060787), // Luminary
|
||||
new RankDefinition(6, 700, 5, 1060786), // Diviner
|
||||
new RankDefinition(5, 600, 5, 1060786), // Diviner
|
||||
new RankDefinition(4, 500, 5, 1060786), // Diviner
|
||||
new RankDefinition(3, 400, 4, 1060785), // Mystic
|
||||
new RankDefinition(2, 200, 4, 1060785), // Mystic
|
||||
new RankDefinition(1, 0, 4, 1060785) // Mystic
|
||||
},
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition(
|
||||
typeof(FactionHenchman),
|
||||
0x1403,
|
||||
5000,
|
||||
1000,
|
||||
10,
|
||||
1011526, // HENCHMAN
|
||||
1011510 // Hire Henchman
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionMercenary),
|
||||
0x0F62,
|
||||
6000,
|
||||
2000,
|
||||
10,
|
||||
1011527, // MERCENARY
|
||||
1011511 // Hire Mercenary
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionSorceress),
|
||||
0x0E89,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
1011507, // SORCERESS
|
||||
1011501 // Hire Sorceress
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionWizard),
|
||||
0x13F8,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
1011508, // ELDER WIZARD
|
||||
1011502 // Hire Elder Wizard
|
||||
)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,117 +1,116 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Minax : Faction
|
||||
{
|
||||
public class Minax : Faction
|
||||
public Minax()
|
||||
{
|
||||
public Minax()
|
||||
{
|
||||
Instance = this;
|
||||
Instance = this;
|
||||
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
0,
|
||||
1645, // dark red
|
||||
1109, // shadow
|
||||
1645, // join stone : dark red
|
||||
1645, // broadcast : dark red
|
||||
0x78,
|
||||
0x3EAF, // war horse
|
||||
"Minax",
|
||||
"minax",
|
||||
"Min",
|
||||
new TextDefinition(1011534, "MINAX"),
|
||||
new TextDefinition(1060769, "Minax faction"),
|
||||
new TextDefinition(1011421, "<center>FOLLOWERS OF MINAX</center>"),
|
||||
new TextDefinition(
|
||||
1011448,
|
||||
"The followers of Minax have taken control in the old lands, " +
|
||||
"and intend to hold it for as long as they can. Allying themselves " +
|
||||
"with orcs, headless, gazers, trolls, and other beasts, they seek " +
|
||||
"revenge against Lord British, for slights both real and imagined, " +
|
||||
"though some of the followers wish only to wreak havoc on the " +
|
||||
"unsuspecting populace."
|
||||
),
|
||||
new TextDefinition(1011453, "This city is controlled by Minax."),
|
||||
new TextDefinition(1042252, "This sigil has been corrupted by the Followers of Minax"),
|
||||
new TextDefinition(1041043, "The faction signup stone for the Followers of Minax"),
|
||||
new TextDefinition(1041381, "The Faction Stone of Minax"),
|
||||
new TextDefinition(1011463, ": Minax"),
|
||||
new TextDefinition(1005190, "Followers of Minax will now be ignored."),
|
||||
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[]
|
||||
{
|
||||
new Rectangle2D(1097, 2570, 70, 50)
|
||||
},
|
||||
new Point3D(1172, 2593, 0),
|
||||
new Point3D(1117, 2587, 18),
|
||||
new[]
|
||||
{
|
||||
new Point3D(1113, 2601, 18),
|
||||
new Point3D(1113, 2598, 18),
|
||||
new Point3D(1113, 2595, 18),
|
||||
new Point3D(1113, 2592, 18),
|
||||
new Point3D(1116, 2601, 18),
|
||||
new Point3D(1116, 2598, 18),
|
||||
new Point3D(1116, 2595, 18),
|
||||
new Point3D(1116, 2592, 18)
|
||||
}
|
||||
),
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
0,
|
||||
1645, // dark red
|
||||
1109, // shadow
|
||||
1645, // join stone : dark red
|
||||
1645, // broadcast : dark red
|
||||
0x78,
|
||||
0x3EAF, // war horse
|
||||
"Minax",
|
||||
"minax",
|
||||
"Min",
|
||||
1011534, // MINAX
|
||||
1060769, // Minax faction
|
||||
1011421, // <center>FOLLOWERS OF MINAX</center>
|
||||
/*
|
||||
* The followers of Minax have taken control in the old lands,
|
||||
* and intend to hold it for as long as they can. Allying themselves
|
||||
* with orcs, headless, gazers, trolls, and other beasts, they seek
|
||||
* revenge against Lord British, for slights both real and imagined,
|
||||
* though some of the followers wish only to wreak havoc on the
|
||||
* unsuspecting populace."
|
||||
*/
|
||||
1011448,
|
||||
1011453, // This city is controlled by Minax.
|
||||
1042252, // This sigil has been corrupted by the Followers of Minax
|
||||
1041043, // The faction signup stone for the Followers of Minax
|
||||
1041381, // The Faction Stone of Minax
|
||||
1011463, // : Minax
|
||||
1005190, // Followers of Minax will now be ignored.
|
||||
1005191, // Followers of Minax will now be told to go away.
|
||||
1005192, // Followers of Minax will now be hanged by their toes.
|
||||
new StrongholdDefinition(
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, new TextDefinition(1060784, "Avenger of Mondain")),
|
||||
new RankDefinition(9, 950, 7, new TextDefinition(1060783, "Dread Knight")),
|
||||
new RankDefinition(8, 900, 6, new TextDefinition(1060782, "Warlord")),
|
||||
new RankDefinition(7, 800, 6, new TextDefinition(1060782, "Warlord")),
|
||||
new RankDefinition(6, 700, 5, new TextDefinition(1060781, "Executioner")),
|
||||
new RankDefinition(5, 600, 5, new TextDefinition(1060781, "Executioner")),
|
||||
new RankDefinition(4, 500, 5, new TextDefinition(1060781, "Executioner")),
|
||||
new RankDefinition(3, 400, 4, new TextDefinition(1060780, "Defiler")),
|
||||
new RankDefinition(2, 200, 4, new TextDefinition(1060780, "Defiler")),
|
||||
new RankDefinition(1, 0, 4, new TextDefinition(1060780, "Defiler"))
|
||||
new Rectangle2D(1097, 2570, 70, 50)
|
||||
},
|
||||
new Point3D(1172, 2593, 0),
|
||||
new Point3D(1117, 2587, 18),
|
||||
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")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionBerserker),
|
||||
0x0F4B,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
new TextDefinition(1011505, "BERSERKER"),
|
||||
new TextDefinition(1011499, "Hire Berserker")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionDragoon),
|
||||
0x1439,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
new TextDefinition(1011506, "DRAGOON"),
|
||||
new TextDefinition(1011500, "Hire Dragoon")
|
||||
)
|
||||
new Point3D(1113, 2601, 18),
|
||||
new Point3D(1113, 2598, 18),
|
||||
new Point3D(1113, 2595, 18),
|
||||
new Point3D(1113, 2592, 18),
|
||||
new Point3D(1116, 2601, 18),
|
||||
new Point3D(1116, 2598, 18),
|
||||
new Point3D(1116, 2595, 18),
|
||||
new Point3D(1116, 2592, 18)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
),
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, 1060784), // Avenger of Mondain
|
||||
new RankDefinition(9, 950, 7, 1060783), // Dread Knight
|
||||
new RankDefinition(8, 900, 6, 1060782), // Warlord
|
||||
new RankDefinition(7, 800, 6, 1060782), // Warlord
|
||||
new RankDefinition(6, 700, 5, 1060781), // Executioner
|
||||
new RankDefinition(5, 600, 5, 1060781), // Executioner
|
||||
new RankDefinition(4, 500, 5, 1060781), // Executioner
|
||||
new RankDefinition(3, 400, 4, 1060780), // Defiler
|
||||
new RankDefinition(2, 200, 4, 1060780), // Defiler
|
||||
new RankDefinition(1, 0, 4, 1060780) // Defiler
|
||||
},
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition(
|
||||
typeof(FactionHenchman),
|
||||
0x1403,
|
||||
5000,
|
||||
1000,
|
||||
10,
|
||||
1011526, // HENCHMAN
|
||||
1011510 // Hire Henchman
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionMercenary),
|
||||
0x0F62,
|
||||
6000,
|
||||
2000,
|
||||
10,
|
||||
1011527, // MERCENARY
|
||||
1011511 // Hire Mercenary
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionBerserker),
|
||||
0x0F4B,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
1011505, // BERSERKER
|
||||
1011499 // Hire Berserker
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionDragoon),
|
||||
0x1439,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
1011506, // DRAGOON
|
||||
1011500 // Hire Dragoon
|
||||
)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,117 +1,116 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Shadowlords : Faction
|
||||
{
|
||||
public class Shadowlords : Faction
|
||||
public Shadowlords()
|
||||
{
|
||||
public Shadowlords()
|
||||
{
|
||||
Instance = this;
|
||||
Instance = this;
|
||||
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
3,
|
||||
1109, // shadow
|
||||
2211, // green
|
||||
1109, // join stone : shadow
|
||||
2211, // broadcast : green
|
||||
0x79,
|
||||
0x3EB0, // war horse
|
||||
"Shadowlords",
|
||||
"shadow",
|
||||
"SL",
|
||||
new TextDefinition(1011537, "SHADOWLORDS"),
|
||||
new TextDefinition(1060772, "Shadowlords faction"),
|
||||
new TextDefinition(1011424, "<center>SHADES OF DARKNESS</center>"),
|
||||
new TextDefinition(
|
||||
1011451,
|
||||
"The Shadow Lords are a faction that has sprung up within the ranks of " +
|
||||
"Minax. Comprised mostly of undead and those who would seek to be " +
|
||||
"necromancers, they pose a threat to both the sides of good and evil. " +
|
||||
"Their plans have disrupted the hold Minax has over Felucca, and their " +
|
||||
"ultimate goal is to destroy all life."
|
||||
),
|
||||
new TextDefinition(1011456, "This city is controlled by the Shadow Lords."),
|
||||
new TextDefinition(1042255, "This sigil has been corrupted by the Shadowlords"),
|
||||
new TextDefinition(1041046, "The faction signup stone for the Shadowlords"),
|
||||
new TextDefinition(1041384, "The Faction Stone of the Shadowlords"),
|
||||
new TextDefinition(1011466, ": Shadowlords"),
|
||||
new TextDefinition(1005184, "Minions of the Shadowlords will now be ignored."),
|
||||
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[]
|
||||
{
|
||||
new Rectangle2D(960, 688, 8, 9),
|
||||
new Rectangle2D(944, 697, 24, 23)
|
||||
},
|
||||
new Point3D(969, 768, 0),
|
||||
new Point3D(947, 713, 0),
|
||||
new[]
|
||||
{
|
||||
new Point3D(953, 713, 20),
|
||||
new Point3D(953, 709, 20),
|
||||
new Point3D(953, 705, 20),
|
||||
new Point3D(953, 701, 20),
|
||||
new Point3D(957, 713, 20),
|
||||
new Point3D(957, 709, 20),
|
||||
new Point3D(957, 705, 20),
|
||||
new Point3D(957, 701, 20)
|
||||
}
|
||||
),
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
3,
|
||||
1109, // shadow
|
||||
2211, // green
|
||||
1109, // join stone : shadow
|
||||
2211, // broadcast : green
|
||||
0x79,
|
||||
0x3EB0, // war horse
|
||||
"Shadowlords",
|
||||
"shadow",
|
||||
"SL",
|
||||
1011537, // SHADOWLORDS
|
||||
1060772, // Shadowlords faction
|
||||
1011424, // <center>SHADES OF DARKNESS</center>
|
||||
/*
|
||||
* The Shadow Lords are a faction that has sprung up within the ranks of
|
||||
* Minax. Comprised mostly of undead and those who would seek to be
|
||||
* necromancers, they pose a threat to both the sides of good and evil.
|
||||
* Their plans have disrupted the hold Minax has over Felucca, and their
|
||||
* ultimate goal is to destroy all life.
|
||||
*/
|
||||
1011451,
|
||||
1011456, // This city is controlled by the Shadow Lords.
|
||||
1042255, // This sigil has been corrupted by the Shadowlords
|
||||
1041046, // The faction signup stone for the Shadowlords
|
||||
1041384, // The Faction Stone of the Shadowlords
|
||||
1011466, // : Shadowlords
|
||||
1005184, // Minions of the Shadowlords will now be ignored.
|
||||
1005185, // Minions of the Shadowlords will now be warned of their impending deaths.
|
||||
1005186, // Minions of the Shadowlords will now be attacked at will.
|
||||
new StrongholdDefinition(
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, new TextDefinition(1060799, "Purveyor of Darkness")),
|
||||
new RankDefinition(9, 950, 7, new TextDefinition(1060798, "Agent of Evil")),
|
||||
new RankDefinition(8, 900, 6, new TextDefinition(1060797, "Bringer of Sorrow")),
|
||||
new RankDefinition(7, 800, 6, new TextDefinition(1060797, "Bringer of Sorrow")),
|
||||
new RankDefinition(6, 700, 5, new TextDefinition(1060796, "Keeper of Lies")),
|
||||
new RankDefinition(5, 600, 5, new TextDefinition(1060796, "Keeper of Lies")),
|
||||
new RankDefinition(4, 500, 5, new TextDefinition(1060796, "Keeper of Lies")),
|
||||
new RankDefinition(3, 400, 4, new TextDefinition(1060795, "Servant")),
|
||||
new RankDefinition(2, 200, 4, new TextDefinition(1060795, "Servant")),
|
||||
new RankDefinition(1, 0, 4, new TextDefinition(1060795, "Servant"))
|
||||
new Rectangle2D(960, 688, 8, 9),
|
||||
new Rectangle2D(944, 697, 24, 23)
|
||||
},
|
||||
new Point3D(969, 768, 0),
|
||||
new Point3D(947, 713, 0),
|
||||
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")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionDeathKnight),
|
||||
0x0F45,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
new TextDefinition(1011512, "DEATH KNIGHT"),
|
||||
new TextDefinition(1011503, "Hire Death Knight")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionNecromancer),
|
||||
0x13F8,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
new TextDefinition(1011513, "SHADOW MAGE"),
|
||||
new TextDefinition(1011504, "Hire Shadow Mage")
|
||||
)
|
||||
new Point3D(953, 713, 20),
|
||||
new Point3D(953, 709, 20),
|
||||
new Point3D(953, 705, 20),
|
||||
new Point3D(953, 701, 20),
|
||||
new Point3D(957, 713, 20),
|
||||
new Point3D(957, 709, 20),
|
||||
new Point3D(957, 705, 20),
|
||||
new Point3D(957, 701, 20)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
),
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, 1060799), // Purveyor of Darkness
|
||||
new RankDefinition(9, 950, 7, 1060798), // Agent of Evil
|
||||
new RankDefinition(8, 900, 6, 1060797), // Bringer of Sorrow
|
||||
new RankDefinition(7, 800, 6, 1060797), // Bringer of Sorrow
|
||||
new RankDefinition(6, 700, 5, 1060796), // Keeper of Lies
|
||||
new RankDefinition(5, 600, 5, 1060796), // Keeper of Lies
|
||||
new RankDefinition(4, 500, 5, 1060796), // Keeper of Lies
|
||||
new RankDefinition(3, 400, 4, 1060795), // Servant
|
||||
new RankDefinition(2, 200, 4, 1060795), // Servant
|
||||
new RankDefinition(1, 0, 4, 1060795) // Servant
|
||||
},
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition(
|
||||
typeof(FactionHenchman),
|
||||
0x1403,
|
||||
5000,
|
||||
1000,
|
||||
10,
|
||||
1011526, // HENCHMAN
|
||||
1011510 // Hire Henchman
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionMercenary),
|
||||
0x0F62,
|
||||
6000,
|
||||
2000,
|
||||
10,
|
||||
1011527, // MERCENARY
|
||||
1011511 // Hire Mercenary
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionDeathKnight),
|
||||
0x0F45,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
1011512, // DEATH KNIGHT
|
||||
1011503 // Hire Death Knight
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionNecromancer),
|
||||
0x13F8,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
1011513, // SHADOW MAGE
|
||||
1011504 // Hire Shadow Mage
|
||||
)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,122 +1,121 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class TrueBritannians : Faction
|
||||
{
|
||||
public class TrueBritannians : Faction
|
||||
public TrueBritannians()
|
||||
{
|
||||
public TrueBritannians()
|
||||
{
|
||||
Instance = this;
|
||||
Instance = this;
|
||||
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
2,
|
||||
1254, // dark purple
|
||||
2125, // gold
|
||||
2214, // join stone : gold
|
||||
2125, // broadcast : gold
|
||||
0x76,
|
||||
0x3EB2, // war horse
|
||||
"True Britannians",
|
||||
"true",
|
||||
"TB",
|
||||
new TextDefinition(1011536, "LORD BRITISH"),
|
||||
new TextDefinition(1060771, "True Britannians faction"),
|
||||
new TextDefinition(1011423, "<center>TRUE BRITANNIANS</center>"),
|
||||
new TextDefinition(
|
||||
1011450,
|
||||
"True Britannians are loyal to the throne of Lord British. They refuse " +
|
||||
"to give up their homelands to the vile Minax, and detest the Shadowlords " +
|
||||
"for their evil ways. In addition, the Council of Mages threatens the " +
|
||||
"existence of their ruler, and as such they have armed themselves, and " +
|
||||
"prepare for war with all."
|
||||
),
|
||||
new TextDefinition(1011454, "This city is controlled by Lord British."),
|
||||
new TextDefinition(1042254, "This sigil has been corrupted by the True Britannians"),
|
||||
new TextDefinition(1041045, "The faction signup stone for the True Britannians"),
|
||||
new TextDefinition(1041383, "The Faction Stone of the True Britannians"),
|
||||
new TextDefinition(1011465, ": True Britannians"),
|
||||
new TextDefinition(1005181, "Followers of Lord British will now be ignored."),
|
||||
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[]
|
||||
{
|
||||
new Rectangle2D(1292, 1556, 25, 25),
|
||||
new Rectangle2D(1292, 1676, 120, 25),
|
||||
new Rectangle2D(1388, 1556, 25, 25),
|
||||
new Rectangle2D(1317, 1563, 71, 18),
|
||||
new Rectangle2D(1300, 1581, 105, 95),
|
||||
new Rectangle2D(1405, 1612, 12, 21),
|
||||
new Rectangle2D(1405, 1633, 11, 5)
|
||||
},
|
||||
new Point3D(1419, 1622, 20),
|
||||
new Point3D(1330, 1621, 50),
|
||||
new[]
|
||||
{
|
||||
new Point3D(1328, 1627, 50),
|
||||
new Point3D(1328, 1621, 50),
|
||||
new Point3D(1334, 1627, 50),
|
||||
new Point3D(1334, 1621, 50),
|
||||
new Point3D(1340, 1627, 50),
|
||||
new Point3D(1340, 1621, 50),
|
||||
new Point3D(1345, 1621, 50),
|
||||
new Point3D(1345, 1627, 50)
|
||||
}
|
||||
),
|
||||
Definition =
|
||||
new FactionDefinition(
|
||||
2,
|
||||
1254, // dark purple
|
||||
2125, // gold
|
||||
2214, // join stone : gold
|
||||
2125, // broadcast : gold
|
||||
0x76,
|
||||
0x3EB2, // war horse
|
||||
"True Britannians",
|
||||
"true",
|
||||
"TB",
|
||||
1011536, // LORD BRITISH
|
||||
1060771, // True Britannians faction
|
||||
1011423, // <center>TRUE BRITANNIANS</center>
|
||||
/*
|
||||
* True Britannians are loyal to the throne of Lord British. They refuse
|
||||
* to give up their homelands to the vile Minax, and detest the Shadowlords
|
||||
* for their evil ways. In addition, the Council of Mages threatens the
|
||||
* existence of their ruler, and as such they have armed themselves, and
|
||||
* prepare for war with all.
|
||||
*/
|
||||
1011450,
|
||||
1011454, // This city is controlled by Lord British.
|
||||
1042254, // This sigil has been corrupted by the True Britannians
|
||||
1041045, // The faction signup stone for the True Britannians
|
||||
1041383, // The Faction Stone of the True Britannians
|
||||
1011465, // : True Britannians
|
||||
1005181, // Followers of Lord British will now be ignored.
|
||||
1005182, // Followers of Lord British will now be warned of their impending doom.
|
||||
1005183, // Followers of Lord British will now be attacked on sight.
|
||||
new StrongholdDefinition(
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, new TextDefinition(1060794, "Knight of the Codex")),
|
||||
new RankDefinition(9, 950, 7, new TextDefinition(1060793, "Knight of Virtue")),
|
||||
new RankDefinition(8, 900, 6, new TextDefinition(1060792, "Crusader")),
|
||||
new RankDefinition(7, 800, 6, new TextDefinition(1060792, "Crusader")),
|
||||
new RankDefinition(6, 700, 5, new TextDefinition(1060791, "Sentinel")),
|
||||
new RankDefinition(5, 600, 5, new TextDefinition(1060791, "Sentinel")),
|
||||
new RankDefinition(4, 500, 5, new TextDefinition(1060791, "Sentinel")),
|
||||
new RankDefinition(3, 400, 4, new TextDefinition(1060790, "Defender")),
|
||||
new RankDefinition(2, 200, 4, new TextDefinition(1060790, "Defender")),
|
||||
new RankDefinition(1, 0, 4, new TextDefinition(1060790, "Defender"))
|
||||
new Rectangle2D(1292, 1556, 25, 25),
|
||||
new Rectangle2D(1292, 1676, 120, 25),
|
||||
new Rectangle2D(1388, 1556, 25, 25),
|
||||
new Rectangle2D(1317, 1563, 71, 18),
|
||||
new Rectangle2D(1300, 1581, 105, 95),
|
||||
new Rectangle2D(1405, 1612, 12, 21),
|
||||
new Rectangle2D(1405, 1633, 11, 5)
|
||||
},
|
||||
new Point3D(1419, 1622, 20),
|
||||
new Point3D(1330, 1621, 50),
|
||||
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")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionKnight),
|
||||
0x0F4D,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
new TextDefinition(1011528, "KNIGHT"),
|
||||
new TextDefinition(1011497, "Hire Knight")
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionPaladin),
|
||||
0x143F,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
new TextDefinition(1011529, "PALADIN"),
|
||||
new TextDefinition(1011498, "Hire Paladin")
|
||||
)
|
||||
new Point3D(1328, 1627, 50),
|
||||
new Point3D(1328, 1621, 50),
|
||||
new Point3D(1334, 1627, 50),
|
||||
new Point3D(1334, 1621, 50),
|
||||
new Point3D(1340, 1627, 50),
|
||||
new Point3D(1340, 1621, 50),
|
||||
new Point3D(1345, 1621, 50),
|
||||
new Point3D(1345, 1627, 50)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
),
|
||||
new[]
|
||||
{
|
||||
new RankDefinition(10, 991, 8, 1060794), // Knight of the Codex
|
||||
new RankDefinition(9, 950, 7, 1060793), // Knight of Virtue
|
||||
new RankDefinition(8, 900, 6, 1060792), // Crusader
|
||||
new RankDefinition(7, 800, 6, 1060792), // Crusader
|
||||
new RankDefinition(6, 700, 5, 1060791), // Sentinel
|
||||
new RankDefinition(5, 600, 5, 1060791), // Sentinel
|
||||
new RankDefinition(4, 500, 5, 1060791), // Sentinel
|
||||
new RankDefinition(3, 400, 4, 1060790), // Defender
|
||||
new RankDefinition(2, 200, 4, 1060790), // Defender
|
||||
new RankDefinition(1, 0, 4, 1060790), // Defender
|
||||
},
|
||||
new[]
|
||||
{
|
||||
new GuardDefinition(
|
||||
typeof(FactionHenchman),
|
||||
0x1403,
|
||||
5000,
|
||||
1000,
|
||||
10,
|
||||
1011526, // HENCHMAN
|
||||
1011510 // Hire Henchman
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionMercenary),
|
||||
0x0F62,
|
||||
6000,
|
||||
2000,
|
||||
10,
|
||||
1011527, // MERCENARY
|
||||
1011511 // Hire Mercenary
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionKnight),
|
||||
0x0F4D,
|
||||
7000,
|
||||
3000,
|
||||
10,
|
||||
1011528, // KNIGHT
|
||||
1011497 // Hire Knight
|
||||
),
|
||||
new GuardDefinition(
|
||||
typeof(FactionPaladin),
|
||||
0x143F,
|
||||
8000,
|
||||
4000,
|
||||
10,
|
||||
1011529, // PALADIN
|
||||
1011498 // Hire Paladin
|
||||
)
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
public static Faction Instance { get; private set; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Britain : Town
|
||||
{
|
||||
public class Britain : Town
|
||||
{
|
||||
public Britain() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
0,
|
||||
0x1869,
|
||||
"Britain",
|
||||
"Britain",
|
||||
new TextDefinition(1011433, "BRITAIN"),
|
||||
new TextDefinition(1011561, "TOWN STONE FOR BRITAIN"),
|
||||
new TextDefinition(1041034, "The Faction Sigil Monolith of Britain"),
|
||||
new TextDefinition(1041404, "The Faction Town Sigil Monolith of Britain"),
|
||||
new TextDefinition(1041413, "Faction Town Stone of Britain"),
|
||||
new TextDefinition(1041395, "Faction Town Sigil of Britain"),
|
||||
new TextDefinition(1041386, "Corrupted Faction Town Sigil of Britain"),
|
||||
new Point3D(1592, 1680, 10),
|
||||
new Point3D(1588, 1676, 10)
|
||||
);
|
||||
}
|
||||
public Britain() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
0,
|
||||
0x1869,
|
||||
"Britain",
|
||||
"Britain",
|
||||
1011433, // BRITAIN
|
||||
1011561, // TOWN STONE FOR BRITAIN
|
||||
1041034, // The Faction Sigil Monolith of Britain
|
||||
1041404, // The Faction Town Sigil Monolith of Britain
|
||||
1041413, // Faction Town Stone of Britain
|
||||
1041395, // Faction Town Sigil of Britain
|
||||
1041386, // Corrupted Faction Town Sigil of Britain
|
||||
new Point3D(1592, 1680, 10),
|
||||
new Point3D(1588, 1676, 10)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Magincia : Town
|
||||
{
|
||||
public class Magincia : Town
|
||||
{
|
||||
public Magincia() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
7,
|
||||
0x1870,
|
||||
"Magincia",
|
||||
"Magincia",
|
||||
new TextDefinition(1011440, "MAGINCIA"),
|
||||
new TextDefinition(1011568, "TOWN STONE FOR MAGINCIA"),
|
||||
new TextDefinition(1041041, "The Faction Sigil Monolith of Magincia"),
|
||||
new TextDefinition(1041411, "The Faction Town Sigil Monolith of Magincia"),
|
||||
new TextDefinition(1041420, "Faction Town Stone of Magincia"),
|
||||
new TextDefinition(1041402, "Faction Town Sigil of Magincia"),
|
||||
new TextDefinition(1041393, "Corrupted Faction Town Sigil of Magincia"),
|
||||
new Point3D(3714, 2235, 20),
|
||||
new Point3D(3712, 2230, 20)
|
||||
);
|
||||
}
|
||||
public Magincia() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
7,
|
||||
0x1870,
|
||||
"Magincia",
|
||||
"Magincia",
|
||||
1011440, // MAGINCIA
|
||||
1011568, // TOWN STONE FOR MAGINCIA
|
||||
1041041, // The Faction Sigil Monolith of Magincia
|
||||
1041411, // The Faction Town Sigil Monolith of Magincia
|
||||
1041420, // Faction Town Stone of Magincia
|
||||
1041402, // Faction Town Sigil of Magincia
|
||||
1041393, // Corrupted Faction Town Sigil of Magincia
|
||||
new Point3D(3714, 2235, 20),
|
||||
new Point3D(3712, 2230, 20)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Minoc : Town
|
||||
{
|
||||
public class Minoc : Town
|
||||
{
|
||||
public Minoc() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
2,
|
||||
0x186B,
|
||||
"Minoc",
|
||||
"Minoc",
|
||||
new TextDefinition(1011437, "MINOC"),
|
||||
new TextDefinition(1011564, "TOWN STONE FOR MINOC"),
|
||||
new TextDefinition(1041036, "The Faction Sigil Monolith of Minoc"),
|
||||
new TextDefinition(1041406, "The Faction Town Sigil Monolith Minoc"),
|
||||
new TextDefinition(1041415, "Faction Town Stone of Minoc"),
|
||||
new TextDefinition(1041397, "Faction Town Sigil of Minoc"),
|
||||
new TextDefinition(1041388, "Corrupted Faction Town Sigil of Minoc"),
|
||||
new Point3D(2471, 439, 15),
|
||||
new Point3D(2469, 445, 15)
|
||||
);
|
||||
}
|
||||
public Minoc() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
2,
|
||||
0x186B,
|
||||
"Minoc",
|
||||
"Minoc",
|
||||
1011437, // MINOC
|
||||
1011564, // TOWN STONE FOR MINOC
|
||||
1041036, // The Faction Sigil Monolith of Minoc
|
||||
1041406, // The Faction Town Sigil Monolith Minoc
|
||||
1041415, // Faction Town Stone of Minoc
|
||||
1041397, // Faction Town Sigil of Minoc
|
||||
1041388, // Corrupted Faction Town Sigil of Minoc
|
||||
new Point3D(2471, 439, 15),
|
||||
new Point3D(2469, 445, 15)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Moonglow : Town
|
||||
{
|
||||
public class Moonglow : Town
|
||||
{
|
||||
public Moonglow() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
3,
|
||||
0x186C,
|
||||
"Moonglow",
|
||||
"Moonglow",
|
||||
new TextDefinition(1011435, "MOONGLOW"),
|
||||
new TextDefinition(1011563, "TOWN STONE FOR MOONGLOW"),
|
||||
new TextDefinition(1041037, "The Faction Sigil Monolith of Moonglow"),
|
||||
new TextDefinition(1041407, "The Faction Town Sigil Monolith of Moonglow"),
|
||||
new TextDefinition(1041416, "Faction Town Stone of Moonglow"),
|
||||
new TextDefinition(1041398, "Faction Town Sigil of Moonglow"),
|
||||
new TextDefinition(1041389, "Corrupted Faction Town Sigil of Moonglow"),
|
||||
new Point3D(4436, 1083, 0),
|
||||
new Point3D(4432, 1086, 0)
|
||||
);
|
||||
}
|
||||
public Moonglow() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
3,
|
||||
0x186C,
|
||||
"Moonglow",
|
||||
"Moonglow",
|
||||
1011435, // MOONGLOW
|
||||
1011563, // TOWN STONE FOR MOONGLOW
|
||||
1041037, // The Faction Sigil Monolith of Moonglow
|
||||
1041407, // The Faction Town Sigil Monolith of Moonglow
|
||||
1041416, // Faction Town Stone of Moonglow
|
||||
1041398, // Faction Town Sigil of Moonglow
|
||||
1041389, // Corrupted Faction Town Sigil of Moonglow
|
||||
new Point3D(4436, 1083, 0),
|
||||
new Point3D(4432, 1086, 0)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class SkaraBrae : Town
|
||||
{
|
||||
public class SkaraBrae : Town
|
||||
{
|
||||
public SkaraBrae() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
6,
|
||||
0x186F,
|
||||
"Skara Brae",
|
||||
"Skara Brae",
|
||||
new TextDefinition(1011439, "SKARA BRAE"),
|
||||
new TextDefinition(1011567, "TOWN STONE FOR SKARA BRAE"),
|
||||
new TextDefinition(1041040, "The Faction Sigil Monolith of Skara Brae"),
|
||||
new TextDefinition(1041410, "The Faction Town Sigil Monolith of Skara Brae"),
|
||||
new TextDefinition(1041419, "Faction Town Stone of Skara Brae"),
|
||||
new TextDefinition(1041401, "Faction Town Sigil of Skara Brae"),
|
||||
new TextDefinition(1041392, "Corrupted Faction Town Sigil of Skara Brae"),
|
||||
new Point3D(576, 2200, 0),
|
||||
new Point3D(572, 2196, 0)
|
||||
);
|
||||
}
|
||||
public SkaraBrae() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
6,
|
||||
0x186F,
|
||||
"Skara Brae",
|
||||
"Skara Brae",
|
||||
1011439, // SKARA BRAE
|
||||
1011567, // TOWN STONE FOR SKARA BRAE
|
||||
1041040, // The Faction Sigil Monolith of Skara Brae
|
||||
1041410, // The Faction Town Sigil Monolith of Skara Brae
|
||||
1041419, // Faction Town Stone of Skara Brae
|
||||
1041401, // Faction Town Sigil of Skara Brae
|
||||
1041392, // Corrupted Faction Town Sigil of Skara Brae
|
||||
new Point3D(576, 2200, 0),
|
||||
new Point3D(572, 2196, 0)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Trinsic : Town
|
||||
{
|
||||
public class Trinsic : Town
|
||||
{
|
||||
public Trinsic() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
1,
|
||||
0x186A,
|
||||
"Trinsic",
|
||||
"Trinsic",
|
||||
new TextDefinition(1011434, "TRINSIC"),
|
||||
new TextDefinition(1011562, "TOWN STONE FOR TRINSIC"),
|
||||
new TextDefinition(1041035, "The Faction Sigil Monolith of Trinsic"),
|
||||
new TextDefinition(1041405, "The Faction Town Sigil Monolith of Trinsic"),
|
||||
new TextDefinition(1041414, "Faction Town Stone of Trinsic"),
|
||||
new TextDefinition(1041396, "Faction Town Sigil of Trinsic"),
|
||||
new TextDefinition(1041387, "Corrupted Faction Town Sigil of Trinsic"),
|
||||
new Point3D(1914, 2717, 20),
|
||||
new Point3D(1909, 2720, 20)
|
||||
);
|
||||
}
|
||||
public Trinsic() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
1,
|
||||
0x186A,
|
||||
"Trinsic",
|
||||
"Trinsic",
|
||||
1011434, // TRINSIC
|
||||
1011562, // TOWN STONE FOR TRINSIC
|
||||
1041035, // The Faction Sigil Monolith of Trinsic
|
||||
1041405, // The Faction Town Sigil Monolith of Trinsic
|
||||
1041414, // Faction Town Stone of Trinsic
|
||||
1041396, // Faction Town Sigil of Trinsic
|
||||
1041387, // Corrupted Faction Town Sigil of Trinsic
|
||||
new Point3D(1914, 2717, 20),
|
||||
new Point3D(1909, 2720, 20)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Vesper : Town
|
||||
{
|
||||
public class Vesper : Town
|
||||
{
|
||||
public Vesper() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
5,
|
||||
0x186E,
|
||||
"Vesper",
|
||||
"Vesper",
|
||||
new TextDefinition(1016413, "VESPER"),
|
||||
new TextDefinition(1011566, "TOWN STONE FOR VESPER"),
|
||||
new TextDefinition(1041039, "The Faction Sigil Monolith of Vesper"),
|
||||
new TextDefinition(1041409, "The Faction Town Sigil Monolith of Vesper"),
|
||||
new TextDefinition(1041418, "Faction Town Stone of Vesper"),
|
||||
new TextDefinition(1041400, "Faction Town Sigil of Vesper"),
|
||||
new TextDefinition(1041391, "Corrupted Faction Town Sigil of Vesper"),
|
||||
new Point3D(2982, 818, 0),
|
||||
new Point3D(2985, 821, 0)
|
||||
);
|
||||
}
|
||||
public Vesper() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
5,
|
||||
0x186E,
|
||||
"Vesper",
|
||||
"Vesper",
|
||||
1016413, // VESPER
|
||||
1011566, // TOWN STONE FOR VESPER
|
||||
1041039, // The Faction Sigil Monolith of Vesper
|
||||
1041409, // The Faction Town Sigil Monolith of Vesper
|
||||
1041418, // Faction Town Stone of Vesper
|
||||
1041400, // Faction Town Sigil of Vesper
|
||||
1041391, // Corrupted Faction Town Sigil of Vesper
|
||||
new Point3D(2982, 818, 0),
|
||||
new Point3D(2985, 821, 0)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,22 @@
|
|||
namespace Server.Factions
|
||||
namespace Server.Factions;
|
||||
|
||||
public class Yew : Town
|
||||
{
|
||||
public class Yew : Town
|
||||
{
|
||||
public Yew() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
4,
|
||||
0x186D,
|
||||
"Yew",
|
||||
"Yew",
|
||||
new TextDefinition(1011438, "YEW"),
|
||||
new TextDefinition(1011565, "TOWN STONE FOR YEW"),
|
||||
new TextDefinition(1041038, "The Faction Sigil Monolith of Yew"),
|
||||
new TextDefinition(1041408, "The Faction Town Sigil Monolith of Yew"),
|
||||
new TextDefinition(1041417, "Faction Town Stone of Yew"),
|
||||
new TextDefinition(1041399, "Faction Town Sigil of Yew"),
|
||||
new TextDefinition(1041390, "Corrupted Faction Town Sigil of Yew"),
|
||||
new Point3D(548, 979, 0),
|
||||
new Point3D(542, 980, 0)
|
||||
);
|
||||
}
|
||||
public Yew() =>
|
||||
Definition =
|
||||
new TownDefinition(
|
||||
4,
|
||||
0x186D,
|
||||
"Yew",
|
||||
"Yew",
|
||||
1011438, // YEW
|
||||
1011565, // TOWN STONE FOR YEW
|
||||
1041038, // The Faction Sigil Monolith of Yew
|
||||
1041408, // The Faction Town Sigil Monolith of Yew
|
||||
1041417, // Faction Town Stone of Yew
|
||||
1041399, // Faction Town Sigil of Yew
|
||||
1041390, // Corrupted Faction Town Sigil of Yew
|
||||
new Point3D(548, 979, 0),
|
||||
new Point3D(542, 980, 0)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue