parent
096d39609e
commit
8e9221bb5a
400 changed files with 3688 additions and 5969 deletions
|
|
@ -102,8 +102,11 @@ namespace Server.Mobiles
|
|||
|
||||
if (pet?.Deleted != false)
|
||||
{
|
||||
pet.IsStabled = false;
|
||||
pet.StabledBy = null;
|
||||
if (pet != null)
|
||||
{
|
||||
pet.IsStabled = false;
|
||||
pet.StabledBy = null;
|
||||
}
|
||||
from.Stabled.RemoveAt(i);
|
||||
--i;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ namespace Server.Mobiles
|
|||
public override bool OnGoldGiven(Mobile from, Gold dropped)
|
||||
{
|
||||
if (from is PlayerMobile pm && dropped.Amount == 700)
|
||||
{
|
||||
if (pm.NpcGuild == NpcGuild.ThievesGuild)
|
||||
{
|
||||
pm.AddToBackpack(new DisguiseKit());
|
||||
|
|
@ -101,7 +100,6 @@ namespace Server.Mobiles
|
|||
dropped.Delete();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return base.OnGoldGiven(from, dropped);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,15 +53,12 @@ namespace Server.Mobiles
|
|||
AddItem(ApplyHue(new PlateGorget(), 0x47E));
|
||||
}
|
||||
|
||||
switch (Utility.Random(Female ? 2 : 1))
|
||||
HairItemID = Utility.Random(Female ? 2 : 1) switch
|
||||
{
|
||||
case 0:
|
||||
HairItemID = 0x203C;
|
||||
break;
|
||||
case 1:
|
||||
HairItemID = 0x203D;
|
||||
break;
|
||||
}
|
||||
0 => 0x203C,
|
||||
1 => 0x203D,
|
||||
_ => HairItemID
|
||||
};
|
||||
|
||||
HairHue = 0x47E;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue