59 lines
No EOL
1.3 KiB
C#
59 lines
No EOL
1.3 KiB
C#
using System;
|
|
using Server.Mobiles;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName( "a raccoon corpse" )]
|
|
public class Raccoon : BaseCreature
|
|
{
|
|
[Constructable]
|
|
public Raccoon() : base( AIType.AI_Timid, FightMode.Aggressor, 10, 1, 0.2, 0.4 )
|
|
{
|
|
Name = "a raccoon";
|
|
Body = 227;
|
|
|
|
SetStr( 16, 20 );
|
|
SetDex( 26, 38 );
|
|
SetInt( 6, 14 );
|
|
|
|
SetHits( 6, 9 );
|
|
SetMana( 0 );
|
|
|
|
SetDamage( Utility.RandomMinMax( 1, 3 ) );
|
|
|
|
SetSkill( SkillName.MagicResist, 5.0 );
|
|
SetSkill( SkillName.Tactics, 15.0 );
|
|
SetSkill( SkillName.HandToHand, 15.0 );
|
|
|
|
Fame = 0;
|
|
Karma = 0;
|
|
|
|
VirtualArmor = 9;
|
|
}
|
|
|
|
public override int Meat{ get{ return 1; } }
|
|
public override int Hides{ get{ return 1; } }
|
|
|
|
public override int GetAngerSound(){ return 0x0C9; }
|
|
public override int GetIdleSound(){ return 0x0C9; }
|
|
public override int GetAttackSound(){ return 0x0CA; }
|
|
public override int GetHurtSound(){ return 0x0CA; }
|
|
public override int GetDeathSound(){ return 0x0CB; }
|
|
|
|
public Raccoon(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();
|
|
}
|
|
}
|
|
} |