ModernUO/Projects/UOContent/Mobiles/Monsters/ML/Humanoid/Melee/PestilentBandage.cs
Kamron Batman bdee7bc671
fix: Fixes NPC slowness. (#955)
* Adds the following configurations:
  * `movement.delay.npcMinDelay` - 0.1 - Pets or Non-monster NPCs
  * `movement.delay.npcMaxDelay` - 0.4 - Pets or Non-monster NPCs
  * `movement.delay.monsterMinDelay` - 0.4 - Non-pet Monsters or NPC vs Player Combat
  * `movement.delay.monsterMaxDelay` - 0.8 - Non-pet Monsters or NPC vs Player Combat
  * `movement.delay.monsterMinDex` - 150 - Dex maximum for delay by dex
  * `movement.delay.MinDex` - 190 - Dex maximum for delay by dex
2022-03-10 22:55:06 -08:00

80 lines
2.4 KiB
C#

using Server.Items;
namespace Server.Mobiles
{
public class PestilentBandage : BaseCreature
{
[Constructible]
public PestilentBandage() : base(AIType.AI_Melee) // NEED TO CHECK
{
Body = 154;
Hue = 0x515;
BaseSoundID = 471;
SetStr(691, 740);
SetDex(141, 180);
SetInt(51, 80);
SetHits(415, 445);
SetDamage(13, 23);
SetDamageType(ResistanceType.Physical, 40);
SetDamageType(ResistanceType.Cold, 20);
SetDamageType(ResistanceType.Poison, 40);
SetResistance(ResistanceType.Physical, 45, 55);
SetResistance(ResistanceType.Fire, 10, 20);
SetResistance(ResistanceType.Cold, 50, 60);
SetResistance(ResistanceType.Poison, 20, 30);
SetResistance(ResistanceType.Energy, 20, 30);
SetSkill(SkillName.Poisoning, 0.0, 10.0);
SetSkill(SkillName.Anatomy, 0);
SetSkill(SkillName.MagicResist, 75.0, 80.0);
SetSkill(SkillName.Tactics, 80.0, 85.0);
SetSkill(SkillName.Wrestling, 70.0, 75.0);
Fame = 20000;
Karma = -20000;
// VirtualArmor = 28; // Don't know what it should be
PackItem(new Bandage(5)); // How many?
}
public PestilentBandage(Serial serial) : base(serial)
{
}
public override string CorpseName => "a pestilent bandage corpse";
// Neither Stratics nor UOGuide have much description
// beyond being a "Grey Mummy". Body, Sound and
// Hue are all guessed until they can be verified.
// Loot and Fame/Karma are also guesses at this point.
//
// They also apparently have a Poison Attack, which I've stolen from Yamandons.
public override string DefaultName => "a pestilent bandage";
public override Poison HitPoison => Poison.Lethal;
public override bool CanHeal => true;
public override void GenerateLoot()
{
AddLoot(LootPack.Rich); // Need to verify
}
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0);
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
}
}