Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player* player;
- uint32 auraTab[6] = {SPELL_AURA_1, SPELL_AURA_2, SPELL_AURA_3, SPELL_AURA_4, SPELL_AURA_5, SPELL_AURA_6};
- uint8 countAura = 0;
- for (uint8 i = 0; i < 6; ++i)
- if (player->HasAura(auraTab[i]))
- ++countAura;
- if (countAura >= 3)
- // La suite du code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement