54 lines
1.2 KiB
C#
54 lines
1.2 KiB
C#
using Server.Mobiles;
|
|
using Server.Items;
|
|
|
|
namespace Server.Engines.Quests.Ninja
|
|
{
|
|
public class Henchman : BaseCreature
|
|
{
|
|
public override string DefaultName => "a henchman";
|
|
|
|
[Constructible]
|
|
public Henchman() : base( AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
|
{
|
|
InitStats( 45, 30, 5 );
|
|
|
|
Hue = Utility.RandomSkinHue();
|
|
Body = 0x190;
|
|
|
|
Utility.AssignRandomHair( this );
|
|
Utility.AssignRandomFacialHair( this );
|
|
|
|
AddItem( new LeatherNinjaJacket() );
|
|
AddItem( new LeatherNinjaPants() );
|
|
AddItem( new NinjaTabi() );
|
|
|
|
if ( Utility.RandomBool() )
|
|
AddItem( new Kama() );
|
|
else
|
|
AddItem( new Tessen() );
|
|
|
|
SetSkill( SkillName.Swords, 50.0 );
|
|
SetSkill( SkillName.Tactics, 50.0 );
|
|
}
|
|
|
|
public override bool AlwaysMurderer => true;
|
|
|
|
public Henchman( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.WriteEncodedInt( 0 ); // version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadEncodedInt();
|
|
}
|
|
}
|
|
}
|