From d6466856cef2e683a258887bad649846a249a8ef Mon Sep 17 00:00:00 2001 From: Rooks Date: Mon, 27 Jul 2015 13:17:18 +0000 Subject: [PATCH] Superior level is for all equipment, not just armor. --- PlayOnline.FFXI/Things/Item.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PlayOnline.FFXI/Things/Item.cs b/PlayOnline.FFXI/Things/Item.cs index 98166b1..49b77e4 100644 --- a/PlayOnline.FFXI/Things/Item.cs +++ b/PlayOnline.FFXI/Things/Item.cs @@ -54,9 +54,9 @@ public static List AllFields // UsableItem-Specific "activation-time", // Equipment-Specific - "level", "iLevel", "slots", "races", "jobs", + "level", "iLevel", "slots", "races", "jobs", "superior-level", // Armor-Specific - "superior-level", "shield-size", + "shield-size", // Weapon-Specific "damage", "delay", "dps", "skill", "jug-size", // Enchantment Info @@ -98,8 +98,8 @@ public static List AllFields private EquipmentSlot? Slots_; private Race? Races_; private Job? Jobs_; - // Armor-Specific private ushort? SuperiorLevel_; + // Armor-Specific private ushort? ShieldSize_; // Weapon-Specific private ushort? Damage_; @@ -712,15 +712,15 @@ public bool Read(BinaryReader BR, Type T) this.Slots_ = (EquipmentSlot)BR.ReadUInt16(); this.Races_ = (Race)BR.ReadUInt16(); this.Jobs_ = (Job)BR.ReadUInt32(); + this.SuperiorLevel_ = BR.ReadUInt16(); if (T == Type.Armor) { - this.SuperiorLevel_ = BR.ReadUInt16(); this.ShieldSize_ = BR.ReadUInt16(); } else { // Weapon - this.Unknown4_ = BR.ReadUInt32(); + this.Unknown4_ = BR.ReadUInt16(); this.Damage_ = BR.ReadUInt16(); this.Delay_ = BR.ReadInt16(); this.DPS_ = BR.ReadUInt16();