Files
abysmal-isle/Scripts/Mobiles/Summons/SummonedDaemon.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

87 lines
2.4 KiB
C#

using System;
namespace Server.Mobiles
{
[CorpseName("a daemon corpse")]
public class SummonedDaemon : BaseCreature
{
[Constructable]
public SummonedDaemon()
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
{
this.Name = NameList.RandomName("daemon");
this.Body = Core.AOS ? 10 : 9;
this.BaseSoundID = 357;
this.SetStr(200);
this.SetDex(110);
this.SetInt(150);
this.SetDamage(14, 21);
this.SetDamageType(ResistanceType.Physical, 0);
this.SetDamageType(ResistanceType.Poison, 100);
this.SetResistance(ResistanceType.Physical, 45, 55);
this.SetResistance(ResistanceType.Fire, 50, 60);
this.SetResistance(ResistanceType.Cold, 20, 30);
this.SetResistance(ResistanceType.Poison, 70, 80);
this.SetResistance(ResistanceType.Energy, 40, 50);
this.SetSkill(SkillName.EvalInt, 90.1, 100.0);
this.SetSkill(SkillName.Meditation, 90.1, 100.0);
this.SetSkill(SkillName.Magery, 90.1, 100.0);
this.SetSkill(SkillName.MagicResist, 90.1, 100.0);
this.SetSkill(SkillName.Tactics, 100.0);
this.SetSkill(SkillName.Wrestling, 98.1, 99.0);
this.VirtualArmor = 58;
this.ControlSlots = Core.SE ? 4 : 5;
}
public SummonedDaemon(Serial serial)
: base(serial)
{
}
public override double DispelDifficulty
{
get
{
return 125.0;
}
}
public override double DispelFocus
{
get
{
return 45.0;
}
}
public override Poison PoisonImmune
{
get
{
return Poison.Regular;
}
}// TODO: Immune to poison?
public override bool CanFly
{
get
{
return true;
}
}
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();
}
}
}