108 lines
2.8 KiB
C#
108 lines
2.8 KiB
C#
using System;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a terathan avenger corpse")]
|
|
public class TerathanAvenger : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public TerathanAvenger()
|
|
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "a terathan avenger";
|
|
this.Body = 152;
|
|
this.BaseSoundID = 0x24D;
|
|
|
|
this.SetStr(467, 645);
|
|
this.SetDex(77, 95);
|
|
this.SetInt(126, 150);
|
|
|
|
this.SetHits(296, 372);
|
|
this.SetMana(46, 70);
|
|
|
|
this.SetDamage(18, 22);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 50);
|
|
this.SetDamageType(ResistanceType.Poison, 50);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 40, 50);
|
|
this.SetResistance(ResistanceType.Fire, 30, 40);
|
|
this.SetResistance(ResistanceType.Cold, 35, 45);
|
|
this.SetResistance(ResistanceType.Poison, 90, 100);
|
|
this.SetResistance(ResistanceType.Energy, 35, 45);
|
|
|
|
this.SetSkill(SkillName.EvalInt, 70.3, 100.0);
|
|
this.SetSkill(SkillName.Magery, 70.3, 100.0);
|
|
this.SetSkill(SkillName.Poisoning, 60.1, 80.0);
|
|
this.SetSkill(SkillName.MagicResist, 65.1, 80.0);
|
|
this.SetSkill(SkillName.Tactics, 90.1, 100.0);
|
|
this.SetSkill(SkillName.Wrestling, 90.1, 100.0);
|
|
|
|
this.Fame = 15000;
|
|
this.Karma = -15000;
|
|
|
|
this.VirtualArmor = 50;
|
|
}
|
|
|
|
public TerathanAvenger(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override Poison PoisonImmune
|
|
{
|
|
get
|
|
{
|
|
return Poison.Deadly;
|
|
}
|
|
}
|
|
public override Poison HitPoison
|
|
{
|
|
get
|
|
{
|
|
return Poison.Deadly;
|
|
}
|
|
}
|
|
public override int TreasureMapLevel
|
|
{
|
|
get
|
|
{
|
|
return 3;
|
|
}
|
|
}
|
|
public override int Meat
|
|
{
|
|
get
|
|
{
|
|
return 2;
|
|
}
|
|
}
|
|
|
|
public override TribeType Tribe { get { return TribeType.Terathan; } }
|
|
|
|
public override OppositionGroup OppositionGroup
|
|
{
|
|
get
|
|
{
|
|
return OppositionGroup.TerathansAndOphidians;
|
|
}
|
|
}
|
|
public override void GenerateLoot()
|
|
{
|
|
this.AddLoot(LootPack.Rich, 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();
|
|
}
|
|
}
|
|
}
|