TrinityCore
Loading...
Searching...
No Matches
SpellValue Struct Reference

#include <Spell.h>

Public Member Functions

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

Public Attributes

SpellEffectValue EffectBasePoints [MAX_SPELL_EFFECTS]
 
uint32 CustomBasePointsMask
 
uint32 MaxAffectedTargets
 
float RadiusMod
 
int32 AuraStackAmount
 
float DurationMul
 
float CriticalChance
 
Optional< int32 > Duration
 
Optional< int32 > ParentSpellTargetCount
 
Optional< int32 > ParentSpellTargetIndex
 

Detailed Description

Definition at line 239 of file Spell.h.

Constructor & Destructor Documentation

◆ SpellValue()

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

Member Data Documentation

◆ AuraStackAmount

int32 SpellValue::AuraStackAmount

Definition at line 246 of file Spell.h.

Referenced by Spell::DoSpellEffectHit(), Spell::SetSpellValue(), Spell::Spell(), and SpellValue().

◆ CriticalChance

float SpellValue::CriticalChance

Definition at line 248 of file Spell.h.

Referenced by Spell::PreprocessSpellLaunch(), Spell::SetSpellValue(), and SpellValue().

◆ CustomBasePointsMask

◆ Duration

◆ DurationMul

float SpellValue::DurationMul

◆ EffectBasePoints

◆ MaxAffectedTargets

◆ ParentSpellTargetCount

Optional<int32> SpellValue::ParentSpellTargetCount

Definition at line 250 of file Spell.h.

Referenced by Spell::DoEffectOnLaunchTarget(), and Spell::SetSpellValue().

◆ ParentSpellTargetIndex

Optional<int32> SpellValue::ParentSpellTargetIndex

Definition at line 251 of file Spell.h.

Referenced by Spell::DoEffectOnLaunchTarget(), and Spell::SetSpellValue().

◆ RadiusMod


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