mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 15:38:19 +08:00
Compare commits
3 Commits
1c74a9847b
...
02647cd191
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02647cd191 | ||
|
|
3981d381ee | ||
|
|
9bfb2b06c5 |
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -589,6 +589,11 @@ void IndividualProgression::AwardEarnedVanillaPvpTitles(Player* player)
|
||||
player->SetTitle(sCharTitlesStore.LookupEntry(title.TitleId), true);
|
||||
}
|
||||
}
|
||||
|
||||
if (highestTitle != -1)
|
||||
{
|
||||
player->SetCurrentTitle(sCharTitlesStore.LookupEntry(highestTitle));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user