TrinityCore
SpellInfo.cpp File Reference
#include "SpellInfo.h"
#include "Battleground.h"
#include "Containers.h"
#include "Corpse.h"
#include "DB2Stores.h"
#include "FlatSet.h"
#include "GameTables.h"
#include "InstanceScript.h"
#include "Item.h"
#include "ItemTemplate.h"
#include "Log.h"
#include "LootMgr.h"
#include "Map.h"
#include "ObjectAccessor.h"
#include "Pet.h"
#include "Player.h"
#include "Random.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "SpellMgr.h"
#include "Vehicle.h"
#include <G3D/g3dmath.h>
+ Include dependency graph for SpellInfo.cpp:

Go to the source code of this file.

Classes

struct  SpellEffectInfo::ImmunityInfo
 

Functions

uint32 GetTargetFlagMask (SpellTargetObjectTypes objType)
 
float CalcPPMHasteMod (SpellProcsPerMinuteModEntry const *mod, Unit *caster)
 
float CalcPPMCritMod (SpellProcsPerMinuteModEntry const *mod, Unit *caster)
 
float CalcPPMItemLevelMod (SpellProcsPerMinuteModEntry const *mod, int32 itemLevel)
 
bool _isPositiveTarget (SpellEffectInfo const &effect)
 
bool _isPositiveEffectImpl (SpellInfo const *spellInfo, SpellEffectInfo const &effect, std::unordered_set< std::pair< SpellInfo const *, SpellEffIndex > > &visited)
 

Function Documentation

◆ _isPositiveEffectImpl()

bool _isPositiveEffectImpl ( SpellInfo const *  spellInfo,
SpellEffectInfo const &  effect,
std::unordered_set< std::pair< SpellInfo const *, SpellEffIndex > > &  visited 
)

Definition at line 4434 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _isPositiveTarget()

bool _isPositiveTarget ( SpellEffectInfo const &  effect)
inline

Definition at line 4425 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcPPMCritMod()

float CalcPPMCritMod ( SpellProcsPerMinuteModEntry const *  mod,
Unit caster 
)
inline

Definition at line 4162 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcPPMHasteMod()

float CalcPPMHasteMod ( SpellProcsPerMinuteModEntry const *  mod,
Unit caster 
)
inline

Definition at line 4136 of file SpellInfo.cpp.

+ Here is the caller graph for this function:

◆ CalcPPMItemLevelMod()

float CalcPPMItemLevelMod ( SpellProcsPerMinuteModEntry const *  mod,
int32  itemLevel 
)
inline

Definition at line 4189 of file SpellInfo.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTargetFlagMask()

uint32 GetTargetFlagMask ( SpellTargetObjectTypes  objType)

Definition at line 41 of file SpellInfo.cpp.

+ Here is the caller graph for this function: