66 lines
No EOL
1.4 KiB
C#
66 lines
No EOL
1.4 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 scarab corpse" )]
|
|
public class GiantScarab : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public GiantScarab() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a giant scarab";
|
|
Body = 263;
|
|
BaseSoundID = 0x4F0;
|
|
AnimationMod = 2;
|
|
|
|
SetStr( 296, 320 );
|
|
SetDex( 81, 105 );
|
|
SetInt( 36, 60 );
|
|
|
|
SetHits( 175, 200 );
|
|
|
|
SetDamage( 7, 20 );
|
|
|
|
SetSkill( SkillName.MagicResist, 60.0 );
|
|
SetSkill( SkillName.Tactics, 90.0 );
|
|
SetSkill( SkillName.HandToHand, 90.0 );
|
|
|
|
Fame = 4500;
|
|
Karma = -4500;
|
|
|
|
VirtualArmor = 24;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Average );
|
|
}
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Greater; } }
|
|
public override Poison HitPoison{ get{ return Poison.Greater; } }
|
|
|
|
public GiantScarab( 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();
|
|
}
|
|
}
|
|
} |