#W# Dungeon: New player dungeon is spawned and ready to go.

This commit is contained in:
WarrentyExpired 2026-10-22 13:04:47 -04:00
parent 7ddbb1efde
commit 48358c80df
15 changed files with 2064 additions and 14 deletions

View file

@ -20,8 +20,8 @@
"location": [2612, 189, 10],
"map": "Underworld",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"spawnBounds": { "x1": 2612, "y1": 189, "z1": -128, "x2": 2613, "y2": 190, "z2": 128 },
"walkingRange": 8,
"entries": [
@ -333,8 +333,8 @@
"location": [2681, 72, 60],
"map": "Underworld",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 5,
"walkingRange": 8,
"entries": [
@ -1714,8 +1714,8 @@
"location": [2463, 309, 25],
"map": "Underworld",
"count": 3,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"spawnBounds": { "x1": 2461, "y1": 307, "z1": 25, "x2": 2466, "y2": 312, "z2": 128 },
"walkingRange": -1,
"entries": [

View file

@ -604,8 +604,8 @@
"location": [2127, 271, 22],
"map": "Underworld",
"count": 5,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 8,
"walkingRange": -1,
"entries": [

View file

@ -5,8 +5,8 @@
"location": [2510, 694, -1],
"map": "Underworld",
"count": 15,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"region": "Ice - Level 2",
"walkingRange": 4,
"entries": [

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,316 @@
[
{
"$type": "Spawner",
"guid": "c13f3690-38a0-42de-8bce-8a78258c44f7",
"location": [4701, 215, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "scorpion", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "48dbcf7a-f1e3-41ad-9a41-9c00c1c55649",
"location": [4721, 152, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "gazer", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "f9124455-7af8-431a-aa11-db219500b0d3",
"location": [4758, 212, -40],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "lizardman", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "113c4d40-9499-4fc9-8902-ae2a641eea7a",
"location": [4739, 228, -49],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "drake", "probability": 50, "maxCount": 1 },
{ "name": "wyvern", "probability": 50, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "941e24f6-d624-42fd-a2d1-b6387fbe1ace",
"location": [4769, 192, -5],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "giantserpent", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "a6c2c140-c9a3-4f57-9d29-338f87364b8d",
"location": [4763, 203, -30],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "lizardman", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "b7f02373-59f1-4028-9268-5ce5696fc396",
"location": [4737, 236, -50],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "drake", "probability": 50, "maxCount": 1 },
{ "name": "wyvern", "probability": 50, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "1fef6201-2f8e-46b5-b4c5-450404c51829",
"location": [4765, 175, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "giantserpent", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "ee5828d9-638e-4062-9c50-e3a459361dac",
"location": [4746, 160, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "brigand", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "023ce344-a21c-491b-a74e-eaed1fbdfccb",
"location": [4730, 168, 1],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "gazer", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "95e706e8-d90d-41d9-a56b-44ba65346d02",
"location": [4730, 187, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "cavebear", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "bc98de57-5423-4a5d-a074-f5a6cf28727a",
"location": [4722, 184, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "gazerlarva", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "2edb4c6b-ac10-40d7-8fb4-3730bba9bfbb",
"location": [4698, 174, 5],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "skeletalmage", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "a6a6e63e-273d-404e-ae2a-8d5f1219cdd9",
"location": [4703, 171, 5],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "skeletalknight", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "98d4a03c-2719-4eee-a85f-6c9cf5211006",
"location": [4706, 176, 5],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "skeleton", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "99ef61af-af72-4532-b21e-98a59ea851b1",
"location": [4697, 179, 5],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "skeleton", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "7f612e03-fe7f-48a8-ba19-6086320ebc6b",
"location": [4703, 197, 0],
"map": "Underworld",
"count": 2,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "skeleton", "probability": 100, "maxCount": 1 },
{ "name": "skeletalmage", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "03d05cb5-38f4-4ab7-916f-a6e8051889e6",
"location": [4725, 207, 1],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "cavebear", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "e84551f6-7b68-41cd-a96f-c38e10ca0b14",
"location": [4704, 142, 0],
"map": "Underworld",
"count": 3,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 10,
"walkingRange": 7,
"entries": [
{ "name": "ettin", "probability": 25, "maxCount": 3 },
{ "name": "ogre", "probability": 25, "maxCount": 3 },
{ "name": "troll", "probability": 25, "maxCount": 3 },
{ "name": "evilmage", "probability": 25, "maxCount": 3 }
]
},
{
"$type": "Spawner",
"guid": "baa06ca3-5526-4553-a088-9250ca427daf",
"location": [4711, 218, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "scorpion", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "fcc9cf26-43fe-42b4-ad4b-98a9d66c6903",
"location": [4711, 209, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "cavebear", "probability": 100, "maxCount": 1 }
]
},
{
"$type": "Spawner",
"guid": "e19baff0-d239-483d-872b-c7cbfab60a08",
"location": [4736, 193, 0],
"map": "Underworld",
"count": 1,
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"homeRange": 4,
"walkingRange": 7,
"entries": [
{ "name": "gazerlarva", "probability": 100, "maxCount": 1 }
]
}
]

View file

@ -6,8 +6,8 @@
"location": [3966, 130, 0],
"map": "Underworld",
"count": 40,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"region": "the Terathan's Territory",
"walkingRange": -1,
"entries": [
@ -24,8 +24,8 @@
"location": [3967, 142, 0],
"map": "Underworld",
"count": 25,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"minDelay": "00:25:00",
"maxDelay": "00:35:00",
"region": "the Ophidian's Territory",
"walkingRange": -1,
"entries": [

View file

@ -0,0 +1,55 @@
using ModernUO.Serialization;
using Server.Misc;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class ClumsyLizardman : BaseCreature
{
[Constructible]
public ClumsyLizardman() : base(AIType.AI_Melee)
{
Name = NameList.RandomName("lizardman");
Body = Utility.RandomList(35, 36);
BaseSoundID = 417;
SetStr(56, 90);
SetDex(36, 43);
SetInt(36, 60);
SetHits(48, 62);
SetDamage(5, 7);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 25, 30);
SetResistance(ResistanceType.Fire, 5, 10);
SetResistance(ResistanceType.Cold, 5, 10);
SetResistance(ResistanceType.Poison, 10, 20);
SetSkill(SkillName.MagicResist, 35.1, 60.0);
SetSkill(SkillName.Tactics, 35.1, 50.0);
SetSkill(SkillName.Wrestling, 30.1, 50.0);
Fame = 750;
Karma = -750;
VirtualArmor = 28;
}
public override string CorpseName => "a clumsy lizardman corpse";
public override InhumanSpeech SpeechType => InhumanSpeech.Lizardman;
public override bool CanRummageCorpses => true;
public override int Meat => 1;
public override int Hides => 12;
public override HideType HideType => HideType.Spined;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
// TODO: weapon
}
}
}

View file

@ -0,0 +1,58 @@
using ModernUO.Serialization;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class DimShade : BaseCreature
{
[Constructible]
public DimShade() : base(AIType.AI_Mage)
{
Body = 26;
Hue = 0x4001;
BaseSoundID = 0x482;
SetStr(46, 60);
SetDex(46, 55);
SetInt(26, 40);
SetHits(46, 60);
SetDamage(6, 9);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Cold, 50);
SetResistance(ResistanceType.Physical, 25, 30);
SetResistance(ResistanceType.Cold, 15, 25);
SetResistance(ResistanceType.Poison, 10, 20);
SetSkill(SkillName.EvalInt, 35.1, 50.0);
SetSkill(SkillName.Magery, 35.1, 50.0);
SetSkill(SkillName.MagicResist, 55.1, 70.0);
SetSkill(SkillName.Tactics, 45.1, 60.0);
SetSkill(SkillName.Wrestling, 45.1, 55.0);
Fame = 2000;
Karma = -2000;
VirtualArmor = 28;
PackReg(10);
}
public override string CorpseName => "a ghostly corpse";
public override string DefaultName => "a dim shade";
public override bool BleedImmune => true;
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
public override Poison PoisonImmune => Poison.Lethal;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
}
}
}

View file

@ -0,0 +1,58 @@
using ModernUO.Serialization;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class LesserSpectre : BaseCreature
{
[Constructible]
public LesserSpectre() : base(AIType.AI_Mage)
{
Body = 26;
Hue = 0x4001;
BaseSoundID = 0x482;
SetStr(36, 60);
SetDex(36, 55);
SetInt(26, 40);
SetHits(46, 60);
SetDamage(6, 9);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Cold, 50);
SetResistance(ResistanceType.Physical, 25, 30);
SetResistance(ResistanceType.Cold, 15, 25);
SetResistance(ResistanceType.Poison, 10, 20);
SetSkill(SkillName.EvalInt, 35.1, 50.0);
SetSkill(SkillName.Magery, 35.1, 50.0);
SetSkill(SkillName.MagicResist, 55.1, 70.0);
SetSkill(SkillName.Tactics, 45.1, 60.0);
SetSkill(SkillName.Wrestling, 45.1, 55.0);
Fame = 2000;
Karma = -2000;
VirtualArmor = 28;
PackReg(10);
}
public override string CorpseName => "a ghostly corpse";
public override string DefaultName => "a lesser spectre";
public override bool BleedImmune => true;
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
public override Poison PoisonImmune => Poison.Lethal;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
}
}
}

View file

@ -0,0 +1,52 @@
using ModernUO.Serialization;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class LostTroll : BaseCreature
{
[Constructible]
public LostTroll() : base(AIType.AI_Melee)
{
Body = Utility.RandomList(53, 54);
BaseSoundID = 461;
SetStr(100, 125);
SetDex(26, 45);
SetInt(46, 70);
SetHits(86, 103);
SetDamage(8, 13);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 35, 45);
SetResistance(ResistanceType.Fire, 25, 35);
SetResistance(ResistanceType.Cold, 15, 25);
SetResistance(ResistanceType.Poison, 5, 15);
SetResistance(ResistanceType.Energy, 5, 15);
SetSkill(SkillName.MagicResist, 45.1, 60.0);
SetSkill(SkillName.Tactics, 30.1, 50.0);
SetSkill(SkillName.Wrestling, 30.1, 50.0);
Fame = 1500;
Karma = -1500;
VirtualArmor = 40;
}
public override string CorpseName => "a troll corpse";
public override string DefaultName => "a lost troll";
public override bool CanRummageCorpses => true;
public override int TreasureMapLevel => 1;
public override int Meat => 2;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
}
}
}

View file

@ -0,0 +1,58 @@
using ModernUO.Serialization;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class LowerWraith : BaseCreature
{
[Constructible]
public LowerWraith() : base(AIType.AI_Mage)
{
Body = 26;
Hue = 0x4001;
BaseSoundID = 0x482;
SetStr(46, 60);
SetDex(36, 55);
SetInt(26, 40);
SetHits(46, 60);
SetDamage(7, 9);
SetDamageType(ResistanceType.Physical, 50);
SetDamageType(ResistanceType.Cold, 50);
SetResistance(ResistanceType.Physical, 25, 30);
SetResistance(ResistanceType.Cold, 15, 25);
SetResistance(ResistanceType.Poison, 10, 20);
SetSkill(SkillName.EvalInt, 35.1, 50.0);
SetSkill(SkillName.Magery, 35.1, 50.0);
SetSkill(SkillName.MagicResist, 35.1, 50.0);
SetSkill(SkillName.Tactics, 45.1, 60.0);
SetSkill(SkillName.Wrestling, 45.1, 55.0);
Fame = 2000;
Karma = -2000;
VirtualArmor = 28;
PackReg(10);
}
public override string CorpseName => "a ghostly corpse";
public override string DefaultName => "a lower wraith";
public override bool BleedImmune => true;
public override OppositionGroup OppositionGroup => OppositionGroup.FeyAndUndead;
public override Poison PoisonImmune => Poison.Lethal;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
}
}
}

