Fixed build after recent header cleanup

This commit is contained in:
Ovahlord committed 2018-03-28 14:58:59 +02:00
1 parent 2cfdd3cbe0
commit 37e4b3492c
28 files changed
+140 -109

No files matched your search

+4 -2
View File
@@ -24,10 +24,12 @@
#include "ScriptMgr.h"
#include "Containers.h"
#include "Player.h"
#include "Spell.h"
#include "SpellAuraEffects.h"
#include "SpellHistory.h"
#include "SpellMgr.h"
#include "SpellScript.h"
#include "DynamicObject.h"
enum DruidSpells
{
@@ -1056,7 +1058,7 @@ class spell_dru_stampede : public SpellScriptLoader
{
return ValidateSpellInfo(
{
SPELL_DRUID_STAMPEDE_BEAR_RANK_1,
SPELL_DRUID_STAMPEDE_BAER_RANK_1,
SPELL_DRUID_STAMPEDE_CAT_RANK_1,
SPELL_DRUID_STAMPEDE_CAT_STATE,
SPELL_DRUID_FERAL_CHARGE_CAT,
@@ -1080,7 +1082,7 @@ class spell_dru_stampede : public SpellScriptLoader
if (GetTarget()->GetShapeshiftForm() != FORM_BEAR || eventInfo.GetDamageInfo()->GetSpellInfo()->Id != SPELL_DRUID_FERAL_CHARGE_BEAR)
return;
GetTarget()->CastSpell(GetTarget(), sSpellMgr->GetSpellWithRank(SPELL_DRUID_STAMPEDE_BEAR_RANK_1, GetSpellInfo()->GetRank()), true, nullptr, aurEff);
GetTarget()->CastSpell(GetTarget(), sSpellMgr->GetSpellWithRank(SPELL_DRUID_STAMPEDE_BAER_RANK_1, GetSpellInfo()->GetRank()), true, nullptr, aurEff);
}
void Register() override