using Server.Items;
namespace Server.Mobiles
{
[TypeAlias("Server.Mobiles.HumanGoodBrigand")]
public class GoodBrigand : BaseCreature
{
[Constructable]
public GoodBrigand()
: base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
{
SpeechHue = Utility.RandomDyedHue();
Title = "the honest brigand";
Hue = Utility.RandomSkinHue();
{
Body = 0x190;
Name = NameList.RandomName("male");
AddItem(new ShortPants(Utility.RandomNeutralHue()));
}
SetStr(86, 100);
SetDex(81, 95);
SetInt(61, 75);
SetDamage(10, 23);
SetSkill(SkillName.Fencing, 66.0, 97.5);
SetSkill(SkillName.Macing, 65.0, 87.5);
SetSkill(SkillName.MagicResist, 25.0, 47.5);
SetSkill(SkillName.Swords, 65.0, 87.5);
SetSkill(SkillName.Tactics, 65.0, 87.5);
SetSkill(SkillName.Wrestling, 15.0, 37.5);
Fame = 1000;
Karma = -1000;
AddItem(new Boots(Utility.RandomNeutralHue()));
AddItem(new FancyShirt(0x263));
AddItem(new Bandana(0x263));
switch (Utility.Random(6))
{
case 0:
AddItem(new Longsword());
break;
case 1:
AddItem(new Broadsword());
break;
case 2:
AddItem(new Axe());
break;
case 3:
AddItem(new Club());
break;
case 4:
AddItem(new Dagger());
break;
case 5:
AddItem(new Spear());
break;
}
Utility.AssignRandomHair(this);
}
public GoodBrigand(Serial serial)
: base(serial)
{
}
public override bool ClickTitle => false;
public override bool AlwaysMurderer => true;
public override bool ShowFameTitle => false;
public override void OnDeath(Container c)
{
base.OnDeath(c);
if (Utility.RandomDouble() < 0.75)
c.DropItem(new SeveredHumanEars());
}
public override void GenerateLoot()
{
AddLoot(LootPack.Average);
}
public override bool IsEnemy(Mobile m)
{
return false;
return base.IsEnemy(m);
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}