Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Spell.cpp File Reference
#include "Battlefield.h"
#include "BattlefieldMgr.h"
#include "Battleground.h"
#include "CellImpl.h"
#include "Common.h"
#include "ConditionMgr.h"
#include "DatabaseEnv.h"
#include "DB2Stores.h"
#include "DisableMgr.h"
#include "DynamicObject.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "Group.h"
#include "Guild.h"
#include "InstanceScript.h"
#include "Log.h"
#include "LootMgr.h"
#include "MapManager.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "RuntimeMetrics.h"
#include "ScriptMgr.h"
#include "SharedDefines.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "SpellCalculations.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "SpellValidation.h"
#include "TemporarySummon.h"
#include "Totem.h"
#include "Unit.h"
#include "UpdateData.h"
#include "UpdateMask.h"
#include "Util.h"
#include "Vehicle.h"
#include "VMapFactory.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
Include dependency graph for Spell.cpp:

Go to the source code of this file.

Namespaces

namespace  Skyfire

Macros

#define CHECK_DIST
#define DEBUG_TRAJ(a)

Enumerations

enum  GCDLimits { MIN_GCD = 1000 , MAX_GCD = 1500 }

Functions

static float tangent (float x)

Variables

pEffect SpellEffects [TOTAL_SPELL_EFFECTS]

Macro Definition Documentation

◆ CHECK_DIST

#define CHECK_DIST
Value:
{\
DEBUG_TRAJ(SF_LOG_ERROR("spells", "Spell::SelectTrajTargets: dist %f, height %f.", dist, height);)\
if (dist > bestDist)\
continue;\
if (dist < objDist2d + size && dist > objDist2d - size)\
{\
bestDist = dist;\
break;\
}\
}
#define SF_LOG_ERROR(filterType__,...)
Definition Log.h:143

Referenced by Spell::SelectImplicitTrajTargets().

◆ DEBUG_TRAJ

#define DEBUG_TRAJ ( a)

Definition at line 1632 of file Spell.cpp.

Referenced by Spell::SelectImplicitTrajTargets().

Enumeration Type Documentation

◆ GCDLimits

enum GCDLimits
Enumerator
MIN_GCD 
MAX_GCD 

Definition at line 7962 of file Spell.cpp.

Function Documentation

◆ tangent()

float tangent ( float x)
static

Definition at line 1620 of file Spell.cpp.

Referenced by Spell::SelectImplicitTrajTargets().

Variable Documentation

◆ SpellEffects

Definition at line 59 of file SpellEffects.cpp.