Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (spellInfo->IsPositive())
- {
- if (spellInfo->CanBeUsedInCombat())
- {
- // Check if we're in combat or commanded to attack
- if (!me->IsInCombat() && !me->GetCharmInfo()->IsCommandAttack())
- // Imp's Blood Pact
- if (spellInfo->SpellFamilyName != SPELLFAMILY_WARLOCK && spellInfo->SpellIconID != 541)
- continue;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement