61 lines
No EOL
1.1 KiB
C#
61 lines
No EOL
1.1 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a bat corpse" )]
|
|
public class Bat : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Bat() : base( AIType.AI_Timid, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a bat";
|
|
Body = 43;
|
|
BaseSoundID = 0x270;
|
|
|
|
SetStr( 91, 110 );
|
|
SetDex( 91, 115 );
|
|
SetInt( 26, 50 );
|
|
|
|
SetHits( 55, 66 );
|
|
|
|
SetDamage( 7, 9 );
|
|
|
|
SetSkill( SkillName.MagicResist, 70.1, 95.0 );
|
|
SetSkill( SkillName.Tactics, 55.1, 80.0 );
|
|
SetSkill( SkillName.HandToHand, 30.1, 55.0 );
|
|
|
|
Fame = 1000;
|
|
Karma = -1000;
|
|
|
|
VirtualArmor = 14;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Poor );
|
|
}
|
|
|
|
public override int GetIdleSound()
|
|
{
|
|
return 0x29B;
|
|
}
|
|
|
|
public Bat( 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();
|
|
}
|
|
}
|
|
} |