mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 23:44:51 +08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c95abb08b | ||
|
|
5d7077bf48 | ||
|
|
1a37c250cc | ||
|
|
050b195fa1 | ||
|
|
a45ca1e3e1 | ||
|
|
d8c71eec3e | ||
|
|
adfbfc981c |
@@ -40,3 +40,4 @@ Special thanks to all contributors of the following projects which are make this
|
|||||||
* Wrath of the Vanilla Module for more Vanilla world adjustments
|
* Wrath of the Vanilla Module for more Vanilla world adjustments
|
||||||
* Vmangos for Vanilla game and patch progression data
|
* Vmangos for Vanilla game and patch progression data
|
||||||
* SoglaHash for many Naxx 40 scripts and data
|
* SoglaHash for many Naxx 40 scripts and data
|
||||||
|
* 55Honey for Acore_ZoneDebuff module, used as basis for damage and HP scaling
|
||||||
|
|||||||
BIN
optional/dbc.zip
BIN
optional/dbc.zip
Binary file not shown.
@@ -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));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ public:
|
|||||||
|
|
||||||
void UpdateAI(uint32 diff) override
|
void UpdateAI(uint32 diff) override
|
||||||
{
|
{
|
||||||
if (!sWorld->getBoolConfig(CONFIG_WINTERGRASP_ENABLE))
|
if (sWorld->getIntConfig(CONFIG_WINTERGRASP_ENABLE) == 2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ScriptedAI::UpdateAI(diff);
|
ScriptedAI::UpdateAI(diff);
|
||||||
|
|||||||
Reference in New Issue
Block a user