64 lines
No EOL
1.4 KiB
C#
64 lines
No EOL
1.4 KiB
C#
using System;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
using System.Collections;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a gorax corpse" )]
|
|
public class GoraxHorned : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public GoraxHorned() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a horned gorax";
|
|
Body = 194;
|
|
BaseSoundID = 0x4F0;
|
|
AnimationMod = 3;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 96, 115 );
|
|
SetInt( 36, 60 );
|
|
|
|
SetHits( 46, 60 );
|
|
|
|
SetDamage( 5, 17 );
|
|
|
|
SetSkill( SkillName.Poisoning, 60.1, 80.0 );
|
|
SetSkill( SkillName.MagicResist, 45.1, 60.0 );
|
|
SetSkill( SkillName.Tactics, 65.1, 80.0 );
|
|
SetSkill( SkillName.HandToHand, 70.1, 85.0 );
|
|
|
|
Fame = 3500;
|
|
Karma = -3500;
|
|
|
|
VirtualArmor = 24;
|
|
|
|
PackItem( new LesserPoisonPotion() );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average );
|
|
}
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
|
public override Poison HitPoison{ get{ return Poison.Regular; } }
|
|
|
|
public GoraxHorned( 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();
|
|
}
|
|
}
|
|
} |