95 lines
2.5 KiB
C#
95 lines
2.5 KiB
C#
using System;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a titans corpse")]
|
|
public class Titan : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Titan()
|
|
: base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.Name = "a titan";
|
|
this.Body = 76;
|
|
this.BaseSoundID = 609;
|
|
|
|
this.SetStr(536, 585);
|
|
this.SetDex(126, 145);
|
|
this.SetInt(281, 305);
|
|
|
|
this.SetHits(322, 351);
|
|
|
|
this.SetDamage(13, 16);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 35, 45);
|
|
this.SetResistance(ResistanceType.Fire, 30, 40);
|
|
this.SetResistance(ResistanceType.Cold, 25, 35);
|
|
this.SetResistance(ResistanceType.Poison, 30, 40);
|
|
this.SetResistance(ResistanceType.Energy, 30, 40);
|
|
|
|
this.SetSkill(SkillName.EvalInt, 85.1, 100.0);
|
|
this.SetSkill(SkillName.Magery, 85.1, 100.0);
|
|
this.SetSkill(SkillName.MagicResist, 80.2, 110.0);
|
|
this.SetSkill(SkillName.Tactics, 60.1, 80.0);
|
|
this.SetSkill(SkillName.Wrestling, 40.1, 50.0);
|
|
|
|
this.Fame = 11500;
|
|
this.Karma = -11500;
|
|
|
|
this.VirtualArmor = 40;
|
|
|
|
if (Core.ML && Utility.RandomDouble() < .33)
|
|
this.PackItem(Engines.Plants.Seed.RandomPeculiarSeed(1));
|
|
|
|
if (0.1 > Utility.RandomDouble())
|
|
this.PackItem(new Server.Items.RoastPig());
|
|
}
|
|
|
|
public Titan(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int Meat
|
|
{
|
|
get
|
|
{
|
|
return 4;
|
|
}
|
|
}
|
|
public override Poison PoisonImmune
|
|
{
|
|
get
|
|
{
|
|
return Poison.Regular;
|
|
}
|
|
}
|
|
public override int TreasureMapLevel
|
|
{
|
|
get
|
|
{
|
|
return 5;
|
|
}
|
|
}
|
|
public override void GenerateLoot()
|
|
{
|
|
this.AddLoot(LootPack.FilthyRich);
|
|
this.AddLoot(LootPack.Average);
|
|
this.AddLoot(LootPack.MedScrolls);
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
} |