Core/Game: Update PCH content to include most commonly used headers

This commit is contained in:
Shauren
2025-06-13 16:03:35 +02:00
parent 805f8e6817
commit 9bb2ddaee2
2 changed files with 29 additions and 7 deletions

View File

@@ -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);

View File

@@ -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"