62 lines
No EOL
1.3 KiB
C#
62 lines
No EOL
1.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a gargoyle corpse" )]
|
|
public class StoneGargoyle : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public StoneGargoyle() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a stone gargoyle";
|
|
Body = 4;
|
|
Hue = 1401;
|
|
BaseSoundID = 0x174;
|
|
|
|
SetStr( 246, 275 );
|
|
SetDex( 76, 95 );
|
|
SetInt( 81, 105 );
|
|
|
|
SetHits( 148, 165 );
|
|
|
|
SetDamage( 11, 17 );
|
|
|
|
SetSkill( SkillName.MagicResist, 85.1, 100.0 );
|
|
SetSkill( SkillName.Tactics, 80.1, 100.0 );
|
|
SetSkill( SkillName.HandToHand, 60.1, 100.0 );
|
|
|
|
Fame = 4000;
|
|
Karma = -4000;
|
|
|
|
VirtualArmor = 50;
|
|
|
|
PackItem( new IronIngot( 12 ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average, 2 );
|
|
AddLoot( LootPack.Gems, 1 );
|
|
AddLoot( LootPack.LowPotions );
|
|
}
|
|
|
|
public StoneGargoyle( 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();
|
|
}
|
|
}
|
|
} |