70 lines
No EOL
1.6 KiB
C#
70 lines
No EOL
1.6 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
using Server.Misc;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a lizardman corpse" )]
|
|
public class Lizardman : BaseCreature
|
|
{
|
|
public override InhumanSpeech SpeechType{ get{ return InhumanSpeech.Lizardman; } }
|
|
|
|
[Constructable]
|
|
public Lizardman() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = NameList.RandomName( "lizardman" );
|
|
HiddenTitle = "the lizardman";
|
|
Body = Utility.RandomList( 33, 35, 36 );
|
|
BaseSoundID = 417;
|
|
|
|
SetStr( 96, 120 );
|
|
SetDex( 86, 105 );
|
|
SetInt( 36, 60 );
|
|
|
|
SetHits( 58, 72 );
|
|
|
|
SetDamage( 5, 7 );
|
|
|
|
SetSkill( SkillName.MagicResist, 35.1, 60.0 );
|
|
SetSkill( SkillName.Tactics, 55.1, 80.0 );
|
|
SetSkill( SkillName.HandToHand, 50.1, 70.0 );
|
|
|
|
Fame = 1500;
|
|
Karma = -1500;
|
|
|
|
VirtualArmor = 28;
|
|
|
|
if ( Body == 35 )
|
|
PackItem( new Spear() );
|
|
else if ( Body == 36 )
|
|
PackItem( new WarMace() );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override bool CanRummageCorpses{ get{ return true; } }
|
|
public override int Meat{ get{ return 1; } }
|
|
public override int Hides{ get{ return 12; } }
|
|
|
|
public Lizardman( 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();
|
|
}
|
|
}
|
|
} |