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 spider corpse" )]
|
|
public class GiantSpider : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public GiantSpider() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a giant spider";
|
|
Body = 28;
|
|
BaseSoundID = 0x388;
|
|
|
|
SetStr( 76, 100 );
|
|
SetDex( 76, 95 );
|
|
SetInt( 36, 60 );
|
|
|
|
SetHits( 46, 60 );
|
|
SetMana( 0 );
|
|
|
|
SetDamage( 5, 13 );
|
|
|
|
SetSkill( SkillName.Poisoning, 60.1, 80.0 );
|
|
SetSkill( SkillName.MagicResist, 25.1, 40.0 );
|
|
SetSkill( SkillName.Tactics, 35.1, 50.0 );
|
|
SetSkill( SkillName.HandToHand, 50.1, 65.0 );
|
|
|
|
Fame = 600;
|
|
Karma = -600;
|
|
|
|
VirtualArmor = 16;
|
|
|
|
PackItem( new SpidersSilk( 5 ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Poor );
|
|
}
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Regular; } }
|
|
public override Poison HitPoison{ get{ return Poison.Regular; } }
|
|
|
|
public GiantSpider( 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();
|
|
}
|
|
}
|
|
} |