65 lines
No EOL
1.5 KiB
C#
65 lines
No EOL
1.5 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a ghoulish corpse" )]
|
|
public class Nazghoul : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Nazghoul() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a nazghoul";
|
|
Body = 297;
|
|
BaseSoundID = 471;
|
|
Clan = Clan.Undead;
|
|
|
|
SetStr( 416, 505 );
|
|
SetDex( 146, 165 );
|
|
SetInt( 566, 655 );
|
|
|
|
SetHits( 250, 303 );
|
|
|
|
SetDamage( 11, 13 );
|
|
|
|
SetSkill( SkillName.Concentration, 90.1, 100.0 );
|
|
SetSkill( SkillName.Magery, 90.1, 100.0 );
|
|
SetSkill( SkillName.MagicResist, 150.5, 200.0 );
|
|
SetSkill( SkillName.Tactics, 50.1, 70.0 );
|
|
SetSkill( SkillName.HandToHand, 60.1, 80.0 );
|
|
|
|
Fame = 18000;
|
|
Karma = -18000;
|
|
|
|
VirtualArmor = 50;
|
|
PackReg( 12, 40 );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.FilthyRich );
|
|
AddLoot( LootPack.MedScrolls, 2 );
|
|
}
|
|
|
|
public override bool CanRummageCorpses{ get{ return true; } }
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
|
|
|
|
public Nazghoul( 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();
|
|
}
|
|
}
|
|
} |