

Code: Select all
using System;
using Server.Mobiles;
namespace Server.Mobiles
{
[CorpseName( "an ostard corpse" )]
public class NinjaOstard : BaseMount
{
[Constructable]
public NinjaOstard() : this( "a ninja ostard" )
{
}
[Constructable]
public NinjaOstard( string name ) : base( name, 0xDA, 0x3EA4, AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Hue = Utility.RandomHairHue() | 0x8000;
BaseSoundID = 0x275;
SetStr( 300, 350 );
SetDex( 150, 175 );
SetInt( 50, 100 );
SetHits( 470, 500 );
SetMana( 0 );
SetDamage( 20, 27 );
SetDamageType( ResistanceType.Physical, 100 );
SetResistance( ResistanceType.Physical, 40, 60 );
SetResistance( ResistanceType.Fire, 10, 15 );
SetResistance( ResistanceType.Poison, 20, 25 );
SetResistance( ResistanceType.Energy, 20, 25 );
SetSkill( SkillName.MagicResist, 79.9, 90.9 );
SetSkill( SkillName.Tactics, 50.1, 100.0 );
SetSkill( SkillName.Wrestling, 75.9, 90.2 );
SetSkill( SkillName.Magery, 90.1, 100.0 );
SetSkill( SkillName.EvalInt, 80.1, 90.0 );
SetSkill( SkillName.Meditation, 90.1, 100.0 );
SetSkill( SkillName.Anatomy, 90.1, 100.0 );
Fame = 1500;
Karma = -1500;
Tamable = true;
ControlSlots = 1;
MinTameSkill = 105.1;
}
public override int Meat{ get{ return 3; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Fish | FoodType.Eggs | FoodType.FruitsAndVegies; } }
public override PackInstinct PackInstinct{ get{ return PackInstinct.Ostard; } }
public NinjaOstard( 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();
}
}
}