98 lines
2.3 KiB
C#
98 lines
2.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.ContextMenus;
|
|
using Server.Misc;
|
|
using Server.Network;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a brigand corpse" )]
|
|
public class DantesBrigands : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public DantesBrigands() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
SpeechHue = Utility.RandomDyedHue();
|
|
Title = ", the Brigand";
|
|
Hue = Utility.RandomSkinHue();
|
|
|
|
if ( this.Female = Utility.RandomBool() )
|
|
{
|
|
this.Body = 0x191;
|
|
this.Name = NameList.RandomName( "female" );
|
|
AddItem( new Skirt( Utility.RandomRedHue() ) );
|
|
}
|
|
else
|
|
{
|
|
this.Body = 0x190;
|
|
this.Name = NameList.RandomName( "male" );
|
|
AddItem( new ShortPants( Utility.RandomRedHue() ) );
|
|
}
|
|
|
|
SetStr( 386, 464 );
|
|
SetDex( 251, 265 );
|
|
SetInt( 361, 375 );
|
|
|
|
SetHits( 4800 );
|
|
|
|
SetDamage( 28, 32 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 100 );
|
|
|
|
SetResistance( ResistanceType.Physical, 35, 45 );
|
|
SetResistance( ResistanceType.Fire, 25, 30 );
|
|
SetResistance( ResistanceType.Cold, 25, 30 );
|
|
SetResistance( ResistanceType.Poison, 10, 20 );
|
|
SetResistance( ResistanceType.Energy, 10, 20 );
|
|
|
|
SetSkill( SkillName.Anatomy, 125.0 );
|
|
SetSkill( SkillName.Fencing, 46.0, 77.5 );
|
|
SetSkill( SkillName.Macing, 35.0, 57.5 );
|
|
SetSkill( SkillName.Poisoning, 60.0, 82.5 );
|
|
SetSkill( SkillName.MagicResist, 113.5, 142.5 );
|
|
SetSkill( SkillName.Swords, 125.0 );
|
|
SetSkill( SkillName.Tactics, 125.0 );
|
|
SetSkill( SkillName.Lumberjacking, 125.0 );
|
|
|
|
Fame = 25000;
|
|
Karma = -25000;
|
|
|
|
VirtualArmor = 50;
|
|
|
|
AddItem( new ThighBoots( Utility.RandomRedHue() ) );
|
|
AddItem( new Surcoat( Utility.RandomRedHue() ) );
|
|
AddItem( new Axe());
|
|
|
|
PackItem( new DantesInks());
|
|
|
|
Utility.AssignRandomHair( this );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override bool AlwaysMurderer{ get{ return true; } }
|
|
|
|
public DantesBrigands( 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();
|
|
}
|
|
}
|
|
} |