67 lines
No EOL
1.5 KiB
C#
67 lines
No EOL
1.5 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a naga corpse" )]
|
|
public class NagaWarrior : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public NagaWarrior() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a naga warrior";
|
|
Body = 174;
|
|
BaseSoundID = 634;
|
|
CanSwim = true;
|
|
|
|
SetStr( 417, 595 );
|
|
SetDex( 166, 175 );
|
|
SetInt( 46, 70 );
|
|
|
|
SetHits( 266, 342 );
|
|
SetMana( 0 );
|
|
|
|
SetDamage( 16, 19 );
|
|
|
|
SetSkill( SkillName.Poisoning, 60.1, 80.0 );
|
|
SetSkill( SkillName.MagicResist, 65.1, 80.0 );
|
|
SetSkill( SkillName.Tactics, 90.1, 100.0 );
|
|
SetSkill( SkillName.HandToHand, 90.1, 100.0 );
|
|
|
|
Fame = 10000;
|
|
Karma = -10000;
|
|
|
|
VirtualArmor = 40;
|
|
|
|
PackItem( new LesserPoisonPotion() );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Rich, 2 );
|
|
}
|
|
|
|
public override int Meat{ get{ return 2; } }
|
|
public override int Hides{ get{ return 7; } }
|
|
public override Poison PoisonImmune{ get{ return Poison.Greater; } }
|
|
public override Poison HitPoison{ get{ return Poison.Greater; } }
|
|
|
|
public NagaWarrior( 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();
|
|
}
|
|
}
|
|
} |