Scripted: Fix non pch build
This commit is contained in:
@@ -1803,7 +1803,8 @@ class spell_q13011_bear_flank_master : public SpellScriptLoader
|
||||
|
||||
bool Validate(SpellInfo const* /*spellInfo*/) OVERRIDE
|
||||
{
|
||||
if (!sSpellMgr->GetSpellInfo(SPELL_BEAR_FLANK_MASTER) || !sSpellMgr->GetSpellInfo(SPELL_CREATE_BEAR_FLANK))
|
||||
if (!sSpellMgr->GetSpellInfo(SPELL_BEAR_FLANK_MASTER) ||
|
||||
!sSpellMgr->GetSpellInfo(SPELL_CREATE_BEAR_FLANK))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
@@ -1813,7 +1814,7 @@ class spell_q13011_bear_flank_master : public SpellScriptLoader
|
||||
return GetCaster()->GetTypeId() == TYPEID_UNIT;
|
||||
}
|
||||
|
||||
void HandleScript(SpellEffIndex effIndex)
|
||||
void HandleScript(SpellEffIndex /*effIndex*/)
|
||||
{
|
||||
bool failed = RAND(0, 1); // 50% chance
|
||||
Creature* creature = GetCaster()->ToCreature();
|
||||
|
||||
Reference in New Issue
Block a user