#W# Added: Added an Overworld dungeon region. Tweaked overworld animal spawn.
This commit is contained in:
parent
6213604bb1
commit
292cd625c5
10 changed files with 435 additions and 322 deletions
|
|
@ -3819,7 +3819,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
var tc = Core.TickCount;
|
||||
|
||||
if (!Controlled && !Summoned && Region is Server.Regions.DungeonRegion)
|
||||
if (!Controlled && !Summoned && Region is Server.Regions.GreetingDungeonRegion)
|
||||
{
|
||||
if (Combatant == null)
|
||||
{
|
||||
|
|
|
|||
41
Projects/UOContent/Mobiles/Vendors/NPC/Necromancer.cs
Normal file
41
Projects/UOContent/Mobiles/Vendors/NPC/Necromancer.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
using ModernUO.Serialization;
|
||||
using System.Collections.Generic;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
[SerializationGenerator(0, false)]
|
||||
public partial class Necromancer : BaseVendor
|
||||
{
|
||||
private readonly List<SBInfo> m_SBInfos = new();
|
||||
|
||||
[Constructible]
|
||||
public Necromancer() : base("the necromancer")
|
||||
{
|
||||
SetSkill(SkillName.Necromancy, 65.0, 88.0);
|
||||
SetSkill(SkillName.SpiritSpeak, 65.0, 88.0);
|
||||
SetSkill(SkillName.Meditation, 60.0, 83.0);
|
||||
SetSkill(SkillName.MagicResist, 65.0, 88.0);
|
||||
SetSkill(SkillName.Wrestling, 36.0, 68.0);
|
||||
}
|
||||
|
||||
protected override List<SBInfo> SBInfos => m_SBInfos;
|
||||
|
||||
public override NpcGuild NpcGuild => NpcGuild.MagesGuild;
|
||||
|
||||
public override VendorShoeType ShoeType => Utility.RandomBool() ? VendorShoeType.Shoes : VendorShoeType.Sandals;
|
||||
|
||||
public override void InitSBInfo()
|
||||
{
|
||||
m_SBInfos.Add(new SBMage());
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
base.InitOutfit();
|
||||
|
||||
AddItem(new Robe(Utility.RandomGreenHue()));
|
||||
AddItem(new WizardsHat(Utility.RandomGreenHue()));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue