62 lines
No EOL
1.3 KiB
C#
62 lines
No EOL
1.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Server.Items;
|
|
using Server.Targeting;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "an ettins corpse" )]
|
|
public class SnowEttin : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public SnowEttin() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "an ettin";
|
|
Body = 102;
|
|
BaseSoundID = 367;
|
|
|
|
SetStr( 136, 165 );
|
|
SetDex( 56, 75 );
|
|
SetInt( 31, 55 );
|
|
|
|
SetHits( 82, 99 );
|
|
|
|
SetDamage( 7, 17 );
|
|
|
|
SetSkill( SkillName.MagicResist, 40.1, 55.0 );
|
|
SetSkill( SkillName.Tactics, 50.1, 70.0 );
|
|
SetSkill( SkillName.HandToHand, 50.1, 60.0 );
|
|
|
|
Fame = 3000;
|
|
Karma = -3000;
|
|
|
|
VirtualArmor = 38;
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.Meager );
|
|
AddLoot( LootPack.Average );
|
|
AddLoot( LootPack.LowPotions );
|
|
}
|
|
|
|
public override bool CanRummageCorpses{ get{ return true; } }
|
|
public override int Meat{ get{ return 4; } }
|
|
|
|
public SnowEttin( 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();
|
|
}
|
|
}
|
|
} |