The onSelfEquipStart trigger is bugged for worn Armor/Clothing/Mods, resulting in double/triple/quadruple proccing of Buffs, CVars and related triggered actions.
Problem #1: onSelfEquipStart triple/quadruple fires on entering a game for worn Armor/Clothing/Mods
Expected Behavior: onSelfEquipStart is fired off once on entering a game for all Armor/Clothing/Mods
Problem #2: onSelfEquipStart double fires when manually equipping Armor/Clothing/Mods (vs shift-click)
Expected Behavior: onSelfEquipStart is fired off once on equipping a piece of Armor/Clothing/Mods
Testing and Confirmation
Attach the ModifyCVar action to onSelfEquipStart within an Armor/Clothing/Mod piece then manually equip/unequip > repeat:
Code:
<!-- BUGGED: onSelfEquipStart --><!-- EXPECTED: Add 1 on EquipStart, Subtract 1 on EquipStop when manually equipping Armor/Clothing/Mods -->
<!-- ACTUAL: Add 2 on EquipStart when manually placing Armor/Clothing or Armor/Clothing/Mods -->
<triggered_effect trigger="onSelfEquipStart" action="ModifyCVar" cvar=".onSelfEquipStartCount" operation="add" value="1"/>
<triggered_effect trigger="onSelfEquipStart" action="CVarLogValue" cvar=".onSelfEquipStartCount"/>
<triggered_effect trigger="onSelfEquipStop" action="ModifyCVar" cvar=".onSelfEquipStartCount" operation="subtract" value="1"/>
<triggered_effect trigger="onSelfEquipStop" action="CVarLogValue" cvar=".onSelfEquipStartCount"/>