67 lines
No EOL
1.4 KiB
C#
67 lines
No EOL
1.4 KiB
C#
using System;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
using System.Collections;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a terathan drone corpse" )]
|
|
public class TerathanDrone : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public TerathanDrone() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a terathan drone";
|
|
Body = 71;
|
|
BaseSoundID = 594;
|
|
|
|
SetStr( 36, 65 );
|
|
SetDex( 96, 145 );
|
|
SetInt( 21, 45 );
|
|
|
|
SetHits( 22, 39 );
|
|
SetMana( 0 );
|
|
|
|
SetDamage( 6, 12 );
|
|
|
|
SetSkill( SkillName.Poisoning, 40.1, 60.0 );
|
|
SetSkill( SkillName.MagicResist, 30.1, 45.0 );
|
|
SetSkill( SkillName.Tactics, 30.1, 50.0 );
|
|
SetSkill( SkillName.HandToHand, 40.1, 50.0 );
|
|
|
|
Fame = 2000;
|
|
Karma = -2000;
|
|
|
|
VirtualArmor = 24;
|
|
|
|
PackItem( new SpidersSilk( 2 ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
// TODO: weapon?
|
|
}
|
|
|
|
public override int Meat{ get{ return 4; } }
|
|
|
|
public TerathanDrone( 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();
|
|
|
|
if ( BaseSoundID == 589 )
|
|
BaseSoundID = 594;
|
|
}
|
|
}
|
|
} |