I added a buff to an entity. The buff is defined to increase a cvar by 1 each time it's attacked. I tested it in a single-player environment and everything worked fine, but after transferring it to the server, the cvar remains at 0 and doesn't change. Am I missing something?
Some code
```
<duration value="0"/>
<effect_group name="INIT">
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRift" operation="set" value="0"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRiftCounting" operation="set" value="0"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRiftSubMaxHealth" operation="set" value="1"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRiftSubMaxHealthFinal" operation="set" value="@nwsVoidRiftSubMaxHealth"/>
</effect_group>
<effect_group name="Attacked by specific weapon">
<triggered_effect trigger="onOtherAttackedSelf" action="CVarLogValue" cvar="nwsVoidRiftCounting"/>
<requirement name="HoldingItemHasTags" target="other" tags="nwsVoidRift"/>
<requirement name="CVarCompare" cvar="nwsVoidRiftCounting" operation="LT" value="99"/>
<triggered_effect trigger="onOtherAttackedSelf" action="ModifyCVar" cvar="nwsVoidRiftCounting" operation="add" value="1"/>
<triggered_effect trigger="onOtherAttackedSelf" action="ModifyCVar" cvar="nwsVoidRiftSubMaxHealth" operation="multiply" value=".95"/>
</effect_group>
```
Some code
```
<duration value="0"/>
<effect_group name="INIT">
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRift" operation="set" value="0"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRiftCounting" operation="set" value="0"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRiftSubMaxHealth" operation="set" value="1"/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" target="self" cvar="nwsVoidRiftSubMaxHealthFinal" operation="set" value="@nwsVoidRiftSubMaxHealth"/>
</effect_group>
<effect_group name="Attacked by specific weapon">
<triggered_effect trigger="onOtherAttackedSelf" action="CVarLogValue" cvar="nwsVoidRiftCounting"/>
<requirement name="HoldingItemHasTags" target="other" tags="nwsVoidRift"/>
<requirement name="CVarCompare" cvar="nwsVoidRiftCounting" operation="LT" value="99"/>
<triggered_effect trigger="onOtherAttackedSelf" action="ModifyCVar" cvar="nwsVoidRiftCounting" operation="add" value="1"/>
<triggered_effect trigger="onOtherAttackedSelf" action="ModifyCVar" cvar="nwsVoidRiftSubMaxHealth" operation="multiply" value=".95"/>
</effect_group>
```