Inital Commit

This commit is contained in:
Ubuntu
2026-07-07 13:40:15 -04:00
parent 73701ff86e
commit b491e327dc
83 changed files with 8591 additions and 6895 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ namespace Server.Mobiles
int level;
double random = Utility.RandomDouble();
if (0.2 >= random)
if (0.05 >= random)
level = 20;
else if (0.4 >= random)
level = 15;
+15 -13
View File
@@ -1282,7 +1282,7 @@ namespace Server.Mobiles
{
mount.Rider = from;
}
},
},
(EtherealMount)from.Mount);
}
@@ -2373,10 +2373,12 @@ namespace Server.Mobiles
}
}
}
else if (Siege.SiegeShard)
/* else if (Siege.SiegeShard)
{
list.Add(new CallbackEntry(3006168, SiegeBlessItem));
}
} */
list.Add(new CallbackEntry(3006168, SiegeBlessItem));
if (Core.ML && Alive)
{
@@ -2408,7 +2410,7 @@ namespace Server.Mobiles
if (Core.HS)
{
list.Add(new CallbackEntry(RefuseTrades ? 1154112 : 1154113, ToggleTrades)); // Allow Trades / Refuse Trades
list.Add(new CallbackEntry(RefuseTrades ? 1154112 : 1154113, ToggleTrades)); // Allow Trades / Refuse Trades
}
if (m_JusticeProtectors.Count > 0)
@@ -3350,7 +3352,7 @@ namespace Server.Mobiles
}
else if (to.Backpack == null || !to.Backpack.CheckHold(to, item, false, checkItems, plusItems, plusWeight))
{
msgNum = 1004039; // The recipient of this trade would not be able to carry
msgNum = 1004039; // The recipient of this trade would not be able to carry
}
else
{
@@ -3520,7 +3522,7 @@ namespace Server.Mobiles
}
BaseGump.CheckCloseGumps(this);
DesignContext context = m_DesignContext;
if (context == null || m_NoRecursion)
@@ -4013,7 +4015,7 @@ namespace Server.Mobiles
Faction.HandleDeath(this, killer);
Guilds.Guild.HandleDeath(this, killer);
if (m_BuffTable != null)
{
var list = new List<BuffInfo>();
@@ -4397,7 +4399,7 @@ namespace Server.Mobiles
public override int Luck { get { return AosAttributes.GetValue(this, AosAttribute.Luck) + TenthAnniversarySculpture.GetLuckBonus(this); } }
public int RealLuck
{
{
get
{
int facetBonus = !Siege.SiegeShard && this.Map == Map.Felucca ? RandomItemGenerator.FeluccaLuckBonus : 0;
@@ -4977,7 +4979,7 @@ namespace Server.Mobiles
writer.Write((int)m_ExtendedFlags);
writer.Write(RewardStableSlots);
if (_BlessedItem != null && _BlessedItem.RootParent != this)
{
_BlessedItem = null;
@@ -5513,7 +5515,7 @@ namespace Server.Mobiles
#region Factions
public PlayerState FactionPlayerState { get; set; }
#endregion
#region Quests
private QuestSystem m_Quest;
private List<QuestRestartInfo> m_DoneQuests;
@@ -5632,7 +5634,7 @@ namespace Server.Mobiles
{
m_SelectedTitle = num;
if (!silent)
if (!silent)
SendLocalizedMessage(1074010); // You elect to hide your Reward Title.
}
else if (num < m_RewardTitles.Count && num >= -1)
@@ -5746,7 +5748,7 @@ namespace Server.Mobiles
}
public override void AddNameProperties(ObjectPropertyList list)
{
{
string prefix = "";
if (ShowFameTitle && Fame >= 10000)
@@ -6989,4 +6991,4 @@ namespace Server.Mobiles
m_AutoStabled.Clear();
}
}
}
}