69 lines
No EOL
1.6 KiB
C#
69 lines
No EOL
1.6 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a balron corpse" )]
|
|
public class Balron : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Balron () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = NameList.RandomName( "balron" );
|
|
Body = Utility.RandomList( 90, 113 );
|
|
BaseSoundID = 357;
|
|
Clan = Clan.Demonic;
|
|
|
|
SetStr( 986, 1185 );
|
|
SetDex( 177, 255 );
|
|
SetInt( 151, 250 );
|
|
|
|
SetHits( 592, 711 );
|
|
|
|
SetDamage( 22, 29 );
|
|
|
|
SetSkill( SkillName.Concentration, 90.1, 100.0 );
|
|
SetSkill( SkillName.Magery, 95.5, 100.0 );
|
|
SetSkill( SkillName.Meditation, 25.1, 50.0 );
|
|
SetSkill( SkillName.MagicResist, 100.5, 150.0 );
|
|
SetSkill( SkillName.Tactics, 90.1, 100.0 );
|
|
SetSkill( SkillName.HandToHand, 90.1, 100.0 );
|
|
|
|
Fame = 24000;
|
|
Karma = -24000;
|
|
|
|
VirtualArmor = 90;
|
|
|
|
if ( Body == 90 )
|
|
PackItem( new Longsword() );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.FilthyRich, 2 );
|
|
AddLoot( LootPack.Rich );
|
|
AddLoot( LootPack.HighScrolls, 2 );
|
|
}
|
|
|
|
public override bool CanRummageCorpses{ get{ return true; } }
|
|
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
|
public override int Meat{ get{ return 1; } }
|
|
|
|
public Balron( 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();
|
|
}
|
|
}
|
|
} |