switch (version)
{
case 9:
{
#region SF Imbuing
Physical_Modded = reader.ReadBool();
Fire_Modded = reader.ReadBool();
Cold_Modded = reader.ReadBool();
Poison_Modded = reader.ReadBool();
Energy_Modded = reader.ReadBool();
#endregion
goto case 8;
}
case 8:
{
this.m_TimesImbued = reader.ReadInt();
this.m_BlessedBy = reader.ReadMobile();
SetFlag sflags = (SetFlag)reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.Attributes))
this.m_SetAttributes = new AosAttributes(this, reader);
else
this.m_SetAttributes = new AosAttributes(this);
if (GetSaveFlag(sflags, SetFlag.ArmorAttributes))
this.m_SetSelfRepair = (new AosArmorAttributes(this, reader)).SelfRepair;
if (GetSaveFlag(sflags, SetFlag.SkillBonuses))
this.m_SetSkillBonuses = new AosSkillBonuses(this, reader);
else
this.m_SetSkillBonuses = new AosSkillBonuses(this);
if (GetSaveFlag(sflags, SetFlag.PhysicalBonus))
this.m_SetPhysicalBonus = reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.FireBonus))
this.m_SetFireBonus = reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.ColdBonus))
this.m_SetColdBonus = reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.PoisonBonus))
this.m_SetPoisonBonus = reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.EnergyBonus))
this.m_SetEnergyBonus = reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.Hue))
this.m_SetHue = reader.ReadEncodedInt();
if (GetSaveFlag(sflags, SetFlag.LastEquipped))
this.m_LastEquipped = reader.ReadBool();
if (GetSaveFlag(sflags, SetFlag.SetEquipped))
this.m_SetEquipped = reader.ReadBool();
if (GetSaveFlag(sflags, SetFlag.SetSelfRepair))
this.m_SetSelfRepair = reader.ReadEncodedInt();
goto case 5;
}
// rest of the code...