89 lines
2.2 KiB
C#
89 lines
2.2 KiB
C#
using System;
|
|
|
|
namespace Server.Mobiles
|
|
{
|
|
[CorpseName("a llama corpse")]
|
|
public class RidableLlama : BaseMount
|
|
{
|
|
[Constructable]
|
|
public RidableLlama()
|
|
: this("a ridable llama")
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public RidableLlama(string name)
|
|
: base(name, 0xDC, 0x3EA6, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
|
{
|
|
this.BaseSoundID = 0x3F3;
|
|
|
|
this.SetStr(21, 49);
|
|
this.SetDex(56, 75);
|
|
this.SetInt(16, 30);
|
|
|
|
this.SetHits(15, 27);
|
|
this.SetMana(0);
|
|
|
|
this.SetDamage(3, 5);
|
|
|
|
this.SetDamageType(ResistanceType.Physical, 100);
|
|
|
|
this.SetResistance(ResistanceType.Physical, 10, 15);
|
|
this.SetResistance(ResistanceType.Fire, 5, 10);
|
|
this.SetResistance(ResistanceType.Cold, 5, 10);
|
|
this.SetResistance(ResistanceType.Poison, 5, 10);
|
|
this.SetResistance(ResistanceType.Energy, 5, 10);
|
|
|
|
this.SetSkill(SkillName.MagicResist, 15.1, 20.0);
|
|
this.SetSkill(SkillName.Tactics, 19.2, 29.0);
|
|
this.SetSkill(SkillName.Wrestling, 19.2, 29.0);
|
|
|
|
this.Fame = 300;
|
|
this.Karma = 0;
|
|
|
|
this.Tamable = true;
|
|
this.ControlSlots = 1;
|
|
this.MinTameSkill = 29.1;
|
|
}
|
|
|
|
public RidableLlama(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override int Meat
|
|
{
|
|
get
|
|
{
|
|
return 1;
|
|
}
|
|
}
|
|
public override int Hides
|
|
{
|
|
get
|
|
{
|
|
return 12;
|
|
}
|
|
}
|
|
public override FoodType FavoriteFood
|
|
{
|
|
get
|
|
{
|
|
return FoodType.FruitsAndVegies | FoodType.GrainsAndHay;
|
|
}
|
|
}
|
|
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();
|
|
}
|
|
}
|
|
} |