buffs.xml is a large change with a diff of roughly 772 lines. Most of it consists of added attributes and value changes, but several id renames and new additions affect xpath.
Key Changes
New buffs
buffCheckScreenEffects(hidden): Reapplies temperature-related screen effects on every respawnsandbox_bighead/sandbox_tiny/sandbox_blackandwhite: For sandbox options (new actions such asSetBigHead/SetScale)
id renames (watch for xpath misses)
twitch_blastresist→twitch_blastResist(capital R)buffRadiatedRegenBlock(single, duration90) → split into 6buffRadiatedRegenBlock15/30/45/60/75/90. The old single id no longer exists
Behavior changes to vanilla buffs
- Mass addition of bandit tags: In many triggered_effects,
target_tags="zombie,animal"→"zombie,animal,bandit", andtags="walker"→"walker,bandit"(crippled/stun/knockdown/morale effects) - Infection (
buffInfectionMainfamily): Fixed values changed to reference the CVars@_InfectionRate/@_InfectionCureRate. When_InfectionRate==0, all infection buffs are removed at once - Bleeding/electrocution: The 6-tier table dependent on difficulty (
_difficulty) was removed and consolidated into a single value / CVar calculation - Leg/arm fracture handlers: Individual RemoveBuff calls consolidated into a comma-separated list of
buffLegSprained,buffLegSplinted,buffLegBroken - New action
AnimatorSetWalkType(formerlyAnimatorSetInt property="WalkType") - The CVar
_difficultywas removed from the documentation
Impact on MODs
- If you reference
buffRadiatedRegenBlock(the single version) ortwitch_blastresistvia xpath, the id renames will cause misses. - If you piggyback on vanilla’s
buffStatusCheck01to Add/Remove, note that new logic (such as church bell integration) has been added, so watch for append position and duplicate elements of the same name. - If you reference the old
buffDysenteryMain, it may miss because it has been reorganized intobuffDysentery01Untreatedin the related files.
Reference: Example Diffs
- <buff name="twitch_blastresist" hidden="true" ...>
+ <buff name="twitch_blastResist" hidden="true" ...>
- <buff name="buffRadiatedRegenBlock" ...><duration value="90"/>
+ <buff name="buffRadiatedRegenBlock15" ...><duration value="15"/></buff>
+ ... 30/45/60/75/90 ...
- <triggered_effect ... action="AnimatorSetInt" property="WalkType" value="5">
+ <triggered_effect ... action="AnimatorSetWalkType" value="5">
* Based on investigation immediately after applying the experimental version (equivalent to B252).
Related: List of MOD Creation Articles