69 lines
1.5 KiB
C#
69 lines
1.5 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Misc;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a glowing orc corpse" )]
|
|
public class OrcishMage : BaseCreature
|
|
{
|
|
public override InhumanSpeech SpeechType{ get{ return InhumanSpeech.Orc; } }
|
|
|
|
[Constructable]
|
|
public OrcishMage () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = NameList.RandomName( "orc" );
|
|
HiddenTitle = "the orcish mage";
|
|
Body = 17;
|
|
BaseSoundID = 0x45A;
|
|
Clan = Clan.Humanoid;
|
|
|
|
SetStr( 116, 150 );
|
|
SetDex( 91, 115 );
|
|
SetInt( 161, 185 );
|
|
|
|
SetHits( 70, 90 );
|
|
|
|
SetDamage( 4, 14 );
|
|
|
|
SetSkill( SkillName.Concentration, 60.1, 72.5 );
|
|
SetSkill( SkillName.Magery, 60.1, 72.5 );
|
|
SetSkill( SkillName.MagicResist, 60.1, 75.0 );
|
|
SetSkill( SkillName.Tactics, 50.1, 65.0 );
|
|
SetSkill( SkillName.HandToHand, 40.1, 50.0 );
|
|
|
|
Fame = 3000;
|
|
Karma = -3000;
|
|
|
|
VirtualArmor = 30;
|
|
|
|
PackReg( 6 );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average );
|
|
AddLoot( LootPack.LowScrolls );
|
|
}
|
|
|
|
public override bool CanRummageCorpses{ get{ return true; } }
|
|
public override int Meat{ get{ return 1; } }
|
|
|
|
public OrcishMage( 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();
|
|
}
|
|
}
|
|
}
|