View file

@ -0,0 +1,57 @@
using ModernUO.Serialization;
using Server.Items;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class OneEyedOgre : BaseCreature
{
[Constructible]
public OneEyedOgre() : base(AIType.AI_Melee)
{
Body = 1;
BaseSoundID = 427;
SetStr(100, 115);
SetDex(46, 65);
SetInt(46, 70);
SetHits(100, 117);
SetMana(0);
SetDamage(9, 11);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 30, 35);
SetResistance(ResistanceType.Fire, 15, 25);
SetResistance(ResistanceType.Cold, 15, 25);
SetResistance(ResistanceType.Poison, 15, 25);
SetResistance(ResistanceType.Energy, 25);
SetSkill(SkillName.MagicResist, 55.1, 70.0);
SetSkill(SkillName.Tactics, 40.1, 50.0);
SetSkill(SkillName.Wrestling, 40.1, 60.0);
Fame = 1500;
Karma = -1500;
VirtualArmor = 32;
PackItem(new Club());
}
public override string CorpseName => "an ogre corpse";
public override string DefaultName => "a one eyed ogre";
public override bool CanRummageCorpses => true;
public override int TreasureMapLevel => 1;
public override int Meat => 2;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
AddLoot(LootPack.Potions);
}
}
}

View file

@ -0,0 +1,96 @@
using ModernUO.Serialization;
using Server.Items;
using Server.Misc;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class OrcGrunt : BaseCreature
{
[Constructible]
public OrcGrunt() : base(AIType.AI_Melee)
{
Name = NameList.RandomName("orc");
Body = 7;
BaseSoundID = 0x45A;
SetStr(51, 85);
SetDex(51, 95);
SetInt(86, 110);
SetHits(67, 87);
SetDamage(5, 11);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 30, 35);
SetResistance(ResistanceType.Fire, 10, 20);
SetResistance(ResistanceType.Cold, 15, 25);
SetResistance(ResistanceType.Poison, 5, 10);
SetResistance(ResistanceType.Energy, 5, 10);
SetSkill(SkillName.MagicResist, 70.1, 85.0);
SetSkill(SkillName.Swords, 45.1, 65.0);
SetSkill(SkillName.Tactics, 4.1, 60.0);
Fame = 1500;
Karma = -1500;
VirtualArmor = 34;
// TODO: Skull?
PackItem(
Utility.Random(7) switch
{
0 => new Arrow(),
1 => new Lockpick(),
2 => new Shaft(),
3 => new Ribs(),
4 => new Bandage(),
5 => new BeverageBottle(BeverageType.Wine),
_ => new Jug(BeverageType.Cider) // 6
}
);
if (Core.AOS)
{
PackItem(Loot.RandomNecromancyReagent());
}
}
public override string CorpseName => "an orcish corpse";
public override InhumanSpeech SpeechType => InhumanSpeech.Orc;
public override bool CanRummageCorpses => true;
public override int Meat => 1;
public override OppositionGroup OppositionGroup => OppositionGroup.SavagesAndOrcs;
public override void OnDeath(Container c)
{
base.OnDeath(c);
}
public override void GenerateLoot()
{
AddLoot(LootPack.Meager, 2);
}
public override bool IsEnemy(Mobile m) =>
(!m.Player || m.FindItemOnLayer<OrcishKinMask>(Layer.Helm) == null) && base.IsEnemy(m);
public override void AggressiveAction(Mobile aggressor, bool criminal)
{
base.AggressiveAction(aggressor, criminal);
if (aggressor.FindItemOnLayer(Layer.Helm) is OrcishKinMask item)
{
AOS.Damage(aggressor, 50, 0, 100, 0, 0, 0);
item.Delete();
aggressor.FixedParticles(0x36BD, 20, 10, 5044, EffectLayer.Head);
aggressor.PlaySound(0x307);
}
}
}
}

