131 lines
3.3 KiB
C#
131 lines
3.3 KiB
C#
using System;
|
|
using Server.Factions;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a arch daemon corpse")]
|
|
public class ArchDaemon : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public ArchDaemon()
|
|
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "an Arch Deamon";
|
|
this.Body = 40;
|
|
this.Hue = 1755;
|
|
this.BaseSoundID = 357;
|
|
|
|
this.SetStr(986, 1185);
|
|
this.SetDex(177, 255);
|
|
this.SetInt(151, 250);
|
|
|
|
this.SetHits(592, 711);
|
|
|
|
this.SetDamage(22, 29);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 50);
|
|
this.SetDamageType(ResistanceType.Fire, 25);
|
|
this.SetDamageType(ResistanceType.Energy, 25);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 65, 80);
|
|
this.SetResistance(ResistanceType.Fire, 60, 80);
|
|
this.SetResistance(ResistanceType.Cold, 50, 60);
|
|
this.SetResistance(ResistanceType.Poison, 100);
|
|
this.SetResistance(ResistanceType.Energy, 40, 50);
|
|
|
|
this.SetSkill(SkillName.Anatomy, 25.1, 50.0);
|
|
this.SetSkill(SkillName.EvalInt, 90.1, 100.0);
|
|
this.SetSkill(SkillName.Magery, 95.5, 100.0);
|
|
this.SetSkill(SkillName.Meditation, 25.1, 50.0);
|
|
this.SetSkill(SkillName.MagicResist, 100.5, 150.0);
|
|
this.SetSkill(SkillName.Tactics, 90.1, 100.0);
|
|
this.SetSkill(SkillName.Wrestling, 90.1, 100.0);
|
|
|
|
this.Fame = 24000;
|
|
this.Karma = -24000;
|
|
|
|
this.VirtualArmor = 90;
|
|
}
|
|
|
|
public ArchDaemon(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override double DispelDifficulty
|
|
{
|
|
get
|
|
{
|
|
return 125.0;
|
|
}
|
|
}
|
|
public override double DispelFocus
|
|
{
|
|
get
|
|
{
|
|
return 45.0;
|
|
}
|
|
}
|
|
public override Faction FactionAllegiance
|
|
{
|
|
get
|
|
{
|
|
return Shadowlords.Instance;
|
|
}
|
|
}
|
|
public override Ethics.Ethic EthicAllegiance
|
|
{
|
|
get
|
|
{
|
|
return Ethics.Ethic.Evil;
|
|
}
|
|
}
|
|
public override bool CanRummageCorpses
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
public override Poison PoisonImmune
|
|
{
|
|
get
|
|
{
|
|
return Poison.Regular;
|
|
}
|
|
}
|
|
public override int TreasureMapLevel
|
|
{
|
|
get
|
|
{
|
|
return 4;
|
|
}
|
|
}
|
|
public override int Meat
|
|
{
|
|
get
|
|
{
|
|
return 1;
|
|
}
|
|
}
|
|
public override void GenerateLoot()
|
|
{
|
|
this.AddLoot(LootPack.Rich);
|
|
this.AddLoot(LootPack.Average, 2);
|
|
this.AddLoot(LootPack.MedScrolls, 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();
|
|
}
|
|
}
|
|
} |