Skip to main content

spec_conditional_effects

Function spec_conditional_effects 

Source
pub fn spec_conditional_effects(
    description: &str,
) -> Vec<SpecConditionalEffects>
Expand description

Reads the effect pairs a description selects between by specialization.

A spell’s DBC effects cover every specialization that can learn it. One passive therefore ships both values, and its description states which one each reads. No Mercy 472660 is "Your Bleed effects deal $?c1[$s1][$s2]% increased damage". Overwhelming Shadows 1266883 is "$?c3[Void Torrent deals $s1%][Mind Blast deals $s2%]". SimC writes the same selection by hand per specialization through deregister_passive_spell and its per-spec effect masks. Only an unambiguous statement counts: exactly one specialization predicate, exactly one $sN per branch, and two different effects. Anything else states nothing usable.