fix: Cleans up some comments and spell code (#1120)
This commit is contained in:
parent
56c97ca84a
commit
fa3515f930
44 changed files with 338 additions and 469 deletions
|
|
@ -1708,7 +1708,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"acid elementals",
|
||||
new QuestArea(1074806, "The Palace of Paroxysmus")
|
||||
)
|
||||
); // The Palace of Paroxysmus
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.LargeBagOfTreasure);
|
||||
}
|
||||
|
|
@ -1734,7 +1734,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"plague spawns",
|
||||
new QuestArea(1074806, "The Palace of Paroxysmus")
|
||||
)
|
||||
); // The Palace of Paroxysmus
|
||||
);
|
||||
Objectives.Add(
|
||||
new KillObjective(
|
||||
3,
|
||||
|
|
@ -1742,7 +1742,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"plague beasts",
|
||||
new QuestArea(1074806, "The Palace of Paroxysmus")
|
||||
)
|
||||
); // The Palace of Paroxysmus
|
||||
);
|
||||
Objectives.Add(
|
||||
new KillObjective(
|
||||
1,
|
||||
|
|
@ -1750,7 +1750,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"plague beast lord",
|
||||
new QuestArea(1074806, "The Palace of Paroxysmus")
|
||||
)
|
||||
); // The Palace of Paroxysmus
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.LargeBagOfTreasure);
|
||||
}
|
||||
|
|
@ -3072,14 +3072,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void Shout(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.Tell(
|
||||
this,
|
||||
pm,
|
||||
Utility.RandomList(
|
||||
1074209, // Hey, could you help me out with something?
|
||||
1074184
|
||||
)
|
||||
); // Come here, I have work for you.
|
||||
// Hey, could you help me out with something?
|
||||
// Come here, I have work for you.
|
||||
MLQuestSystem.Tell(this, pm, Utility.RandomBool() ? 1074209 : 1074184);
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
@ -3332,14 +3327,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void Shout(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.Tell(
|
||||
this,
|
||||
pm,
|
||||
Utility.RandomList(
|
||||
1074186, // Come here, I have a task.
|
||||
1074209
|
||||
)
|
||||
); // Hey, could you help me out with something?
|
||||
// Come here, I have a task.
|
||||
// Hey, could you help me out with something?
|
||||
MLQuestSystem.Tell(this, pm, Utility.RandomBool() ? 1074209 : 1074186);
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
@ -3588,14 +3578,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void Shout(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.Tell(
|
||||
this,
|
||||
pm,
|
||||
Utility.RandomList(
|
||||
1074187, // Want a job?
|
||||
1074209
|
||||
)
|
||||
); // Hey, could you help me out with something?
|
||||
// Hey, could you help me out with something?
|
||||
// Want a job?
|
||||
MLQuestSystem.Tell(this, pm, Utility.RandomBool() ? 1074209 : 1074187);
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
@ -3653,14 +3638,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void Shout(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.Tell(
|
||||
this,
|
||||
pm,
|
||||
Utility.RandomList(
|
||||
1074187, // Want a job?
|
||||
1074185
|
||||
)
|
||||
); // Hey you! Want to help me out?
|
||||
// Hey you! Want to help me out?
|
||||
// Want a job?
|
||||
MLQuestSystem.Tell(this, pm, Utility.RandomBool() ? 1074185 : 1074187);
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
|
|||
|
|
@ -27,11 +27,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074940,
|
||||
"",
|
||||
0x2A
|
||||
); // You have gained the boon of Maul! Your understanding of the seasons grows. You are one step closer to claiming your elven heritage.
|
||||
// You have gained the boon of Maul! Your understanding of the seasons grows.
|
||||
// You are one step closer to claiming your elven heritage.
|
||||
instance.Player.SendLocalizedMessage(1074940, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -58,11 +56,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074941,
|
||||
"",
|
||||
0x2A
|
||||
); // You have gained the boon of Strongroot! You have been approved by one whose roots touch the bones of Sosaria. You are one step closer to claiming your elven heritage.
|
||||
// You have gained the boon of Strongroot! You have been approved by one whose roots touch the bones of Sosaria.
|
||||
// You are one step closer to claiming your elven heritage.
|
||||
instance.Player.SendLocalizedMessage(1074941, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -89,11 +85,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074945,
|
||||
"",
|
||||
0x2A
|
||||
); // You have gained the boon of Enigma! You are wise enough to know how little you know. You are one step closer to claiming your elven heritage.
|
||||
// You have gained the boon of Enigma! You are wise enough to know how little you know.
|
||||
// You are one step closer to claiming your elven heritage.
|
||||
instance.Player.SendLocalizedMessage(1074945, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
|
||||
|
|
@ -125,7 +119,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
Objectives.Add(
|
||||
new EscortObjective(new QuestArea(1074779, "Bravehorn's drinking pool"))
|
||||
); // Bravehorn's drinking pool
|
||||
);
|
||||
|
||||
Rewards.Add(new DummyReward(1072806)); // The boon of Bravehorn.
|
||||
}
|
||||
|
|
@ -134,11 +128,10 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074942,
|
||||
"",
|
||||
0x2A
|
||||
); // You have gained the boon of Bravehorn! You have glimpsed the nobility of those that sacrifice themselves for their people. You are one step closer to claiming your elven heritage.
|
||||
// You have gained the boon of Bravehorn!
|
||||
// You have glimpsed the nobility of those that sacrifice themselves for their people.
|
||||
// You are one step closer to claiming your elven heritage.
|
||||
instance.Player.SendLocalizedMessage(1074942, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -161,7 +154,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"timber wolves",
|
||||
new QuestArea(1074833, "Huntsman's Forest")
|
||||
)
|
||||
); // Huntsman's Forest
|
||||
);
|
||||
|
||||
Rewards.Add(new DummyReward(1072807)); // The boon of the Huntsman.
|
||||
}
|
||||
|
|
@ -170,11 +163,10 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074943,
|
||||
"",
|
||||
0x2A
|
||||
); // You have gained the boon of the Huntsman! You have been given a taste of the bittersweet duty of those who guard the balance. You are one step closer to claiming your elven heritage.
|
||||
// You have gained the boon of the Huntsman!
|
||||
// You have been given a taste of the bittersweet duty of those who guard the balance.
|
||||
// You are one step closer to claiming your elven heritage.
|
||||
instance.Player.SendLocalizedMessage(1074943, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -200,11 +192,10 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074944,
|
||||
"",
|
||||
0x2A
|
||||
); // You have gained the boon of Arielle! You have been taught the importance of laughter and light spirits. You are one step closer to claiming your elven heritage.
|
||||
// You have gained the boon of Arielle!
|
||||
// You have been taught the importance of laughter and light spirits.
|
||||
// You are one step closer to claiming your elven heritage.
|
||||
instance.Player.SendLocalizedMessage(1074944, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -494,11 +485,10 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074946,
|
||||
"",
|
||||
0x2A
|
||||
); // You have demonstrated your ingenuity! Humans are jacks of all trades and know a little about a lot of things. You are one step closer to achieving humanity.
|
||||
// You have demonstrated your ingenuity!
|
||||
// Humans are jacks of all trades and know a little about a lot of things.
|
||||
// You are one step closer to achieving humanity.
|
||||
instance.Player.SendLocalizedMessage(1074946, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -534,11 +524,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074948,
|
||||
"",
|
||||
0x2A
|
||||
); // You have demonstrated your physical strength! Humans can carry vast loads without complaint. You are one step closer to achieving humanity.
|
||||
// You have demonstrated your physical strength!
|
||||
// Humans can carry vast loads without complaint. You are one step closer to achieving humanity.
|
||||
instance.Player.SendLocalizedMessage(1074948, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
@ -559,11 +547,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public static void AwardTo(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.GetOrCreateContext(pm).SetDoneQuest(MLQuestSystem.FindQuest(typeof(HumanInNeed)));
|
||||
pm.SendLocalizedMessage(
|
||||
1074949,
|
||||
"",
|
||||
0x2A
|
||||
); // You have demonstrated your compassion! Your kind actions have been noted.
|
||||
// You have demonstrated your compassion! Your kind actions have been noted.
|
||||
pm.SendLocalizedMessage(1074949, "", 0x2A);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -586,7 +571,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"efreets",
|
||||
new QuestArea(1074808, "Fire")
|
||||
)
|
||||
); // Fire
|
||||
);
|
||||
Objectives.Add(
|
||||
new KillObjective(
|
||||
5,
|
||||
|
|
@ -594,7 +579,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"ice fiends",
|
||||
new QuestArea(1074809, "Ice")
|
||||
)
|
||||
); // Ice
|
||||
);
|
||||
|
||||
Rewards.Add(new DummyReward(1074875)); // Another step closer to becoming human.
|
||||
}
|
||||
|
|
@ -603,11 +588,10 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074947,
|
||||
"",
|
||||
0x2A
|
||||
); // You have demonstrated your toughness! Humans are able to endure unimaginable hardships in pursuit of their goals. You are one step closer to achieving humanity.
|
||||
// You have demonstrated your toughness!
|
||||
// Humans are able to endure unimaginable hardships in pursuit of their goals.
|
||||
// You are one step closer to achieving humanity.
|
||||
instance.Player.SendLocalizedMessage(1074947, "", 0x2A);
|
||||
instance.ClaimRewards(); // skip gump
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
// OSI sends this instead, but it doesn't make sense for an escortable
|
||||
// public override void OnComplete( MLQuestInstance instance )
|
||||
// {
|
||||
// instance.Player.SendLocalizedMessage( 1073775, "", 0x23 ); // Your quest is complete. Return for your reward.
|
||||
// instance.Player.SendLocalizedMessage( 1073775, "", 0x23 ); // Your quest is complete. Return for your reward.
|
||||
// }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -988,11 +988,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void Shout(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.Tell(
|
||||
this,
|
||||
pm,
|
||||
1078187
|
||||
); // The art of fencing requires a dexterous hand, a quick wit and fleet feet.
|
||||
// The art of fencing requires a dexterous hand, a quick wit and fleet feet.
|
||||
MLQuestSystem.Tell(this, pm, 1078187);
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
@ -1053,11 +1050,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
public override void Shout(PlayerMobile pm)
|
||||
{
|
||||
MLQuestSystem.Tell(
|
||||
this,
|
||||
pm,
|
||||
1078136
|
||||
); // There is an art to slaying your enemies swiftly. It's called tactics, and I can teach it to you.
|
||||
// There is an art to slaying your enemies swiftly. It's called tactics, and I can teach it to you.
|
||||
MLQuestSystem.Tell(this, pm, 1078136);
|
||||
}
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"orcs",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
Objectives.Add(
|
||||
new KillObjective(
|
||||
5,
|
||||
|
|
@ -368,7 +368,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"orc bombers",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
Objectives.Add(
|
||||
new KillObjective(
|
||||
3,
|
||||
|
|
@ -376,7 +376,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"orc brutes",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.BagOfTreasure);
|
||||
}
|
||||
|
|
@ -437,7 +437,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"Moug-Guur",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.BagOfTreasure);
|
||||
}
|
||||
|
|
@ -466,7 +466,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"Chiikkaha",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.BagOfTreasure);
|
||||
}
|
||||
|
|
@ -496,7 +496,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"Szavetra",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.Strongbox);
|
||||
}
|
||||
|
|
@ -603,7 +603,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"ogres",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.BagOfTreasure);
|
||||
}
|
||||
|
|
@ -630,7 +630,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"ogre lords",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.LargeBagOfTreasure);
|
||||
}
|
||||
|
|
@ -657,7 +657,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"cyclops",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.LargeBagOfTreasure);
|
||||
}
|
||||
|
|
@ -686,7 +686,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"titans",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.LargeBagOfTreasure);
|
||||
}
|
||||
|
|
@ -713,7 +713,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"gargoyles",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(ItemReward.BagOfTrinkets);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
"rats",
|
||||
new QuestArea(1074807, "Sanctuary")
|
||||
)
|
||||
); // Sanctuary
|
||||
);
|
||||
|
||||
Rewards.Add(new DummyReward(1074872)); // The opportunity to learn the ways of the Arcanist.
|
||||
}
|
||||
|
|
@ -398,11 +398,8 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.PlayerContext.SummonFey = true;
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074320,
|
||||
"",
|
||||
0x2A
|
||||
); // *giggle* Mean reapers got fixed! Pixie friend now! *giggle* When mean thingies bother you, a brave pixie will help.
|
||||
// *giggle* Mean reapers got fixed! Pixie friend now! *giggle* When mean thingies bother you, a brave pixie will help.
|
||||
instance.Player.SendLocalizedMessage(1074320, "", 0x2A);
|
||||
|
||||
base.GetRewards(instance);
|
||||
}
|
||||
|
|
@ -423,11 +420,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
|
||||
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)
|
||||
// The opportunity to prove yourself worthy of learning to Summon Fiends.
|
||||
// (Sufficient spellweaving skill is required to cast the spell)
|
||||
Rewards.Add(new DummyReward(107487));
|
||||
}
|
||||
|
||||
public override Type NextQuest => typeof(CrackingTheWhipI);
|
||||
|
|
@ -479,11 +474,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
instance.PlayerContext.SummonFiend = true;
|
||||
instance.Player.SendLocalizedMessage(
|
||||
1074322,
|
||||
"",
|
||||
0x2A
|
||||
); // You've demonstrated your strength, got a means of control, and taught the imps to fear you. You're ready now to summon them.
|
||||
// You've demonstrated your strength, got a means of control, and taught the imps to fear you.
|
||||
// You're ready now to summon them.
|
||||
instance.Player.SendLocalizedMessage(1074322, "", 0x2A);
|
||||
|
||||
base.GetRewards(instance);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue