Will of Forsaken + Trinket PVP correct faction check

This commit is contained in:
mik1893
2016-08-24 11:53:34 +01:00
committed by Yehonal
parent b689b7f1e1
commit 62c73fd6ef

View File

@@ -2159,7 +2159,7 @@ class spell_pvp_trinket_wotf_shared_cd : public SpellScriptLoader
// Spell::SendSpellCooldown() skips all spells with TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD
player->AddSpellAndCategoryCooldowns(GetSpellInfo(), GetCastItem() ? GetCastItem()->GetEntry() : 0, GetSpell());
if (player->GetTeamId() == TEAM_HORDE)
if (player->GetTeamId(true) == TEAM_HORDE)
if (GetSpellInfo()->Id == SPELL_WILL_OF_THE_FORSAKEN_COOLDOWN_TRIGGER)
{
WorldPacket data;