66 lines
No EOL
1.4 KiB
C#
66 lines
No EOL
1.4 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a ghostly corpse" )]
|
|
public class Spectre : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Spectre() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a spectre";
|
|
Body = 26;
|
|
Hue = 0x4001;
|
|
BaseSoundID = 0x482;
|
|
Clan = Clan.Undead;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 76, 95 );
|
|
SetInt( 36, 60 );
|
|
|
|
SetHits( 46, 60 );
|
|
|
|
SetDamage( 7, 11 );
|
|
|
|
SetSkill( SkillName.Concentration, 55.1, 70.0 );
|
|
SetSkill( SkillName.Magery, 55.1, 70.0 );
|
|
SetSkill( SkillName.MagicResist, 55.1, 70.0 );
|
|
SetSkill( SkillName.Tactics, 45.1, 60.0 );
|
|
SetSkill( SkillName.HandToHand, 45.1, 55.0 );
|
|
|
|
Fame = 4000;
|
|
Karma = -4000;
|
|
|
|
VirtualArmor = 28;
|
|
|
|
PackReg( 10 );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
|
|
|
public Spectre( 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();
|
|
}
|
|
}
|
|
} |