Game Version: V1.0 b313
Did you validate your files? Yes
Are you using any mods? No
Status: NEW
Bug Description:
I was looking at XML about improving the mobility of the Heavy Armor perk and discovered that there was a mistake in the configuration.
In 1.0, the mobility penalty for heavy armor is defined as 7.5% per part in items.xml, but the description of heavy armor perk in buffs.xml seems to calculate the mobility improvement with the old version value of 6%.
The specific location is line 782 of buffs.xml.
The relevant XML description is extracted below.
771 <effect_group> <!-- heavy armor, add penalties back in --> 772 <requirement name="CVarCompare" cvar=".ArmorHeavyWorn" operation="GT" value="0"/> 773 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyStaminaRun" operation="set" value="@.ArmorHeavyStaminaWalk"/> 774 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyMobility" operation="set" value="@.ArmorHeavyStaminaWalk"/> 775 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyMobility" operation="set" value="1"> 776 <requirement name="HasBuff" buff="buffUrbanCombatAdrenalineRush"/> 777 </triggered_effect> 778 779 <!-- the full penalty that 1 piece of heavy armor adds --> 780 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyStaminaRun" operation="multiply" value="0.09"/> 781 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyStaminaWalk" operation="multiply" value="0.045"/> 782 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyMobility" operation="multiply" value="0.06"/> 783 784 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyStaminaRun" operation="multiply" value="@.ArmorHeavyWorn"/> 785 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyStaminaWalk" operation="multiply" value="@.ArmorHeavyWorn"/> 786 <triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar=".ArmorHeavyMobility" operation="multiply" value="@.ArmorHeavyWorn"/> 787 788 <passive_effect name="StaminaChangeOT" operation="perc_add" value="@.ArmorHeavyStaminaWalk" tags="walking"/> <!-- ARMOR_HEAVY_WALKING --> 789 <passive_effect name="StaminaChangeOT" operation="perc_add" value="@.ArmorHeavyStaminaRun" tags="running"/> <!-- ARMOR_HEAVY_RUNNING --> 790 <passive_effect name="Mobility" operation="perc_add" value="@.ArmorHeavyMobility"/> 791 </effect_group>
Actual result: The value in buffs.xml, line 782, is still 0.06.
Expected result: It should be rewritten to 0.075.
Recommended Comments