AvatarsConquest/Scripts/Mobiles/Bugs/GoraxSlicer.cs

70 lines
No EOL
1.5 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Items;
using Server.Mobiles;
using Server.ContextMenus;
namespace Server.Mobiles
{
[CorpseName( "a gorax corpse" )]
public class GoraxSlicer : BaseCreature
{
[Constructable]
public GoraxSlicer() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Name = "a gorax slicer";
Body = 195;
BaseSoundID = 0x4F0;
AnimationMod = 3;
SetStr( 296, 320 );
SetDex( 81, 105 );
SetInt( 36, 60 );
SetHits( 196, 230 );
SetDamage( 7, 20 );
SetSkill( SkillName.Poisoning, 70.1, 90.0 );
SetSkill( SkillName.MagicResist, 55.1, 70.0 );
SetSkill( SkillName.Tactics, 85.1, 100.0 );
SetSkill( SkillName.HandToHand, 90.1, 105.0 );
Fame = 4500;
Karma = -4500;
VirtualArmor = 32;
PackItem( new PoisonPotion() );
}
public override void GenerateLoot()
{
AddLoot( LootPack.Average, 2 );
AddLoot( LootPack.Meager );
}
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
public override Poison HitPoison{ get{ return Poison.Greater; } }
public GoraxSlicer( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}