Compare commits

...

7 Commits

Author SHA1 Message Date
郑佩茹
050b195fa1 Fix Frost Armor acquire method 2022-10-24 16:17:53 -06:00
郑佩茹
a45ca1e3e1 Fix Frost Armor 2022-10-24 15:44:01 -06:00
郑佩茹
d8c71eec3e Include modified mana costs in optional files 2022-10-24 13:02:33 -06:00
郑佩茹
adfbfc981c Only apply Death Knight starting progression to Death Knights 2022-10-08 10:31:00 -06:00
郑佩茹
10cc05ae1b WotLK pre-3.2 gems fix 2022-10-07 14:10:39 -06:00
郑佩茹
f8a4ff57a3 WotLK Vendor progression fixes 2022-10-07 14:07:59 -06:00
郑佩茹
4fb1a9e498 Fix bool written as boolean 2022-10-07 12:05:06 -06:00
5 changed files with 12 additions and 4 deletions

Binary file not shown.

View File

@@ -17,9 +17,10 @@ UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk' WHERE `entry` IN (
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk_ulduar' WHERE `entry` IN (34252); UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk_ulduar' WHERE `entry` IN (34252);
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk_totc' WHERE `entry` IN (35498, 35577, 35496, 36208, 35500, 35497, 34244); UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk_totc' WHERE `entry` IN (35498, 35577, 35496, 36208, 35500, 35497, 34244, 28701);
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk_icc' WHERE `entry` IN (37776, 40160); # TODO: Harold Winston (32172) has rings from all patches, so he needs special phasing applied - for now make him require ICC progression
UPDATE `creature_template` SET `ScriptName` = 'npc_ipp_wotlk_icc' WHERE `entry` IN (37776, 40160, 37780, 32172);
UPDATE `gameobject_template` SET `ScriptName` = 'gobject_ipp_tbc' WHERE `entry` IN (195141); UPDATE `gameobject_template` SET `ScriptName` = 'gobject_ipp_tbc' WHERE `entry` IN (195141);

View File

@@ -0,0 +1,7 @@
-- Restore vendors to use pre-3.2 gems
UPDATE `npc_vendor` SET `item`=36918 WHERE `item`=36919;
UPDATE `npc_vendor` SET `item`=36921 WHERE `item`=36922;
UPDATE `npc_vendor` SET `item`=36924 WHERE `item`=36925;
UPDATE `npc_vendor` SET `item`=36927 WHERE `item`=36928;
UPDATE `npc_vendor` SET `item`=36930 WHERE `item`=36931;
UPDATE `npc_vendor` SET `item`=36933 WHERE `item`=36934;

View File

@@ -7,7 +7,7 @@ public:
void OnLogin(Player* player) override void OnLogin(Player* player) override
{ {
if (sIndividualProgression->deathKnightStartingProgression && !sIndividualProgression->hasPassedProgression(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression))) if (player->getClass() == CLASS_DEATH_KNIGHT && sIndividualProgression->deathKnightStartingProgression && !sIndividualProgression->hasPassedProgression(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression)))
{ {
sIndividualProgression->UpdateProgressionState(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression)); sIndividualProgression->UpdateProgressionState(player, static_cast<ProgressionState>(sIndividualProgression->deathKnightStartingProgression));
} }

View File

@@ -89,7 +89,7 @@ enum Events
class boss_sapphiron_40 : public CreatureScript class boss_sapphiron_40 : public CreatureScript
{ {
private: private:
static boolean isNaxx40Sapp(uint32 entry) static bool isNaxx40Sapp(uint32 entry)
{ {
return (entry == NPC_SAPPHIRON_40); return (entry == NPC_SAPPHIRON_40);
} }