parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Server.Commands;
|
||||
using Server.Gumps;
|
||||
using Server.Items;
|
||||
using Server.Network;
|
||||
|
|
@ -322,18 +321,12 @@ namespace Server.Mobiles
|
|||
|
||||
AddItem(new FancyShirt(Utility.RandomBlueHue()));
|
||||
|
||||
Item skirt;
|
||||
|
||||
switch (Utility.Random(2))
|
||||
var skirt = Utility.Random(2) switch
|
||||
{
|
||||
case 0:
|
||||
skirt = new Skirt();
|
||||
break;
|
||||
default:
|
||||
case 1:
|
||||
skirt = new Kilt();
|
||||
break;
|
||||
}
|
||||
0 => (Item)new Skirt(),
|
||||
1 => new Kilt(),
|
||||
_ => new Kilt()
|
||||
};
|
||||
|
||||
skirt.Hue = Utility.RandomGreenHue();
|
||||
|
||||
|
|
@ -341,18 +334,12 @@ namespace Server.Mobiles
|
|||
|
||||
AddItem(new FeatheredHat(Utility.RandomGreenHue()));
|
||||
|
||||
Item boots;
|
||||
|
||||
switch (Utility.Random(2))
|
||||
var boots = Utility.Random(2) switch
|
||||
{
|
||||
case 0:
|
||||
boots = new Boots();
|
||||
break;
|
||||
default:
|
||||
case 1:
|
||||
boots = new ThighBoots();
|
||||
break;
|
||||
}
|
||||
0 => (Item)new Boots(),
|
||||
1 => new ThighBoots(),
|
||||
_ => new ThighBoots()
|
||||
};
|
||||
|
||||
AddItem(boots);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue