77 lines
1.6 KiB
C#
77 lines
1.6 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a ghostly corpse" )]
|
|
public class Apparition : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Apparition() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a apparition";
|
|
Body = 26;
|
|
Hue = 355;
|
|
BaseSoundID = 0x482;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 76, 95 );
|
|
SetInt( 136, 160 );
|
|
|
|
SetHits( 146, 160 );
|
|
|
|
SetDamage( 18, 26 );
|
|
|
|
SetDamageType( ResistanceType.Physical, 40 );
|
|
SetDamageType( ResistanceType.Cold, 60 );
|
|
|
|
SetResistance( ResistanceType.Physical, 25, 30 );
|
|
SetResistance( ResistanceType.Cold, 45, 55 );
|
|
SetResistance( ResistanceType.Energy, 20, 30 );
|
|
|
|
SetSkill( SkillName.EvalInt, 75.1, 80.0 );
|
|
SetSkill( SkillName.Magery, 65.1, 80.0 );
|
|
SetSkill( SkillName.MagicResist, 75.1, 80.0 );
|
|
SetSkill( SkillName.Tactics, 75.1, 80.0 );
|
|
SetSkill( SkillName.Wrestling, 75.1, 85.0 );
|
|
|
|
Fame = 8000;
|
|
Karma = -8000;
|
|
|
|
VirtualArmor = 28;
|
|
|
|
PackReg( 10 );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
}
|
|
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
|
|
public override OppositionGroup OppositionGroup
|
|
{
|
|
get{ return OppositionGroup.FeyAndUndead; }
|
|
}
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
|
|
|
public Apparition( 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();
|
|
}
|
|
}
|
|
} |