66 lines
No EOL
1.5 KiB
C#
66 lines
No EOL
1.5 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a skeletal corpse" )]
|
|
public class SkeletalMage : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public SkeletalMage() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a skeletal mage";
|
|
Body = Utility.RandomList ( 74, 332, 121 );
|
|
BaseSoundID = 451;
|
|
Clan = Clan.Undead;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 56, 75 );
|
|
SetInt( 186, 210 );
|
|
|
|
SetHits( 46, 60 );
|
|
|
|
SetDamage( 3, 7 );
|
|
|
|
SetSkill( SkillName.Concentration, 60.1, 70.0 );
|
|
SetSkill( SkillName.Magery, 60.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 = 3000;
|
|
Karma = -3000;
|
|
|
|
VirtualArmor = 28;
|
|
PackReg( 3, 10 );
|
|
PackItem( new Bone( Utility.RandomList(1,1,2,3) ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average );
|
|
AddLoot( LootPack.LowScrolls );
|
|
AddLoot( LootPack.LowPotions );
|
|
}
|
|
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
|
|
|
public SkeletalMage( 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();
|
|
}
|
|
}
|
|
} |