• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

I want to add a buff to "Storm"

az_jp

Refugee
In 2.5B32,"Storm" was changed.

As a result, the mod I was using previously that added buffs to "Storm" no longer works.

With my analytical skills, I was only able to determine that
buffBurnt_Storm
has split into
buffBurnt_Storm_Stage01
buffBurnt_Storm_Stage02
and that "01 and 02 are somehow different."

・Changing 01 to 02 doesn't work.


I'd appreciate any advice.

---


Example of what I want to do:
Raise the game stage during the storm.



<append xpath="//buff[@name='buffBurnt_Storm_Stage01' or @name='buffDesert_Storm_Stage01' or @name='buffSnow_Storm_Stage01' or @name='buffWasteland_Storm_Stage01'] //triggered_effect[@trigger='onSelfBuffUpdate'][@action='ModifyCVar']">

<effect_group>

<passive_effect name="GameStage" operation="perc_add" value="10"/>

</effect_group>

</append>
 
Something like this should work:
XML:
<append xpath="//buff[contains(@name, '_Storm_Stage')]">
    <effect_group>
        <passive_effect name="GameStage" operation="perc_add" value="10"/>
    </effect_group>
</append>
 
Back
Top