Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
109
Scripts/Mobiles/Normal/Eowmu.cs
Normal file
109
Scripts/Mobiles/Normal/Eowmu.cs
Normal file
@@ -0,0 +1,109 @@
|
||||
using System;
|
||||
using Server.Gumps;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class EowmuStatue : Item, ICreatureStatuette
|
||||
{
|
||||
public override int LabelNumber { get { return 1158082; } } // Eowmu
|
||||
|
||||
public Type CreatureType { get { return typeof(Eowmu); } }
|
||||
|
||||
[Constructable]
|
||||
public EowmuStatue()
|
||||
: base(0xA0C0)
|
||||
{
|
||||
LootType = LootType.Blessed;
|
||||
}
|
||||
public EowmuStatue(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override void OnDoubleClick(Mobile from)
|
||||
{
|
||||
if (IsChildOf(from.Backpack))
|
||||
from.SendGump(new ConfirmMountStatuetteGump(this));
|
||||
else
|
||||
from.SendLocalizedMessage(1042001); // That must be in your pack for you to use it.
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
[CorpseName("an eowmu corpse")]
|
||||
public class Eowmu : BaseMount
|
||||
{
|
||||
[Constructable]
|
||||
public Eowmu()
|
||||
: this("Eowmu")
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Eowmu(string name)
|
||||
: base(name, 1440, 16079, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
|
||||
{
|
||||
BaseSoundID = 0xA8;
|
||||
|
||||
SetStr(400);
|
||||
SetDex(125);
|
||||
SetInt(50, 55);
|
||||
|
||||
SetHits(240);
|
||||
SetMana(0);
|
||||
|
||||
SetDamage(1, 4);
|
||||
|
||||
SetDamageType(ResistanceType.Physical, 100);
|
||||
|
||||
SetResistance(ResistanceType.Physical, 40, 50);
|
||||
SetResistance(ResistanceType.Fire, 30, 40);
|
||||
SetResistance(ResistanceType.Cold, 30, 40);
|
||||
SetResistance(ResistanceType.Poison, 30, 40);
|
||||
SetResistance(ResistanceType.Energy, 30, 40);
|
||||
|
||||
SetSkill(SkillName.MagicResist, 25.0, 30.0);
|
||||
SetSkill(SkillName.Tactics, 30.0, 40.0);
|
||||
SetSkill(SkillName.Wrestling, 30.0, 35.0);
|
||||
|
||||
Fame = 300;
|
||||
Karma = 300;
|
||||
|
||||
Tamable = true;
|
||||
ControlSlots = 1;
|
||||
MinTameSkill = 30.0;
|
||||
}
|
||||
|
||||
public Eowmu(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int Meat { get { return 3; } }
|
||||
public override int Hides { get { return 10; } }
|
||||
public override FoodType FavoriteFood { get { return FoodType.FruitsAndVegies; } }
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user