BritainKnights/Scripts/Mobiles/Gargoyles/GargoyleUndead.cs

59 lines
No EOL
1.2 KiB
C#

using System;
using System.Collections;
using Server.Items;
using Server.Targeting;
namespace Server.Mobiles
{
[CorpseName( "a gargoyle corpse" )]
public class GargoyleUndead : BaseCreature
{
[Constructable]
public GargoyleUndead() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a rotting gargoyle";
Body = 310;
BaseSoundID = 471;
Clan = Clan.Undead;
SetStr( 369, 413 );
SetDex( 114, 143 );
SetInt( 122, 158 );
SetHits( 222, 248 );
SetDamage( 17, 26 );
SetSkill( SkillName.MagicResist, 105.1, 120.0 );
SetSkill( SkillName.Tactics, 100.1, 120.0 );
SetSkill( SkillName.HandToHand, 80.1, 120.0 );
Fame = 7000;
Karma = -7000;
VirtualArmor = 60;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Rich );
AddLoot( LootPack.Gems, 3 );
}
public GargoyleUndead( 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();
}
}
}