66 lines
No EOL
1.4 KiB
C#
66 lines
No EOL
1.4 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Items;
|
|
using Server.Misc;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a fallen tree" )]
|
|
public class Ent : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Ent() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = NameList.RandomName( "trees" );
|
|
Title = "the ent";
|
|
Body = 91;
|
|
BaseSoundID = 0x5F3;
|
|
|
|
SetStr( 536, 585 );
|
|
SetDex( 126, 145 );
|
|
SetInt( 281, 305 );
|
|
|
|
SetHits( 322, 351 );
|
|
|
|
SetDamage( 13, 16 );
|
|
|
|
SetSkill( SkillName.Concentration, 85.1, 100.0 );
|
|
SetSkill( SkillName.Magery, 85.1, 100.0 );
|
|
SetSkill( SkillName.MagicResist, 80.2, 110.0 );
|
|
SetSkill( SkillName.Tactics, 60.1, 80.0 );
|
|
SetSkill( SkillName.HandToHand, 40.1, 50.0 );
|
|
|
|
Fame = 11500;
|
|
Karma = 11500;
|
|
|
|
VirtualArmor = 50;
|
|
|
|
PackItem( new WoodBoard( Utility.RandomMinMax( 50, 100 ) ) );
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot( LootPack.FilthyRich );
|
|
AddLoot( LootPack.Average );
|
|
}
|
|
|
|
public override Poison PoisonImmune{ get{ return Poison.Deadly; } }
|
|
public override bool BleedImmune{ get{ return true; } }
|
|
|
|
public Ent( 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();
|
|
}
|
|
}
|
|
} |