• 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'd like to know how to apply random buffs.

az_jp

Refugee
I want to randomly apply buffs to zombies and weapons/armor.

Currently, the mods available are in dll format, so I can't see the syntax.

-Reference
- Random Zombie Buff
- Random Zombie Limb Dismemberment
- Random Zombie Name

The closest I found was: Random Weapon/Armor Mod Slot

<set xpath="/items/item//passive_effect[@name='ModSlots']/@value">0,5</set>

<removeattribute xpath="/items/item//passive_effect[@name='ModSlots']/@tier" />

I managed to find up to this point, but with this, I don't know where to apply the buff (effect[@name='ModSlots']?) or where to write the buff name (@value">0,5?).
 
Back
Top