Compare commits

...

3 Commits

Author SHA1 Message Date
Grimfeather
02647cd191 TBC - Shattrath phasing (#862)
phase Shattered Sun npcs until TBC tier 5
2025-11-17 15:39:19 +01:00
Grimfeather
3981d381ee Phase Draenei at Forest Song in Ashenvale (#863)
added to optional_vanilla_phasing
2025-11-17 15:25:08 +01:00
Nicolas Lebacq
9bfb2b06c5 fix: Auto-assigned highest title as current title for PvP titles when cleaning up. (#861)
pvp titles are now auto assigned
2025-11-17 11:46:49 +01:00
5 changed files with 45 additions and 27 deletions

View File

@@ -63,8 +63,9 @@ UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t4' WHERE `entry` IN
-- Phasing TBC vendors and trainers - Copies are added to replace them until TBC T4.
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t4' WHERE `entry` IN (18754, 18771, 19187, 21087);
-- TBC, Terrace of Light, phasing Shattered Sun offensive NPCs
UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (24932, 25115, 25142, 25153, 25155);
-- TBC, phasing Shattered Sun offensive NPCs in Shattrath
UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (17076, 19475, 24932, 24938, 25115, 25134, 25135, 25136, 25137, 25138, 25141, 25142, 25143, 25153, 25155);
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t5' WHERE `entry` IN (18594, 25167, 27666, 27667);
-- TBC, Terrace of Light, phasing T5 game objects
UPDATE `gameobject_template` SET `ScriptName` = 'gobject_ipp_tbc_t4' WHERE `entry` IN
@@ -73,9 +74,6 @@ UPDATE `gameobject_template` SET `ScriptName` = 'gobject_ipp_tbc_t4' WHERE `entr
187356, -- Shattered Sun Banner
187357); -- Shattered Sun Banner
-- Phasing for General Tiras'alan and Dathris Sunstriker - prevent early access to Isle of Quel'Danas
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc_t5' WHERE `entry` IN (25167, 18594);
-- Dragons of Nightmare
UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (14887, 14888, 14889, 14890);

View File

@@ -73,6 +73,11 @@ UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_tbc' WHERE `entry` IN (
37915 -- Timothy Cunningham, The Bulwark, Flight Master
);
SET @IPPPHASE := 65536;
-- Forest Song - Ashenvale - Draenei camp
UPDATE `creature` SET `phaseMask` = @IPPPHASE WHERE `id1` IN (17291, 17303, 17406, 17409, 17412, 17541, 22935, 22936);
/* Remove interactions between Cersei, Lorrin and the orcs in Stonard */
UPDATE `creature_template` SET `AIName` = '' WHERE `entry` IN (12807, 17109, 27705);

View File

@@ -589,6 +589,11 @@ void IndividualProgression::AwardEarnedVanillaPvpTitles(Player* player)
player->SetTitle(sCharTitlesStore.LookupEntry(title.TitleId), true);
}
}
if (highestTitle != -1)
{
player->SetCurrentTitle(sCharTitlesStore.LookupEntry(highestTitle));
}
}
}
}

View File

@@ -139,6 +139,7 @@ enum ProgressionAreas
AREA_ICE_THISTLE_HILLS = 2247,
AREA_THE_MARRIS_STEAD = 2260,
AREA_LIGHTS_HOPE = 2268,
AREA_FOREST_SONG = 2358,
AREA_DRACO_DAR = 2421,
AREA_RISE_OF_THE_DEFILER = 2517,
AREA_PESTILENT_SCAR = 2622,

View File

@@ -1026,6 +1026,15 @@ public:
player->CastSpell(player, IPP_PHASE, false);
}
break;
case AREA_FOREST_SONG:
if (sIndividualProgression->hasPassedProgression(player, PROGRESSION_PRE_TBC))
{
player->RemoveAura(IPP_PHASE);
player->RemoveAura(IPP_PHASE_II);
player->RemoveAura(IPP_PHASE_III);
player->CastSpell(player, IPP_PHASE, false);
}
break;
case AREA_ARGENT_TOURNAMENT_GROUNDS:
case AREA_ARGENT_SUNREAVER_PAVILION:
case AREA_ARGENT_SILVER_COVENANT_PAVILION: