#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 | |
8838{
8841};
@ MIN_GCD
Definition: Spell.cpp:8839
@ MAX_GCD
Definition: Spell.cpp:8840
◆ tangent()
1857{
1858 x = tan(x);
1859
1860
1861
1862 if (x < 100000.0f && x > -100000.0f) return x;
1863 if (x >= 100000.0f) return 100000.0f;
1864 if (x <= 100000.0f) return -100000.0f;
1865 return 0.0f;
1866}
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