112 lines
2.8 KiB
C#
112 lines
2.8 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("an abyssal abomination corpse")]
|
|
public class AbyssalAbomination : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public AbyssalAbomination()
|
|
: base(AIType.AI_NecroMage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
Name = "an Abyssal Abomination";
|
|
Body = 312;
|
|
Hue = 769;
|
|
BaseSoundID = 0x451;
|
|
|
|
SetStr(401, 420);
|
|
SetDex(81, 90);
|
|
SetInt(401, 420);
|
|
|
|
SetHits(600, 750);
|
|
|
|
SetDamage(13, 17);
|
|
|
|
SetDamageType(ResistanceType.Physical, 50);
|
|
SetDamageType(ResistanceType.Poison, 50);
|
|
|
|
SetResistance(ResistanceType.Physical, 30, 35);
|
|
SetResistance(ResistanceType.Fire, 100);
|
|
SetResistance(ResistanceType.Cold, 50, 55);
|
|
SetResistance(ResistanceType.Poison, 60, 65);
|
|
SetResistance(ResistanceType.Energy, 77, 80);
|
|
|
|
SetSkill(SkillName.EvalInt, 200.0);
|
|
SetSkill(SkillName.Magery, 112.6, 117.5);
|
|
SetSkill(SkillName.SpiritSpeak, 200.0);
|
|
SetSkill(SkillName.Necromancy, 112.6, 117.5);
|
|
SetSkill(SkillName.Meditation, 200.0);
|
|
SetSkill(SkillName.MagicResist, 117.6, 120.0);
|
|
SetSkill(SkillName.Tactics, 100.0);
|
|
SetSkill(SkillName.Wrestling, 84.1, 88.0);
|
|
|
|
Fame = 26000;
|
|
Karma = -26000;
|
|
|
|
VirtualArmor = 54;
|
|
|
|
SetWeaponAbility(WeaponAbility.MortalStrike);
|
|
SetWeaponAbility(WeaponAbility.WhirlwindAttack);
|
|
}
|
|
|
|
public AbyssalAbomination(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override bool IgnoreYoungProtection
|
|
{
|
|
get
|
|
{
|
|
return Core.ML;
|
|
}
|
|
}
|
|
public override bool BardImmune
|
|
{
|
|
get
|
|
{
|
|
return !Core.SE;
|
|
}
|
|
}
|
|
public override bool Unprovokable
|
|
{
|
|
get
|
|
{
|
|
return Core.SE;
|
|
}
|
|
}
|
|
public override bool AreaPeaceImmune
|
|
{
|
|
get
|
|
{
|
|
return Core.SE;
|
|
}
|
|
}
|
|
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();
|
|
}
|
|
}
|
|
}
|