mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Game: Update PCH content to include most commonly used headers
This commit is contained in:
@@ -171,7 +171,7 @@ enum Spells
|
||||
SPELL_HEMORRHAGE = 16511,
|
||||
SPELL_PREMEDITATION = 14183,
|
||||
SPELL_SHADOW_DANCE = 51713,
|
||||
SPELL_PREPARATION = 14185,
|
||||
SPELL_ROGUE_PREPARATION = 14185,
|
||||
SPELL_SHADOWSTEP = 36554,
|
||||
|
||||
/* Priest - Generic */
|
||||
@@ -811,7 +811,7 @@ PlayerAI::TargetedSpell SimpleCharmedPlayerAI::SelectAppropriateCastForSpec()
|
||||
break;
|
||||
case TALENT_SPEC_ROGUE_SUBTLETY:
|
||||
builder = SPELL_HEMORRHAGE, finisher = SPELL_EVISCERATE;
|
||||
VerifyAndPushSpellCast(spells, SPELL_PREPARATION, TARGET_NONE, 10);
|
||||
VerifyAndPushSpellCast(spells, SPELL_ROGUE_PREPARATION, TARGET_NONE, 10);
|
||||
if (!me->IsWithinMeleeRange(me->GetVictim()))
|
||||
VerifyAndPushSpellCast(spells, SPELL_SHADOWSTEP, TARGET_VICTIM, 25);
|
||||
VerifyAndPushSpellCast(spells, SPELL_SHADOW_DANCE, TARGET_NONE, 10);
|
||||
|
||||
@@ -17,15 +17,37 @@
|
||||
|
||||
//add here most rarely modified headers to speed up debug build compilation
|
||||
|
||||
#include "Creature.h"
|
||||
#include "CellImpl.h"
|
||||
#include "DB2Stores.h"
|
||||
#include "DatabaseEnv.h"
|
||||
#include "GridNotifiersImpl.h"
|
||||
#include "Item.h"
|
||||
#include "Log.h"
|
||||
#include "Map.h"
|
||||
#include "ObjectMgr.h"
|
||||
#include "Packet.h"
|
||||
#include "PacketUtilities.h"
|
||||
#include "Player.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "World.h"
|
||||
#include "WorldSession.h"
|
||||
|
||||
// less commonly included headers but still giving compile time benefit
|
||||
#include "Group.h"
|
||||
#include "CriteriaHandler.h"
|
||||
#include "MotionMaster.h"
|
||||
#include "Battleground.h"
|
||||
#include "MiscPackets.h"
|
||||
#include "Guild.h"
|
||||
#include "MoveSpline.h"
|
||||
#include "CollectionMgr.h"
|
||||
#include "CreatureAI.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "SpellAuras.h"
|
||||
#include "Chat.h"
|
||||
#include "StringConvert.h"
|
||||
#include "SpellPackets.h"
|
||||
#include "InstanceScript.h"
|
||||
#include "BattlegroundMgr.h"
|
||||
#include "ObjectAccessor.h"
|
||||
#include "MapManager.h"
|
||||
#include "AuthenticationPackets.h"
|
||||
#include "BattlePetMgr.h"
|
||||
#include "Pet.h"
|
||||
#include "AccountMgr.h"
|
||||
|
||||
Reference in New Issue
Block a user