Restore quiver functionality

This commit is contained in:
郑佩茹
2022-09-03 19:18:38 -06:00
parent 06b52e9401
commit 4b72bdbfca
4 changed files with 102 additions and 2 deletions

View File

@@ -299,6 +299,13 @@ private:
{
AdjustWotLKStats(player);
}
if (player->getClass() == CLASS_HUNTER)
{
// Remove the 15% built-in ranged haste that was added to hunters in WotLK
// This lets us add haste spells back to quivers
player->RemoveAura(RANGED_HASTE_SPELL);
player->CastSpell(player, RANGED_HASTE_SPELL, false);
}
}

View File

@@ -44,7 +44,8 @@ enum BuffSpells
BASE_STAT_AP_SPELL = 89503,
RAGE_FROM_DAMAGE_SPELL = 89504,
ABSORB_SPELL = 89505,
HEALING_DONE_SPELL = 89506
HEALING_DONE_SPELL = 89506,
RANGED_HASTE_SPELL = 89507
};
enum ProgressionQuestIDs