Overwrite

Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
Unstable Kitsune
2023-11-28 23:20:26 -05:00
parent 3cd54811de
commit b918192e4e
11608 changed files with 2644205 additions and 47 deletions

View File

@@ -0,0 +1,77 @@
using System;
using Server.Mobiles;
using Server.Items;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("an abominable snowmans corpse")]
public class AbominableSnowman : BaseCreature
{
[Constructable]
public AbominableSnowman()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "the abominable snowman";
Body = 241;
BaseSoundID = 367;
Hue = 1150;
SetStr(800);
SetDex(150);
SetInt(1200);
SetHits(8000);
SetDamage(21, 27);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Cold, 50);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 40, 50);
SetResistance(ResistanceType.Cold, 100);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 60, 70);
SetSkill(SkillName.Anatomy, 115, 120);
SetSkill(SkillName.Poisoning, 120);
SetSkill(SkillName.MagicResist, 115, 120);
SetSkill(SkillName.Tactics, 100.0);
SetSkill(SkillName.Wrestling, 120, 130);
Fame = 12000;
Karma = -12000;
SetWeaponAbility(WeaponAbility.ConcussionBlow);
SetWeaponAbility(WeaponAbility.CrushingBlow);
SetSpecialAbility(SpecialAbility.TrueFear);
}
public AbominableSnowman(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,75 @@
using System;
using Server.Mobiles;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("a garish gingerman corpse")]
public class GarishGingerman : BaseCreature
{
[Constructable]
public GarishGingerman()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "a garish gingerman";
Body = 14;
BaseSoundID = 268;
Hue = 1461;
SetStr(400);
SetDex(150);
SetInt(1200);
SetHits(8000);
SetDamage(21, 27);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Energy, 50);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 40, 50);
SetResistance(ResistanceType.Cold, 80, 90);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 100);
SetSkill(SkillName.EvalInt, 120);
SetSkill(SkillName.Magery, 120);
SetSkill(SkillName.Meditation, 100);
SetSkill(SkillName.MagicResist, 200);
SetSkill(SkillName.Tactics, 100.0);
SetSkill(SkillName.Wrestling, 120);
Fame = 12000;
Karma = -12000;
SetMagicalAbility(MagicalAbility.MageryMastery);
}
public GarishGingerman(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,83 @@
using System;
using Server.Mobiles;
using Server.Items;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("the corpse of a headless elf")]
public class HeadlessElf : BaseCreature
{
[Constructable]
public HeadlessElf()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "a headless elf";
Race = Race.Elf;
Body = 31;
Hue = Race.RandomSkinHue();
BaseSoundID = 0x39D;
SetStr(700, 800);
SetDex(90, 100);
SetInt(450, 500);
SetHits(8000);
SetDamage(21, 27);
SetDamageType(ResistanceType.Physical, 60);
SetDamageType(ResistanceType.Fire, 20);
SetDamageType(ResistanceType.Energy, 20);
SetResistance(ResistanceType.Physical, 70, 80);
SetResistance(ResistanceType.Fire, 70, 80);
SetResistance(ResistanceType.Cold, 60, 70);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 60, 70);
SetSkill(SkillName.Anatomy, 130, 140);
SetSkill(SkillName.Poisoning, 120);
SetSkill(SkillName.MagicResist, 130, 140);
SetSkill(SkillName.Tactics, 130, 140);
SetSkill(SkillName.Wrestling, 120, 130);
SetSkill(SkillName.Parry, 20, 30);
SetSkill(SkillName.Magery, 110, 120);
SetSkill(SkillName.EvalInt, 110, 120);
SetSkill(SkillName.Meditation, 110, 120);
SetSkill(SkillName.Focus, 120, 130);
Fame = 12000;
Karma = -12000;
SetMagicalAbility(MagicalAbility.WrestlingMastery);
}
public HeadlessElf(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,85 @@
using System;
using Server.Mobiles;
using Server.Items;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("a jack in the box corpse")]
public class JackInTheBox : BaseCreature
{
[Constructable]
public JackInTheBox()
: base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "jack in the box";
Body = 1428;
SetStr(200, 300);
SetDex(150, 200);
SetInt(700, 800);
SetHits(8000);
SetDamage(21, 27);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 70, 80);
SetResistance(ResistanceType.Fire, 70, 80);
SetResistance(ResistanceType.Cold, 70, 80);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 40, 50);
SetSkill(SkillName.Anatomy, 25);
SetSkill(SkillName.MagicResist, 120);
SetSkill(SkillName.Tactics, 100, 110);
SetSkill(SkillName.Wrestling, 130, 140);
SetSkill(SkillName.Parry, 20, 30);
SetSkill(SkillName.Magery, 120);
SetSkill(SkillName.EvalInt, 120);
SetSkill(SkillName.Necromancy, 120);
SetSkill(SkillName.SpiritSpeak, 120);
SetSkill(SkillName.Meditation, 120);
SetSkill(SkillName.Focus, 70, 80);
Fame = 12000;
Karma = -12000;
SetWeaponAbility(WeaponAbility.ArmorIgnore);
SetWeaponAbility(WeaponAbility.BleedAttack);
}
public JackInTheBox(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override int GetIdleSound() { return 0x218; }
public override int GetAngerSound() { return 0x26C; }
public override int GetDeathSound() { return 0x211; }
public override int GetAttackSound() { return 0x232; }
public override int GetHurtSound() { return 0x140; }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,271 @@
using System;
using Server.Mobiles;
using Server.Items;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("the corpse of jack the pumpkin king")]
public class JackThePumpkinKing : BaseCreature
{
[Constructable]
public JackThePumpkinKing()
: base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "jack";
Title = "the pumpkin king";
Body = 0x190;
Hue = Race.RandomSkinHue();
SetStr(500);
SetDex(200);
SetInt(1200);
SetHits(26000);
SetDamage(22, 26);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 70, 80);
SetResistance(ResistanceType.Fire, 70, 80);
SetResistance(ResistanceType.Cold, 70, 80);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 40, 50);
SetSkill(SkillName.Anatomy, 25);
SetSkill(SkillName.MagicResist, 120);
SetSkill(SkillName.Tactics, 100, 110);
SetSkill(SkillName.Wrestling, 130, 140);
SetSkill(SkillName.Parry, 20, 30);
SetSkill(SkillName.Magery, 120);
SetSkill(SkillName.EvalInt, 120);
SetSkill(SkillName.Necromancy, 120);
SetSkill(SkillName.SpiritSpeak, 120);
SetSkill(SkillName.Meditation, 120);
SetSkill(SkillName.Focus, 70, 80);
Fame = 12000;
Karma = -12000;
SetWearable(new ClothNinjaHood(), 1281);
SetWearable(new BoneChest(), 1175);
SetWearable(new BoneArms(), 1175);
SetWearable(new BoneGloves(), 1175);
SetWearable(new ThighBoots());
SetWearable(new Scepter());
}
private bool m_InHere;
// gleefully stolen from DemonKnight
public override void OnDamage(int amount, Mobile from, bool willKill)
{
if (from != null && from != this && !m_InHere)
{
m_InHere = true;
AOS.Damage(from, this, Utility.RandomMinMax(8, 20), 100, 0, 0, 0, 0);
MovingEffect(from, Utility.RandomMinMax(0xC6A, 0xC6C), 10, 0, false, false, 0, 0);
PlaySound(0x491);
if (0.05 > Utility.RandomDouble())
Timer.DelayCall(TimeSpan.FromSeconds(1.0), new TimerStateCallback(CreatePumpkin_Callback), from);
m_InHere = false;
}
}
public virtual void CreatePumpkin_Callback(object state)
{
Mobile from = (Mobile)state;
Map map = from.Map;
if (map == null)
return;
int count = Utility.RandomMinMax(1, 3);
for (int i = 0; i < count; ++i)
{
int x = from.X + Utility.RandomMinMax(-1, 1);
int y = from.Y + Utility.RandomMinMax(-1, 1);
int z = from.Z;
if (!map.CanFit(x, y, z, 16, false, true))
{
z = map.GetAverageZ(x, y);
if (z == from.Z || !map.CanFit(x, y, z, 16, false, true))
continue;
}
UnholyPumpkin bone = new UnholyPumpkin();
bone.Hue = 0;
bone.Name = "unholy pumpkin";
bone.ItemID = Utility.RandomMinMax(0xC6A, 0xC6C);
bone.MoveToWorld(new Point3D(x, y, z), map);
}
}
public JackThePumpkinKing(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
public class UnholyPumpkin : Item, ICarvable
{
private SpawnTimer m_Timer;
[Constructable]
public UnholyPumpkin()
: base(0xF7E)
{
Movable = false;
m_Timer = new SpawnTimer(this);
m_Timer.Start();
}
public UnholyPumpkin(Serial serial)
: base(serial)
{
}
public override string DefaultName
{
get
{
return "unholy pumpkin";
}
}
public bool Carve(Mobile from, Item item)
{
Effects.PlaySound(GetWorldLocation(), Map, 0x48F);
Effects.SendLocationEffect(GetWorldLocation(), Map, 0x3728, 10, 10, 0, 0);
if (0.3 > Utility.RandomDouble())
{
from.SendMessage("You destroy the pumpkin.");
Gold gold = new Gold(25, 100);
gold.MoveToWorld(GetWorldLocation(), Map);
Delete();
m_Timer.Stop();
}
else
{
from.SendMessage("You damage the pumpkin.");
}
return true;
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
m_Timer = new SpawnTimer(this);
m_Timer.Start();
}
private class SpawnTimer : Timer
{
private readonly Item m_Item;
public SpawnTimer(Item item)
: base(TimeSpan.FromSeconds(Utility.RandomMinMax(5, 10)))
{
Priority = TimerPriority.FiftyMS;
m_Item = item;
}
protected override void OnTick()
{
if (m_Item.Deleted)
return;
Mobile spawn;
switch (Utility.Random(12))
{
default:
case 0:
spawn = new Skeleton();
break;
case 1:
spawn = new Zombie();
break;
case 2:
spawn = new Wraith();
break;
case 3:
spawn = new Spectre();
break;
case 4:
spawn = new Ghoul();
break;
case 5:
spawn = new Mummy();
break;
case 6:
spawn = new Bogle();
break;
case 7:
spawn = new RottingCorpse();
break;
case 8:
spawn = new BoneKnight();
break;
case 9:
spawn = new SkeletalKnight();
break;
case 10:
spawn = new Lich();
break;
case 11:
spawn = new LichLord();
break;
}
spawn.MoveToWorld(m_Item.Location, m_Item.Map);
m_Item.Delete();
}
}
}
}

