64 lines
No EOL
1.4 KiB
C#
64 lines
No EOL
1.4 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "an imp corpse" )]
|
|
public class Imp : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Imp() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = NameList.RandomName( "imp" );
|
|
HiddenTitle = "the imp";
|
|
Body = 62;
|
|
BaseSoundID = 422;
|
|
Clan = Clan.Demonic;
|
|
|
|
SetStr( 91, 115 );
|
|
SetDex( 61, 80 );
|
|
SetInt( 86, 105 );
|
|
|
|
SetHits( 55, 70 );
|
|
|
|
SetDamage( 10, 14 );
|
|
|
|
SetSkill( SkillName.Concentration, 20.1, 30.0 );
|
|
SetSkill( SkillName.Magery, 90.1, 100.0 );
|
|
SetSkill( SkillName.MagicResist, 30.1, 50.0 );
|
|
SetSkill( SkillName.Tactics, 42.1, 50.0 );
|
|
SetSkill( SkillName.HandToHand, 40.1, 44.0 );
|
|
|
|
Fame = 2500;
|
|
Karma = -2500;
|
|
|
|
VirtualArmor = 30;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
AddLoot( LootPack.MedScrolls, 2 );
|
|
}
|
|
|
|
public override int Meat{ get{ return 1; } }
|
|
public override int Hides{ get{ return 6; } }
|
|
|
|
public Imp( 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();
|
|
}
|
|
}
|
|
} |