Expand description
DBC effect/aura constants and pure classifiers shared by data resolution.
Modules§
- decode đź”’
- Per-spell DBC decode arithmetic: power-cost scaling and energize-gain matching.
- effect_
lookup đź”’ - game_
data đź”’ - Interpretation policy over resolved game data.
- live_
modifier đź”’ - Classification of the DBC effects the generic live-aura path folds into a damage modifier.
- passives đź”’
- Passive aura modifiers resolved from DBC effects.
- semantics đź”’
- Canonical DBC spell, effect, aura, modifier, and school semantics.
- spell_
props đź”’ - test_
support - Reusable DBC fixtures for passive-effect tests.
- weapon đź”’
- Weapon classification into the
game.item_damage_scaling.weapon_typekey.
Structs§
- Attribute
Mask - Aura
Subtype Semantic - One registered DBC apply-aura subtype.
- Combat
Rating Mask - DBC combat-rating bitmask carried in a
MOD_RATINGeffect’smisc_value_0. A single effect may set several bits (e.g. all three versatility variants). - Crit
Chance Scaled Crit Damage - One crit-damage term a passive states as a share of the caster’s critical strike chance.
- Crowd
Control Semantic - Generic control behavior carried by a DBC apply-aura subtype.
- Dungeon
Difficulty Flags - Effect
Lookup - Read-only resolved-data view for one spell effect.
- Health
Costs - Health costs decoded from the active health-power row.
- Implicit
Target Semantic TrinityCore’s five-axis decomposition of one DBCTargetsselector.- Item
Bonus List Group Entry Flags - Mechanic
Mask - DBC spell-mechanic mask. Bit positions are the
Mechanicidentities. - Modified
Power Coefficients - Spell-power and attack-power coefficients after property-24 modifiers.
- Modifier
Operations - Modifier operations implemented for one property.
- Modifier
Property Semantic - One registered spell-modifier property from
misc_value_0. - Passive
Damage Mods - Static damage multipliers a set of passive auras applies to one spell.
- Passive
Modifier Components - Flat and multiplicative components of one affected-spell modifier property.
- Passive
PetStat Mods - Passive aura-382 inheritance multipliers for one companion NPC.
- Passive
Proc Chance Mods - Flat percent points and a final multiplier applied to a spell’s proc chance.
- Passive
Query - Passive selection and the spell whose values are being resolved.
- Passive
Stat Mods - Player-wide sheet-stat adjustments from passive auras.
- Power
Modifiers power_type_enum -> display_modifierdivisors used to descale DBC power amounts.- Proc
Attribute Semantic - One registered server-side proc attribute.
- Proc
Attributes - Server-side
SpellProcEntry.AttributesMask, retaining unknown future bits. - Proc
Type Mask - Raid
Difficulty Flags - Rating
Multiplier Mask - Spell
Attribute Semantic - One registered spell-level DBC attribute.
- Spell
Aura Interrupt Flags - Primary
SpellAuraInterruptFlagsword consumed by combat aura lifecycles. - Spell
Cast Target Flag Semantic - Engine coverage for one authored or derived cast-target flag.
- Spell
Cast Target Flags - TrinityCore
SpellCastTargetFlags, sourced fromSpellDefines.h. - Spell
Effect Attributes - DBC
SpellEffectAttributes. - Spell
Effect Semantic - One registered DBC spell-effect type.
- Spell
Effect Target Semantic - Target fallback metadata for one DBC spell-effect kind.
- Spell
Interrupt Flags - DBC
SpellInterrupts.InterruptFlagscontrolling cast interruption and pushback. - Spell
School Mask - DBC
SpellSchoolMask: one bit per damage school. - Spell
Shapeshift Form Flags - Behavior flags from
SpellShapeshiftForm.Flags. - Spell
Target Masks - Explicit and required target masks calculated from effect selectors and restrictions.
- Trait
Currency Flags - Trigger
Payload - Spell-power/attack-power coefficient bundle extracted from a damage effect.
- Trigger
Program - Ordered, bounded child operations reached through one DBC trigger edge.
- Trigger
Resolve Error - Triggered
Damage - Terminal damage payload reached by following one DBC trigger edge.
Enums§
- Armor
Subclass Item.SubclassIDwhenClassID == ItemClass::Armor.- Aura
State - Complete TrinityCore/DBC
AuraStateTypevocabulary. - Aura
Subtype Kind - Typed aura-subtype identities used by shared engine code.
- Combat
Rating - A secondary/tertiary combat rating granted by a
MOD_RATINGeffect. - Consumable
Subclass Item.SubclassIDwhenClassID == ItemClass::Consumable.- Cooldown
Mutation - Typed cooldown mutation shared by direct and triggered effect programs.
- Crit
Chance Scaled Axis - Which multiplier a crit-chance-scaled crit-damage term belongs on.
- Crowd
Control Kind - Target-generic loss-of-control category lowered from a DBC aura subtype.
- Defense
Type - DBC
SpellMisc.DefenseTypeattack-resolution category. - Difficulty
Id Difficulty.IDstored on difficulty-specific spell tables.- Diminishing
Group - Authoritative
TrinityCorediminishing-return groups used by represented CC. - Dispel
Type - TrinityCore/DBC
DispelTypeidentity. - Effect
Semantic Coverage - Conformance result for one DBC spell effect.
- Enchant
Effect Kind - DBC
SpellItemEnchantment.Effecttype. - Enchant
Trigger Semantic - Engine behavior selected by the spell triggered from an item enchantment.
- GemSubclass
Item.SubclassIDwhenClassID == ItemClass::Gem.- Implicit
Target Check - Relationship/identity predicate applied to candidates.
- Implicit
Target Direction - Direction modifier carried by an implicit selector.
- Implicit
Target Object - Object produced or selected by an implicit-target selector.
- Implicit
Target Reference - Coordinate or actor from which an implicit selector resolves.
- Implicit
Target Selection - Spatial selection algorithm used by an implicit selector.
- Implicit
Target Selector - Raw
Targetsselector identity when no implicit selector is present. - Inventory
Type Item.InventoryType.- Item
Bonus Type - Item
Class Item.ClassID.- Item
Context - Item
Effect Trigger ItemEffect.TriggerType.- Live
Damage Modifier Kind - A damage modifier the generic live-aura path derives from a single DBC effect.
- Mechanic
- TrinityCore/DBC
Mechanicsidentity. - Modifier
Filter - Filter used by a spell-modifier aura to select affected spells.
- Modifier
Operation - Operation performed by a spell-modifier aura.
- Modifier
Property Kind - Typed spell-modifier property identities used by shared engine code.
- PetStat
Kind - Aura-382
misc_value_0identities for the inherited pet power being modified. - Power
Type - Proc
Attribute Kind - Named server-side proc-attribute identity.
- Resource
Passive - One resource adjustment a selected talent’s passive aura contributes.
- Semantic
Support - Degree to which the shared engine interprets a DBC semantic automatically.
- Shapeshift
Form - A
WoWshapeshift form needing a bespoke cast-gating bridge (only Stealth; ordinary forms resolve viaMOD_SHAPESHIFT). - Spell
Attribute Kind - Spell-level DBC attribute identities consumed by shared engine resolution.
- Spell
Effect Implicit Target - How a spell effect obtains its target when its A/B selectors do not provide one.
- Spell
Effect Kind - Typed spell-effect identities used by shared engine code.
- Stat
Modifier Kind misc_value_0identities used by stat-modifying aura effects.- Trait
Condition Type - Trait
Effect Operation - How a trait rank’s curve value combines with the talent spell effect’s own base points.
- Trait
Node Type - Raw
TraitNode.Typeidentity retained with serialized talent-tree data. - Trait
Tree Index - Raw
TraitTreefamily index retained with serialized talent-tree data. - Trigger
Cooldown Target - Cooldown coordinate selected by a DBC effect-program operation.
- Trigger
Operation - One typed combat operation resolved from a DBC trigger child.
- Weapon
Class - Weapon classification bucket keyed by
game.item_damage_scaling.weapon_type. - Weapon
Subclass - Ranged identities from
Item.SubclassIDwhenClassID == ItemClass::Weapon.
Constants§
- AURA_
SUBTYPE_ SEMANTICS - Canonical registry of apply-aura subtypes understood by the engine.
- CONSUMED_
PROC_ ATTRIBUTES - Proc attributes consumed by generic runtime code.
- CR_
MULTIPLIER_ BASE_ ILVL - Item level at which the armor combat-rating multiplier is sampled for
-7scaling. - EXPANSION_
LEVEL_ SCALING - Continuous level-scaling rows use
ExpectedStat.ExpansionID == -2. - IMPLICIT_
TARGET_ SEMANTICS - Complete selector table for
TrinityCoreTargetsvalues 0 through 152. - MODIFIER_
PROPERTY_ SEMANTICS - Canonical registry of modifier properties implemented by shared resolution.
- POWER_
REGEN_ PERIOD_ SECONDS - The fixed cadence used by DBC aura 85 resource-regeneration amounts.
- PROC_
ATTRIBUTE_ SEMANTICS - Canonical registry of
SpellProcEntryattributes known to the engine. - SCALING_
CLASS_ ARMOR_ MULTIPLIED scaling_class -7: budget reads theitemcolumn scaled by the ilvl-1 armor CR multiplier.- SCALING_
CLASS_ DAMAGE_ REPLACE_ STAT scaling_class -8(DAMAGE_REPLACE_STAT): budget reads thedamage_replace_statcolumn.- SCALING_
CLASS_ DAMAGE_ SECONDARY scaling_class -9(DAMAGE_SECONDARY): budget reads thedamage_secondarycolumn.- SCALING_
CLASS_ PRIMARY_ STAT scaling_class -1: budget reads the primary-stat item column without an armor multiplier.- SPELL_
ATTRIBUTE_ SEMANTICS - Canonical registry of spell attributes interpreted by the engine.
- SPELL_
CAST_ TARGET_ FLAG_ SEMANTICS - Canonical coverage registry for
TrinityCorecast-target flags. - SPELL_
EFFECT_ SEMANTICS - Canonical registry of spell-effect types understood by the engine.
Traits§
- Resolved
Game Data Effect Ext - Effect-coordinate access for code that has resolved data but no combat hook context.
- Resolved
Game Data Semantic Ext - Spell
Effect Semantic Ext - Typed semantic predicates for a resolved DBC spell effect.
Functions§
- apply_
passive_ cooldowns - Applies passive modifiers to every spell-owned cooldown clock.
- aura_
subtype_ is - aura_
subtype_ is_ any - aura_
subtype_ kind - aura_
subtype_ modifier - Returns the modifier operation/filter carried by a modifier aura subtype.
- aura_
subtype_ raw - aura_
subtype_ semantic - Registry lookup for a raw apply-aura subtype.
- cast_
time_ ms - Cast time in ms; channeled spells store their duration in the duration slot.
- class_
passive_ spell_ ids - Returns baseline class-passive spell IDs.
- classify_
enchant_ buff_ effect - Classify a weapon-enchant buff effect into its stat bucket and amount.
- classify_
weapon - Classify a weapon by
inventory_type,item_subclass, and caster-weapon flag;Nonefor non-weapons. - cost_
entry_ index - 1-based DBC power-cost entry index for the resource type’s cost; 0 when absent.
- crit_
chance_ scaled_ crit_ damage - Reads the crit-damage terms
spellstates as a share of the caster’s critical strike chance. - crit_
chance_ scaled_ spell_ percent - Percentage of the caster’s critical strike chance the terms add to one spell’s crit bonus.
- crowd_
control_ semantic - damage_
def - Returns the first AP/SP damage effect or a zero-valued flat fallback.
- damage_
school - A spell’s resolved damage school;
Nonewhen the spell is absent. - effect_
redirects_ to_ trigger_ spell - True if an effect forwards to its
trigger_spellfor the real damage payload. - effect_
semantic_ coverage - Classify one DBC effect against the engine’s canonical semantic registry.
- enchant_
effect_ is - Whether a raw enchant-effect type has the requested typed identity.
- enchant_
effect_ kind - Typed identity for a raw
SpellItemEnchantment.Effecttype. - enchant_
trigger_ semantic - Typed behavior for a raw trigger-spell identity stored in
SpellItemEnchantment. - enchantment_
stat_ value - Returns a flat stat amount for an enchantment effect.
- equipped_
weapon_ matches - Whether the equipped weapon in
handsatisfies a DBC item restriction. - extract_
damage_ payload - Extract the damage coefficient payload from a spell, preferring direct school damage over the first periodic-damage aura.
- health_
cost - Flat, percentage, and optional health costs from the active health-power row.
- implicit_
target_ semantic - Typed selector lookup; unknown DBC values resolve to
None. - is_
channeled_ spell - Whether the spell’s cast-time slot represents a channeled duration.
- is_
damage_ modifier_ passive - Whether
spellcarries any damage-done modifier effect this module models. - is_
physical - Whether a spell deals exclusively physical damage;
Nonewhen absent. - is_
primary_ stat_ misc - Whether a
AuraSubtypeKind::ModStateffect’smisc_value_0targets the primary stat (the spec’s main stat) rather than a specific stat index. - is_
stat_ modifier_ passive - Whether
spellcarries any player-wide sheet-stat effect this module models. - is_
target_ damage_ taken_ debuff - Whether
spellis a damage-taken debuff the caster maintains on its own target. - item_
effect_ scaling_ budget - Item-level budget used by a DBC spell effect with no backing item instance.
- item_
matches_ consumable_ query - Whether an item satisfies the consumable lookup coordinates used by data resolvers.
- item_
scaled_ effect_ value - Resolves one effect’s coefficient against the item-level budget selected by its scaling class.
- live_
damage_ modifier - The damage modifier the generic live-aura path folds from one DBC effect, if any.
- modified_
effect_ amplitude - Return an effect’s value multiplier after property-27 flat and percentage modifiers.
- modified_
effect_ base_ points - Return effective effect base points after selected
P_EFFECT_Npassives apply. - modified_
effect_ coefficient - Returns an effect coefficient after percentage
P_EFFECT_Nmodifiers. - modified_
power_ coefficients - Resolve property 24 against the first populated coefficient field, preserving flat-before-percent order.
- modifier_
combination_ supported - Whether a modifier aura/property combination is implemented generically.
- modifier_
property_ for_ effect - Property selecting one exact one-based effect coordinate.
- modifier_
property_ is - modifier_
property_ is_ any - modifier_
property_ kind - modifier_
property_ raw - modifier_
property_ semantic - Registry lookup for a raw spell-modifier property.
- normalized_
speed_ s - Normalized weapon speed (seconds) for AP-contribution.
- passive_
auto_ attack_ mult - Compound auto-attack damage multiplier across passive aura 344 effects.
- passive_
cast_ time_ ms - Cast time after selected passive flat and percentage modifiers.
- passive_
chain_ multiplier - Returns the per-hop chain multiplier after percentage modifiers.
- passive_
chain_ target_ range - Resolve chain jump distance after passive property-35 modifiers.
- passive_
chain_ targets - Returns the effective chain-target count after flat and percentage modifiers.
- passive_
cooldown_ ms - Returns the cooldown after passive modifiers targeting
spell. - passive_
damage_ mods - Returns compound damage and critical-strike modifiers.
- passive_
doses - Resolves
SpellAuraOptions.ProcChargesafter passive property-31 modifiers. - passive_
duration_ ms - Aura duration after selected passive flat/percent modifiers targeting
spell. - passive_
gcd_ ms - Global cooldown after selected passive flat and percentage modifiers.
- passive_
guardian_ damage_ mult - Compound guardian damage multiplier across passive aura 531 effects.
- passive_
hasted_ cooldown - Whether a passive aura marks this spell’s cooldown as haste-scaled.
- passive_
hasted_ gcd - Whether the spell’s global cooldown scales with the actor’s haste.
- passive_
hostile_ max_ range - Resolve hostile maximum range after passive property-5 modifiers.
- passive_
mana_ regen_ multiplier - Multiplicative mana-regeneration modifier from passive auras.
- passive_
max_ charges - Maximum spell charges after category-based passive charge modifiers.
- passive_
max_ stacks - Resolves an aura’s maximum stack count after passive modifiers.
- passive_
max_ targets - Resolve the spell-level target cap after passive property-40 modifiers.
- passive_
modifier_ components - Resolve one passive spell-modifier property while retaining flat-before-percent ordering.
- passive_
period_ ms - Returns a periodic effect’s interval after flat and percentage tick-time modifiers.
- passive_
pet_ damage_ mult - Compound pet damage multiplier across passive aura 429 effects.
- passive_
pet_ stat_ mods - Resolve NPC-filtered attack/spell-power inheritance from passive aura 382 effects.
- passive_
proc_ chance_ mods - Resolve passive spell-modifier property 18 while preserving flat-before-percent order.
- passive_
radius - Resolve effect radius after passive property-6 modifiers.
- passive_
resource_ cost - Resource cost after passive modifiers; raw DBC flat values descale through
modifiers. - passive_
stat_ mods - Folds passive sheet-stat effects into one
PassiveStatMods. - passive_
target_ armor_ mult - Target-armor multiplier after additive passive armor-penetration percentages.
- pet_
stat_ kind - Typed aura-382 pet-stat identity, or
Nonefor an unknown raw value. - primary_
cost - Primary power cost (descaled) and its power type, matched by resource type; -1 when absent.
- primary_
cost_ pct - primary_
max_ cost_ pct - primary_
optional_ cost - primary_
optional_ cost_ pct - primary_
power_ burn_ cost - Optional primary-resource spend encoded as a Power Burn spell effect.
- primary_
resource_ gain - Resource gain from the first ENERGIZE effect granting the primary resource type, descaled.
- proc_
attribute_ semantic - resolve_
effect_ program - Resolves one immediate DBC effect into the shared typed effect program.
- resolve_
item_ budget - Resolve the item stat/rating budget after interpreting the raw DBC quality.
- resolve_
trigger_ program - Resolve one trigger edge into an ordered program of supported child operations.
- resolve_
triggered_ damage - Follow a source effect to the first terminal child damage payload.
- resolve_
weapon_ stats - Resolve an equipped weapon’s damage range from its DBC item and scaling rows.
- rppm_
crit_ scaled - Whether an RPPM proc’s rate scales with critical strike chance.
- rppm_
haste_ scaled - Whether an RPPM proc’s rate scales with haste.
- scale_
power_ amount - Descale a raw DBC power amount by its
display_modifier(or leave it as-is when absent). - secondary_
cost - Minimum secondary power cost from the row matching the spec’s secondary resource type.
- secondary_
optional_ cost - Optional secondary power cost above the minimum (for variable-point finishers).
- secondary_
resource_ gain - Resource gain from the first ENERGIZE effect granting the secondary resource type, descaled.
- spell_
attribute_ is - Whether an attribute-block slice contains
expected. - spell_
attribute_ is_ any - Whether an attribute-block slice contains any requested identity.
- spell_
attribute_ semantic - Registry lookup for a raw spell-attribute id.
- spell_
cast_ target_ flag_ semantic - Lookup one single-bit cast-target flag in the canonical coverage registry.
- spell_
effect_ is - spell_
effect_ is_ any - spell_
effect_ kind - spell_
effect_ raw - spell_
effect_ semantic - Registry lookup for a raw spell-effect type.
- spell_
effect_ target_ semantic TrinityCoreSpellEffectInfo::_datalookup for effect IDs 0 through 355.- spell_
props_ from - Builds resolved spell properties from flattened DBC data and resource metadata.
- spell_
scaling_ budget - Spell-scaling budget for
scaling_classatlevel;Nonewhen the level row is absent. - spell_
target_ masks - Calculate Trinity-style explicit and required masks from effect A/B selectors and authored flags.
- stance_
mask_ allows - Whether a spell’s stance mask permits the given shapeshift form.
- talent_
resource_ passives - Returns resource adjustments from a selected passive talent.
Type Aliases§
- Ranked
Passive - A passive spell and its rank multiplier.