AvatarsConquest/Scripts/Mobiles/Gargoyles/Gargoyle.cs

62 lines
No EOL
1.3 KiB
C#

using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a gargoyle corpse" )]
public class Gargoyle : BaseCreature
{
[Constructable]
public Gargoyle() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a gargoyle";
Body = 4;
BaseSoundID = 372;
SetStr( 146, 175 );
SetDex( 76, 95 );
SetInt( 81, 105 );
SetHits( 88, 105 );
SetDamage( 7, 14 );
SetSkill( SkillName.Concentration, 70.1, 85.0 );
SetSkill( SkillName.Magery, 70.1, 85.0 );
SetSkill( SkillName.MagicResist, 70.1, 85.0 );
SetSkill( SkillName.Tactics, 50.1, 70.0 );
SetSkill( SkillName.HandToHand, 40.1, 80.0 );
Fame = 3500;
Karma = -3500;
VirtualArmor = 32;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Average );
AddLoot( LootPack.MedScrolls );
AddLoot( LootPack.Gems, Utility.RandomMinMax( 1, 4 ) );
}
public override int Meat{ get{ return 1; } }
public Gargoyle( 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();
}
}
}