AvatarsConquest/Scripts/Mobiles/Fey/DreadHorn.cs

66 lines
No EOL
1.5 KiB
C#

using System;
using Server;
using Server.Items;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "a dread horn corpse" )]
public class DreadHorn : BaseCreature
{
public override bool HasBreath{ get{ return true; } }
public override bool ReacquireOnMovement{ get{ return !Controlled; } }
[Constructable]
public DreadHorn() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
BaseSoundID = 0xA8;
SetStr( 596, 625 );
SetDex( 186, 205 );
SetInt( 186, 225 );
SetHits( 398, 415 );
SetDamage( 22, 28 );
SetSkill( SkillName.Concentration, 30.4, 70.0 );
SetSkill( SkillName.Magery, 30.4, 70.0 );
SetSkill( SkillName.MagicResist, 105.3, 120.0 );
SetSkill( SkillName.Tactics, 117.6, 120.0 );
SetSkill( SkillName.HandToHand, 100.5, 112.5 );
Fame = 19000;
Karma = -19000;
VirtualArmor = 70;
}
public override void GenerateLoot()
{
AddLoot( LootPack.Rich );
AddLoot( LootPack.Average );
AddLoot( LootPack.LowScrolls );
AddLoot( LootPack.HighPotions );
}
public override int Meat{ get{ return 5; } }
public override int Hides{ get{ return 10; } }
public DreadHorn( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}