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
@@ -47,6 +47,10 @@ namespace Server.Items
case ChampionSkullType.Pain:
Hue = 0x035;
break;
//Soth Skull
case ChampionSkullType.Despair:
Hue = 0x455;
break;
}
}
@@ -10,6 +10,8 @@ namespace Server.Engines.CannedEvil
Venom,
Pain,
Greed,
Death
Death,
//Dupre Skull
Despair
}
}
@@ -467,7 +467,7 @@ namespace Server.Engines.CannedEvil
{
if (RandomizeType)
{
switch (Utility.Random(5))
switch (Utility.Random(6))
{
case 0:
Type = ChampionSpawnType.Abyss; break;
@@ -479,6 +479,7 @@ namespace Server.Engines.CannedEvil
Type = ChampionSpawnType.VerminHorde; break;
case 4:
Type = ChampionSpawnType.UnholyTerror; break;
}
}
@@ -20,7 +20,7 @@ namespace Server.Engines.CleanUpBritannia
Rewards.Add(new CollectionItem(typeof(WeArePiratesRobe), 0x1F03, 1151204, 0, 1000));
Rewards.Add(new CollectionItem(typeof(FollowerOfBaneRobe), 0x1F03, 1151205, 0, 1000));
Rewards.Add(new CollectionItem(typeof(QueenDawnForeverRobe), 0x1F03, 1151206, 0, 1000));
Rewards.Add(new CollectionItem(typeof(LillyPad), 0xDBC, 1023516, 0, 5000));
Rewards.Add(new CollectionItem(typeof(LillyPads), 0xDBE, 1023518, 0, 5000));
Rewards.Add(new CollectionItem(typeof(Mushrooms1), 0x0D0F, 1023340, 0, 5000));
@@ -96,7 +96,6 @@ namespace Server.Engines.CleanUpBritannia
Rewards.Add(new CollectionItem(typeof(DragonHeadAddonDeed), 0x2234, 1028756, 0, 50000));
Rewards.Add(new CollectionItem(typeof(NestWithEggs), 0x1AD4, 1026868, 2415, 50000));
if (Core.HS)
{
@@ -173,7 +172,6 @@ namespace Server.Engines.CleanUpBritannia
Rewards.Add(new CollectionItem(typeof(MysticsMemento), 0x2F5B, 1154744, 1912, 300000));
Rewards.Add(new CollectionItem(typeof(VollemHeldInCrystal), 0x1f19, 1113629, 1154, 500000));
Rewards.Add(new CollectionItem(typeof(ItemBlessDeed),0x14F0, 1006018, 0, 500000));
}
}
}
+16 -1
View File
@@ -3,6 +3,7 @@ using Server.Items;
using Server.Mobiles;
using Server.Targeting;
using Server.Factions;
using Server.Custom;
namespace Server.Engines.Craft
{
@@ -225,6 +226,20 @@ namespace Server.Engines.Craft
return;
}
// ===============================
// CUSTOM REPAIR LOCK ENFORCEMENT
// ===============================
Item it = targeted as Item;
if (it != null && it.GetRepairLocked())
{
from.SendMessage("This item has been fortified and cannot be repaired until it is restored.");
if (m_Addon != null)
m_Addon.Using = false;
return;
}
if (m_CraftSystem.CanCraft(from, m_Tool, targeted.GetType()) == 1044267)
{
@@ -638,7 +653,7 @@ namespace Server.Engines.Craft
if (toDelete)
m_Deed.Delete();
}
}
}
}
@@ -25,7 +25,7 @@ namespace Server
typeof(HelmOfSwiftness), typeof(PadsOfTheCuSidhe), typeof(QuiverOfRage), typeof(QuiverOfElements),
typeof(RaedsGlory), typeof(RighteousAnger), typeof(RobeOfTheEclipse), typeof(RobeOfTheEquinox),
typeof(SoulSeeker), typeof(TalonBite), typeof(TotemOfVoid), typeof(WildfireBow),
typeof(Windsong),typeof(UrcuchiallianRidingShoes)
typeof(Windsong)
};
// true - dungeon is enabled, false - dungeon is disabled
private static bool m_PalaceOfParoxysmus;
@@ -2236,9 +2236,9 @@ namespace Server.Mobiles
public bool SomeOneHasGumpOpen
{
get
{
// go through all online mobiles and see if any have xmlspawner gumps open
List<NetState> states = NetState.Instances;
{
// go through all online mobiles and see if any have xmlspawner gumps open
IList<NetState> states = NetState.Instances;
for (int i = 0; i < states.Count; ++i)
{