Files
abysmal-isle/Scripts/Mobiles/Normal/OgreLord.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

110 lines
2.6 KiB
C#

using System;
using Server.Factions;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName("an ogre lords corpse")]
public class OgreLord : BaseCreature
{
[Constructable]
public OgreLord()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
this.Name = "an ogre lord";
this.Body = 83;
this.BaseSoundID = 427;
this.SetStr(767, 945);
this.SetDex(66, 75);
this.SetInt(46, 70);
this.SetHits(476, 552);
this.SetDamage(20, 25);
this.SetDamageType(ResistanceType.Physical, 100);
this.SetResistance(ResistanceType.Physical, 45, 55);
this.SetResistance(ResistanceType.Fire, 30, 40);
this.SetResistance(ResistanceType.Cold, 30, 40);
this.SetResistance(ResistanceType.Poison, 40, 50);
this.SetResistance(ResistanceType.Energy, 40, 50);
this.SetSkill(SkillName.MagicResist, 125.1, 140.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;
this.PackItem(new Club());
}
public OgreLord(Serial serial)
: base(serial)
{
}
public override Faction FactionAllegiance
{
get
{
return Minax.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 3;
}
}
public override int Meat
{
get
{
return 2;
}
}
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();
}
}
}