Fixes brace style (#248)
This commit is contained in:
parent
a236617ad9
commit
8149620b0c
1503 changed files with 28575 additions and 1717 deletions
|
|
@ -10,7 +10,9 @@
|
|||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
if (AwardHumanInNeed)
|
||||
{
|
||||
HumanInNeed.AwardTo(instance.Player);
|
||||
}
|
||||
|
||||
base.GetRewards(instance);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -148,11 +148,15 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
pm.AcquireRecipe(32);
|
||||
|
||||
if (pm.Skills.Blacksmith.Base < 45.0) // TODO: Verify threshold
|
||||
{
|
||||
pm.SendLocalizedMessage(
|
||||
1075005
|
||||
); // You observe carefully but you can't grasp the complexities of smithing a bone handled machete.
|
||||
}
|
||||
else
|
||||
{
|
||||
pm.SendLocalizedMessage(1075006); // You have learned how to smith a bone handled machete!
|
||||
}
|
||||
}
|
||||
|
||||
base.GetRewards(instance);
|
||||
|
|
|
|||
|
|
@ -141,9 +141,13 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
AddItem(new Sandals(Utility.RandomPinkHue()));
|
||||
|
||||
if (Utility.RandomBool())
|
||||
{
|
||||
AddItem(new Kilt(Utility.RandomPinkHue()));
|
||||
}
|
||||
else
|
||||
{
|
||||
AddItem(new Skirt(Utility.RandomPinkHue()));
|
||||
}
|
||||
|
||||
AddItem(new FancyShirt(Utility.RandomRedHue()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2320,9 +2320,13 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
AddItem(new Cloak(Utility.RandomBrightHue()));
|
||||
|
||||
if (Utility.RandomBool())
|
||||
{
|
||||
AddItem(new Kilt(0x387));
|
||||
}
|
||||
else
|
||||
{
|
||||
AddItem(new Skirt(0x387));
|
||||
}
|
||||
}
|
||||
|
||||
public Alejaha(Serial serial)
|
||||
|
|
@ -2443,9 +2447,13 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
AddItem(new RoyalCirclet());
|
||||
|
||||
if (Utility.RandomBool())
|
||||
{
|
||||
AddItem(new Boots(Utility.RandomYellowHue()));
|
||||
}
|
||||
else
|
||||
{
|
||||
AddItem(new ThighBoots(Utility.RandomYellowHue()));
|
||||
}
|
||||
}
|
||||
|
||||
public Ciala(Serial serial)
|
||||
|
|
|
|||
|
|
@ -722,7 +722,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
var item = base.CreateItem();
|
||||
|
||||
if (item is Spellbook book)
|
||||
{
|
||||
book.Content = (1ul << book.BookCount) - 1;
|
||||
}
|
||||
|
||||
return item;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,9 @@ namespace Server.Engines.MLQuests.Definitions
|
|||
public static void AwardTo(PlayerMobile pm)
|
||||
{
|
||||
if (pm == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var context = MLQuestSystem.GetOrCreateContext(pm);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue