62 lines
No EOL
1.2 KiB
C#
62 lines
No EOL
1.2 KiB
C#
using System;
|
|
using Server.Items;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a lizard corpse" )]
|
|
public class GiantLizard : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public GiantLizard() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a giant lizard";
|
|
Body = 206;
|
|
Hue = Utility.RandomLizardHue();
|
|
BaseSoundID = 0x5A;
|
|
|
|
SetStr( 126, 150 );
|
|
SetDex( 56, 75 );
|
|
SetInt( 11, 20 );
|
|
|
|
SetHits( 76, 90 );
|
|
SetMana( 0 );
|
|
|
|
SetDamage( 6, 24 );
|
|
|
|
SetSkill( SkillName.MagicResist, 55.1, 70.0 );
|
|
SetSkill( SkillName.Tactics, 60.1, 80.0 );
|
|
SetSkill( SkillName.HandToHand, 60.1, 80.0 );
|
|
|
|
Fame = 3000;
|
|
Karma = -3000;
|
|
|
|
VirtualArmor = 40;
|
|
|
|
PackItem( new SulfurousAsh( Utility.Random( 4, 10 ) ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override int Hides{ get{ return 12; } }
|
|
|
|
public GiantLizard(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();
|
|
}
|
|
}
|
|
} |