public override int GetHashCode() { return(ManeuverDodgeChance.GetHashCode()); }
protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; ele.TryPathTo("Maneuver/DodgeChance", true, out subEle); subEle.Value = ManeuverDodgeChance.ToString(); ele.TryPathTo("Maneuver/SidestepChance", true, out subEle); subEle.Value = ManeuverSidestepChance.ToString(); WriteUnused1XML(ele, master); ele.TryPathTo("Maneuver/DodgeLRTimer/Min", true, out subEle); subEle.Value = ManeuverDodgeLRTimerMin.ToString("G15"); ele.TryPathTo("Maneuver/DodgeLRTimer/Max", true, out subEle); subEle.Value = ManeuverDodgeLRTimerMax.ToString("G15"); ele.TryPathTo("Maneuver/DodgeForwardTimer/Min", true, out subEle); subEle.Value = ManeuverDodgeForwardTimerMin.ToString("G15"); ele.TryPathTo("Maneuver/DodgeForwardTimer/Max", true, out subEle); subEle.Value = ManeuverDodgeForwardTimerMax.ToString("G15"); ele.TryPathTo("Maneuver/DodgeBackwardTimer/Min", true, out subEle); subEle.Value = ManeuverDodgeBackwardTimerMin.ToString("G15"); ele.TryPathTo("Maneuver/DodgeBackwardTimer/Max", true, out subEle); subEle.Value = ManeuverDodgeBackwardTimerMax.ToString("G15"); ele.TryPathTo("Maneuver/DodgeIdleTimer/Min", true, out subEle); subEle.Value = ManeuverDodgeIdleTimerMin.ToString("G15"); ele.TryPathTo("Maneuver/DodgeIdleTimer/Max", true, out subEle); subEle.Value = ManeuverDodgeIdleTimerMax.ToString("G15"); ele.TryPathTo("Melee/BlockChance", true, out subEle); subEle.Value = MeleeBlockChance.ToString(); ele.TryPathTo("Melee/AttackChance", true, out subEle); subEle.Value = MeleeAttackChance.ToString(); WriteUnused2XML(ele, master); ele.TryPathTo("Melee/RecoilStaggerBonusToAttack", true, out subEle); subEle.Value = MeleeRecoilStaggerBonusToAttack.ToString("G15"); ele.TryPathTo("Melee/UnconsciousBonusToAttack", true, out subEle); subEle.Value = MeleeUnconsciousBonusToAttack.ToString("G15"); ele.TryPathTo("Melee/HandToHandBonusToAttack", true, out subEle); subEle.Value = MeleeHandToHandBonusToAttack.ToString("G15"); ele.TryPathTo("Melee/PowerAttack/Chance", true, out subEle); subEle.Value = MeleePowerAttackChance.ToString(); WriteUnused3XML(ele, master); ele.TryPathTo("Melee/PowerAttack/RecoilStaggerBonus", true, out subEle); subEle.Value = MeleePowerAttackRecoilStaggerBonus.ToString("G15"); ele.TryPathTo("Melee/PowerAttack/UnconsciousBonus", true, out subEle); subEle.Value = MeleePowerAttackUnconsciousBonus.ToString("G15"); ele.TryPathTo("Melee/PowerAttack/Normal", true, out subEle); subEle.Value = MeleePowerAttackNormal.ToString(); ele.TryPathTo("Melee/PowerAttack/Forward", true, out subEle); subEle.Value = MeleePowerAttackForward.ToString(); ele.TryPathTo("Melee/PowerAttack/Back", true, out subEle); subEle.Value = MeleePowerAttackBack.ToString(); ele.TryPathTo("Melee/PowerAttack/Left", true, out subEle); subEle.Value = MeleePowerAttackLeft.ToString(); ele.TryPathTo("Melee/PowerAttack/Right", true, out subEle); subEle.Value = MeleePowerAttackRight.ToString(); WriteUnused4XML(ele, master); ele.TryPathTo("Melee/HoldTimer/Min", true, out subEle); subEle.Value = MeleeHoldTimerMin.ToString("G15"); ele.TryPathTo("Melee/HoldTimer/Max", true, out subEle); subEle.Value = MeleeHoldTimerMax.ToString("G15"); ele.TryPathTo("Flags", true, out subEle); subEle.Value = Flags.ToString(); ele.TryPathTo("Maneuver/AcrobaticDodgeChance", true, out subEle); subEle.Value = ManeuverAcrobaticDodgeChance.ToString(); ele.TryPathTo("Melee/PowerAttack/RushingChance", true, out subEle); subEle.Value = MeleeRushingPowerAttackChance.ToString(); WriteUnused5XML(ele, master); ele.TryPathTo("Melee/PowerAttack/DistanceMult", true, out subEle); subEle.Value = MeleeRushingPowerAttackDistanceMult.ToString("G15"); }