#include "Spell.h"
#include "ArenaSpectator.h"
#include "BattlefieldMgr.h"
#include "Battleground.h"
#include "BattlegroundIC.h"
#include "CharmInfo.h"
#include "CellImpl.h"
#include "Common.h"
#include "ConditionMgr.h"
#include "DisableMgr.h"
#include "DynamicObject.h"
#include "GameObjectAI.h"
#include "GameTime.h"
#include "GridNotifiers.h"
#include "Group.h"
#include "InstanceScript.h"
#include "Log.h"
#include "LootMgr.h"
#include "MapMgr.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SharedDefines.h"
#include "SpellAuraEffects.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "TemporarySummon.h"
#include "Unit.h"
#include "Util.h"
#include "VMapFactory.h"
#include "Vehicle.h"
#include "World.h"
#include "WorldPacket.h"
#include <cmath>
#include "GridNotifiersImpl.h"
#include "IVMapMgr.h"
#include "VMapMgr2.h"
Go to the source code of this file.
◆ CHECK_DIST
Value: {\
LOG_DEBUG("spells", "Spell::SelectTrajTargets: dist {}, height {}.", dist, height);\
if (dist > bestDist)\
continue;\
if (dist < objDist2d + size && dist > objDist2d - size)\
{\
bestDist = dist;\
break;\
}\
}
◆ DEBUG_TRAJ
◆ GCDLimits
Enumerator |
---|
MIN_GCD | |
MAX_GCD | |
8825{
8828};
@ MIN_GCD
Definition: Spell.cpp:8826
@ MAX_GCD
Definition: Spell.cpp:8827
◆ tangent()
1853{
1854 x = tan(x);
1855
1856
1857
1858 if (x < 100000.0f && x > -100000.0f) return x;
1859 if (x >= 100000.0f) return 100000.0f;
1860 if (x <= 100000.0f) return -100000.0f;
1861 return 0.0f;
1862}
Referenced by Spell::SelectImplicitTrajTargets().
◆ SpellEffects
- Todo:
- : this import is not necessary for compilation and marked as unused by the IDE
- Todo:
- : this import is not necessary for compilation and marked as unused by the IDE