Skip to main content

Module generic_folds

Module generic_folds 

Source
Expand description

Duplicate-fold check for content that re-declares a folded DBC damage modifier.

Five static shapes are detected.

Shape one is an aura declaring a damage-multiplier field over its own folded DBC effect. Shape two is an [effects] entry naming a registered aura’s folded damage effect. Only shape two catches a hook folding the percentage into a spell coefficient. Shape three is an aura tick hook over a DBC periodic trigger that already energizes. Shape four is a [spells.X] damage row re-dealing a child of X’s own DBC trigger program. Shape five is an aura re-declaring an auto-attack modifier already provided by its own DBC effects or a TriggerSpellWithValue driver.

Β§Scope

Every finding is a CANDIDATE and the absence of findings proves nothing. The check is static over the manifest plus DBC, so several duplication shapes stay invisible.

  • Imperative mask_aura_dbc_effect builder calls legitimately hand an effect to content.
  • A hook applying the same percentage to a disjoint pet or guardian axis reads as a duplicate.
  • A hook may consume the aura before dealing damage, so the live modifier is already inactive.
  • An [effects] binding may name a spell-modifier effect the generic path never folds.
  • A duplication living only in hook Rust produces no manifest evidence at all.

SCOPE_NOTE renders that contract beside the findings, so no reader reads clean as absent.

StructsΒ§

AutoAttackFieldFold πŸ”’

ConstantsΒ§

SCOPE_NOTE πŸ”’
What the duplicate-fold check does and does not see; emitted with every non-empty result.

FunctionsΒ§

check_aura_self_folds πŸ”’
check_auto_attack_aura_self_folds πŸ”’
Flags authored swing-speed and auto-attack damage fields already owned by the live-aura path.
check_duplicate_generic_folds πŸ”’
check_effect_bindings πŸ”’
check_periodic_energize_hooks πŸ”’
Flags an aura tick hook whose resource grant the generic periodic-trigger path already makes.
check_trigger_program_damage_rows πŸ”’
Flags a [spells.X] damage row that re-deals a child of X’s own DBC trigger program.
declared_damage_fields πŸ”’
Aura fields that declare a damage multiplier on the caster’s own spells.
folded_damage_effects πŸ”’
1-based indexes of the spell’s effects the generic live-aura path folds as damage modifiers.
has_authored_auto_attack_field πŸ”’
one_based_index πŸ”’
periodic_trigger_children πŸ”’
(1-based effect index, triggered spell id) for every Periodic Trigger Spell effect.
scalar_ref_forwards_value_to πŸ”’
spell_energizes πŸ”’
spell_id_of πŸ”’
talent_forwards_value_to πŸ”’
trigger_program_children πŸ”’
(1-based effect index, triggered spell id) for every trigger-program effect.
warn_auto_attack_field_folds πŸ”’
warn_auto_attack_self_fold πŸ”’