View file

@ -0,0 +1,53 @@
using ModernUO.Serialization;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class SmallEttin : BaseCreature
{
[Constructible]
public SmallEttin() : base(AIType.AI_Melee)
{
Body = 18;
BaseSoundID = 367;
SetStr(96, 115);
SetDex(36, 55);
SetInt(31, 55);
SetHits(62, 79);
SetDamage(7, 13);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 35, 40);
SetResistance(ResistanceType.Fire, 15, 25);
SetResistance(ResistanceType.Cold, 40, 50);
SetResistance(ResistanceType.Poison, 15, 25);
SetResistance(ResistanceType.Energy, 15, 25);
SetSkill(SkillName.MagicResist, 40.1, 55.0);
SetSkill(SkillName.Tactics, 30.1, 50.0);
SetSkill(SkillName.Wrestling, 30.1, 50.0);
Fame = 1500;
Karma = -1500;
VirtualArmor = 38;
}
public override string CorpseName => "an ettins corpse";
public override string DefaultName => "an small ettin";
public override bool CanRummageCorpses => true;
public override int TreasureMapLevel => 1;
public override int Meat => 4;
public override void GenerateLoot()
{
AddLoot(LootPack.Meager);
AddLoot(LootPack.Potions);
}
}
}

View file

@ -0,0 +1,84 @@
using ModernUO.Serialization;
using Server.Items;
using Server.Misc;
namespace Server.Mobiles
{
[SerializationGenerator(0, false)]
public partial class WeakOrcishMage : BaseCreature
{
[Constructible]
public WeakOrcishMage() : base(AIType.AI_Mage)
{
Body = 140;
BaseSoundID = 0x45A;
SetStr(50, 90);
SetDex(41, 65);
SetInt(55, 70);
SetHits(40, 60);
SetDamage(4, 14);
SetDamageType(ResistanceType.Physical, 100);
SetResistance(ResistanceType.Physical, 25, 35);
SetResistance(ResistanceType.Fire, 30, 40);
SetResistance(ResistanceType.Cold, 20, 30);
SetResistance(ResistanceType.Poison, 30, 40);
SetResistance(ResistanceType.Energy, 30, 40);
SetSkill(SkillName.EvalInt, 30.1, 52.5);
SetSkill(SkillName.Magery, 30.1, 52.5);
SetSkill(SkillName.MagicResist, 60.1, 75.0);
SetSkill(SkillName.Tactics, 50.1, 65.0);
SetSkill(SkillName.Wrestling, 40.1, 50.0);
Fame = 1500;
Karma = -1500;
VirtualArmor = 30;
PackReg(6);
if (Utility.RandomDouble() < 0.05)
{
PackItem(new OrcishKinMask());
}
}
public override string CorpseName => "a glowing orc corpse";
public override InhumanSpeech SpeechType => InhumanSpeech.Orc;
public override string DefaultName => "an weak orcish mage";
public override bool CanRummageCorpses => true;
public override int TreasureMapLevel => 1;
public override int Meat => 1;
public override OppositionGroup OppositionGroup => OppositionGroup.SavagesAndOrcs;
public override void GenerateLoot()
{
AddLoot(LootPack.Poor);
AddLoot(LootPack.LowScrolls);
}
public override bool IsEnemy(Mobile m) =>
(!m.Player || m.FindItemOnLayer<OrcishKinMask>(Layer.Helm) == null) && base.IsEnemy(m);
public override void AggressiveAction(Mobile aggressor, bool criminal)
{
base.AggressiveAction(aggressor, criminal);
if (aggressor.FindItemOnLayer(Layer.Helm) is OrcishKinMask item)
{
AOS.Damage(aggressor, 50, 0, 100, 0, 0, 0);
item.Delete();
aggressor.FixedParticles(0x36BD, 20, 10, 5044, EffectLayer.Head);
aggressor.PlaySound(0x307);
}
}
}
}