TheGodfather
I am looking to make a deed that is purchasable that allows a player to dehue an ethy to look like the normal colors of that ethy. Any help would be much appreciated.
Is this somewhere to download?http://www.uoguide.com/Retouching_Tool
The Ethereal Mount Retouching Tool is an 11th year Veteran Reward that allows players to change Ethereal Mounts from transparent to normal.
public void MountMe()
{
ItemID = m_MountedID;
Layer = Layer.Mount;
Movable = false;
if (Hue == 0)
{
Hue = EtherealHue;
}
ProcessDelta();
m_Rider.ProcessDelta();
m_Rider.EquipItem(this);
m_Rider.ProcessDelta();
ProcessDelta();
}
private bool m_Retouched;
public bool Retouched { get { return m_Retouched; } set { m_Retouched = value; } }
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(4); // version
writer.Write(m_Retouched);
writer.Write(m_IsDonationItem);
writer.Write(m_IsRewardItem);
writer.Write(m_MountedID);
writer.Write(m_RegularID);
writer.Write(m_Rider);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
LootType = LootType.Blessed;
int version = reader.ReadInt();
switch (version)
{
case 4:
m_Retouched = reader.ReadBool();
case 3:
m_IsDonationItem = reader.ReadBool();
goto case 2;
case 2:
m_IsRewardItem = reader.ReadBool();
goto case 0;
case 1:
reader.ReadInt();
goto case 0;
case 0:
{
m_MountedID = reader.ReadInt();
m_RegularID = reader.ReadInt();
m_Rider = reader.ReadMobile();
if (m_MountedID == 0x3EA2)
{
m_MountedID = 0x3EAA;
}
}
break;
}
AddFollowers();
if (version < 3 && Weight == 0)
{
Weight = -1;
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.