TrinityCore
SpellValue Struct Reference

#include <Spell.h>

Public Member Functions

 SpellValue (SpellInfo const *proto, WorldObject const *caster)
 

Public Attributes

int32 EffectBasePoints [MAX_SPELL_EFFECTS]
 
uint32 CustomBasePointsMask
 
uint32 MaxAffectedTargets
 
float RadiusMod
 
int32 AuraStackAmount
 
float DurationMul
 
float CriticalChance
 
Optional< int32Duration
 
Optional< int32ParentSpellTargetCount
 
Optional< int32ParentSpellTargetIndex
 

Detailed Description

Definition at line 224 of file Spell.h.

Constructor & Destructor Documentation

◆ SpellValue()

SpellValue::SpellValue ( SpellInfo const *  proto,
WorldObject const *  caster 
)
explicit

Definition at line 472 of file Spell.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ AuraStackAmount

int32 SpellValue::AuraStackAmount

Definition at line 231 of file Spell.h.

◆ CriticalChance

float SpellValue::CriticalChance

Definition at line 233 of file Spell.h.

◆ CustomBasePointsMask

uint32 SpellValue::CustomBasePointsMask

Definition at line 228 of file Spell.h.

◆ Duration

Optional<int32> SpellValue::Duration

Definition at line 234 of file Spell.h.

◆ DurationMul

float SpellValue::DurationMul

Definition at line 232 of file Spell.h.

◆ EffectBasePoints

int32 SpellValue::EffectBasePoints[MAX_SPELL_EFFECTS]

Definition at line 227 of file Spell.h.

◆ MaxAffectedTargets

uint32 SpellValue::MaxAffectedTargets

Definition at line 229 of file Spell.h.

◆ ParentSpellTargetCount

Optional<int32> SpellValue::ParentSpellTargetCount

Definition at line 235 of file Spell.h.

◆ ParentSpellTargetIndex

Optional<int32> SpellValue::ParentSpellTargetIndex

Definition at line 236 of file Spell.h.

◆ RadiusMod

float SpellValue::RadiusMod

Definition at line 230 of file Spell.h.


The documentation for this struct was generated from the following files: