TrinityCore
Loading...
Searching...
No Matches
Spell.cpp File Reference
#include "Spell.h"
#include "Battlefield.h"
#include "BattlefieldMgr.h"
#include "Battleground.h"
#include "CellImpl.h"
#include "Common.h"
#include "ConditionMgr.h"
#include "Containers.h"
#include "DatabaseEnv.h"
#include "DBCStores.h"
#include "DisableMgr.h"
#include "DynamicObject.h"
#include "G3DPosition.hpp"
#include "GameObjectAI.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "GameTime.h"
#include "InstanceScript.h"
#include "Item.h"
#include "Log.h"
#include "LootMgr.h"
#include "MotionMaster.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "PathGenerator.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SharedDefines.h"
#include "SpellAuraEffects.h"
#include "SpellHistory.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "SpellPackets.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "TradeData.h"
#include "Unit.h"
#include "UpdateData.h"
#include "UpdateMask.h"
#include "UniqueTrackablePtr.h"
#include "Util.h"
#include "Vehicle.h"
#include "VMapFactory.h"
#include "VMapManager2.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
+ Include dependency graph for Spell.cpp:

Go to the source code of this file.

Classes

class  SpellEvent
 
class  ProcReflectDelayed
 

Namespaces

namespace  Trinity
 

Enumerations

enum  GCDLimits { MIN_GCD = 1000 , MAX_GCD = 1500 }
 

Functions

float tangent (float x)
 
bool CanHaveGlobalCooldown (WorldObject const *caster)
 

Variables

SpellEffectHandlerFn SpellEffectHandlers [TOTAL_SPELL_EFFECTS]
 

Enumeration Type Documentation

◆ GCDLimits

enum GCDLimits
Enumerator
MIN_GCD 
MAX_GCD 

Definition at line 8250 of file Spell.cpp.

Function Documentation

◆ CanHaveGlobalCooldown()

bool CanHaveGlobalCooldown ( WorldObject const *  caster)

Definition at line 8256 of file Spell.cpp.

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

◆ tangent()

float tangent ( float  x)

Definition at line 1633 of file Spell.cpp.

+ Here is the caller graph for this function:

Variable Documentation

◆ SpellEffectHandlers

SpellEffectHandlerFn SpellEffectHandlers[TOTAL_SPELL_EFFECTS]
extern

Definition at line 64 of file SpellEffects.cpp.