View File

@@ -0,0 +1,76 @@
using System;
using Server.Mobiles;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("a nightmare fairys corpse")]
public class NightmareFairy : BaseCreature
{
[Constructable]
public NightmareFairy()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "a nightmare fairy";
Body = 176;
BaseSoundID = 0x467;
Hue = 1910;
SetStr(400);
SetDex(150);
SetInt(1200);
SetHits(8000);
SetDamage(21, 27);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Energy, 50);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 40, 50);
SetResistance(ResistanceType.Cold, 80, 90);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 100);
SetSkill(SkillName.EvalInt, 120);
SetSkill(SkillName.Magery, 120);
SetSkill(SkillName.Meditation, 100);
SetSkill(SkillName.MagicResist, 200);
SetSkill(SkillName.Tactics, 100.0);
SetSkill(SkillName.Wrestling, 120);
Fame = 12000;
Karma = -12000;
SetSpecialAbility(SpecialAbility.LifeLeech);
SetSpecialAbility(SpecialAbility.LifeDrain);
}
public NightmareFairy(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,92 @@
using System;
using Server.Mobiles;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("a rabid reindeers corpse")]
public class RabidReindeer : BaseCreature
{
[Constructable]
public RabidReindeer()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "a rabid reindeer";
Body = 0xEA;
Hue = 2707;
SetStr(800);
SetDex(150);
SetInt(1200);
SetHits(8000);
SetDamage(22, 29);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Cold, 50);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 40, 50);
SetResistance(ResistanceType.Cold, 100);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 60, 70);
SetSkill(SkillName.Anatomy, 115, 120);
SetSkill(SkillName.Poisoning, 120);
SetSkill(SkillName.MagicResist, 115, 120);
SetSkill(SkillName.Tactics, 100.0);
SetSkill(SkillName.Wrestling, 120, 130);
Fame = 12000;
Karma = -12000;
SetSpecialAbility(SpecialAbility.VenomousBite);
}
public override int Meat { get { return 6; } }
public override int Hides { get { return 15; } }
public override int GetAttackSound()
{
return 0x82;
}
public override int GetHurtSound()
{
return 0x83;
}
public override int GetDeathSound()
{
return 0x84;
}
public RabidReindeer(Serial serial)
: base(serial)
{
}
public override Poison HitPoison { get { return Poison.Lethal; } }
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Lethal; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,75 @@
using System;
using Server.Mobiles;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("a stocking serpent corpse")]
public class StockingSerpent : BaseCreature
{
[Constructable]
public StockingSerpent()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "a stocking serpent";
Body = 0x509;
BaseSoundID = 0xDB;
Hue = 1459;
SetStr(800);
SetDex(150);
SetInt(1200);
SetHits(8000);
SetDamage(22, 29);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Cold, 50);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 40, 50);
SetResistance(ResistanceType.Cold, 100);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 60, 70);
SetSkill(SkillName.Anatomy, 115, 120);
SetSkill(SkillName.Poisoning, 120);
SetSkill(SkillName.MagicResist, 115, 120);
SetSkill(SkillName.Tactics, 100.0);
SetSkill(SkillName.Wrestling, 120, 130);
Fame = 12000;
Karma = -12000;
SetSpecialAbility(SpecialAbility.ViciousBite);
}
public StockingSerpent(Serial serial)
: base(serial)
{
}
public override Poison HitPoison { get { return Poison.Lethal; } }
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Lethal; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View File

@@ -0,0 +1,75 @@
using System;
using Server.Mobiles;
namespace Server.Engines.SorcerersDungeon
{
[CorpseName("a twisted holiday tree corpse")]
public class TwistedHolidayTree : BaseCreature
{
[Constructable]
public TwistedHolidayTree()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
Name = "a twisted holidy tree";
Body = 47;
BaseSoundID = 442;
Hue = 1175;
SetStr(400);
SetDex(150);
SetInt(1200);
SetHits(8000);
SetDamage(21, 27);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Energy, 50);
SetResistance(ResistanceType.Physical, 60, 70);
SetResistance(ResistanceType.Fire, 40, 50);
SetResistance(ResistanceType.Cold, 80, 90);
SetResistance(ResistanceType.Poison, 60, 70);
SetResistance(ResistanceType.Energy, 100);
SetSkill(SkillName.EvalInt, 200);
SetSkill(SkillName.Magery, 120);
SetSkill(SkillName.Meditation, 100);
SetSkill(SkillName.MagicResist, 200);
SetSkill(SkillName.Tactics, 100.0);
SetSkill(SkillName.Wrestling, 120);
Fame = 12000;
Karma = -12000;
SetAreaEffect(AreaEffect.ExplosiveGoo);
}
public TwistedHolidayTree(Serial serial)
: base(serial)
{
}
public override bool AlwaysMurderer { get { return true; } }
public override Poison PoisonImmune { get { return Poison.Deadly; } }
public override void GenerateLoot()
{
AddLoot(LootPack.UltraRich, 2);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}