88 lines
No EOL
2.1 KiB
C#
88 lines
No EOL
2.1 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.ContextMenus;
|
|
using Server.Misc;
|
|
using Server.Network;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
public class Executioner : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Executioner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
SpeechHue = Utility.RandomSpeechHue();
|
|
Title = "the executioner";
|
|
Hue = Utility.RandomSkinHue();
|
|
Clan = Clan.Humanoid;
|
|
|
|
if ( this.Female = Utility.RandomBool() )
|
|
{
|
|
this.Body = 0x191;
|
|
this.Name = NameList.RandomName( "female" );
|
|
}
|
|
else
|
|
{
|
|
this.Body = 0x190;
|
|
this.Name = NameList.RandomName( "male" );
|
|
}
|
|
|
|
SetStr( 386, 400 );
|
|
SetDex( 151, 165 );
|
|
SetInt( 161, 175 );
|
|
|
|
SetDamage( 8, 10 );
|
|
|
|
SetSkill( SkillName.Fencing, 46.0, 77.5 );
|
|
SetSkill( SkillName.Bludgeoning, 35.0, 57.5 );
|
|
SetSkill( SkillName.Poisoning, 60.0, 82.5 );
|
|
SetSkill( SkillName.MagicResist, 83.5, 92.5 );
|
|
SetSkill( SkillName.Swords, 125.0 );
|
|
SetSkill( SkillName.Tactics, 125.0 );
|
|
|
|
Fame = 5000;
|
|
Karma = -5000;
|
|
|
|
VirtualArmor = 40;
|
|
|
|
AddItem( new ThighBoots() );
|
|
AddItem( new LongPants() );
|
|
AddItem( new FancyShirt( Utility.RandomDarkHue() ) );
|
|
AddItem( new Hood( Utility.RandomDarkHue() ) );
|
|
AddItem( new GreatAxe());
|
|
|
|
if ( Utility.RandomBool() )
|
|
AddItem( new Cloak( Utility.RandomDarkHue() ) );
|
|
|
|
Utility.AssignRandomHair( this );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.FilthyRich );
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override bool ClickTitle{ get{ return false; } }
|
|
public override bool ShowFameTitle{ get{ return false; } }
|
|
|
|
public Executioner( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 ); // version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
} |