69 lines
1.7 KiB
C#
69 lines
1.7 KiB
C#
using Server;
|
|
using System;
|
|
using Server.Items;
|
|
using Server.Multis;
|
|
using System.Collections.Generic;
|
|
using Server.Engines.Quests;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class MerchantCaptain : BaseShipCaptain
|
|
{
|
|
public override bool Aggressive { get { return false; } }
|
|
public override bool InitialInnocent { get { return true; } }
|
|
|
|
[Constructable]
|
|
public MerchantCaptain(BaseGalleon galleon)
|
|
: base(galleon, AIType.AI_Melee, FightMode.Aggressor, 1, 10, .2, .4)
|
|
{
|
|
Title = "the merchant captain";
|
|
Hue = Race.RandomSkinHue();
|
|
|
|
Item hat;
|
|
|
|
if (Utility.RandomBool())
|
|
hat = new WideBrimHat();
|
|
else
|
|
hat = new TricorneHat();
|
|
|
|
hat.Hue = Utility.RandomNeutralHue();
|
|
|
|
AddItem(new Sandals());
|
|
AddItem(new FancyShirt(Utility.RandomNeutralHue()));
|
|
AddItem(hat);
|
|
AddItem(new Cloak(Utility.RandomNeutralHue()));
|
|
AddItem(new Dagger());
|
|
|
|
Utility.AssignRandomHair(this);
|
|
|
|
Fame = 22000;
|
|
Karma = -22000;
|
|
|
|
if (IsSoulboundEnemies)
|
|
IsSoulbound = true;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.SuperBoss, 2);
|
|
}
|
|
|
|
public MerchantCaptain(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|