Changeset 200 for trunk/src/game/SpellHandler.cpp
- Timestamp:
- 11/19/08 13:45:43 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/SpellHandler.cpp
r174 r200 353 353 return; 354 354 355 // Remove possess aura from the possessed as well 356 if(_player->isPossessing()) 355 // Remove possess/charm aura from the possessed/charmed as well 356 // TODO: Remove this once the ability to cancel aura sets at once is implemented 357 if(_player->GetCharm()) 357 358 { 358 359 for (int i = 0; i < 3; ++i) 359 360 { 360 361 if (spellInfo->EffectApplyAuraName[i] == SPELL_AURA_MOD_POSSESS || 361 spellInfo->EffectApplyAuraName[i] == SPELL_AURA_MOD_POSSESS_PET) 362 spellInfo->EffectApplyAuraName[i] == SPELL_AURA_MOD_POSSESS_PET || 363 spellInfo->EffectApplyAuraName[i] == SPELL_AURA_MOD_CHARM) 362 364 { 363 365 _player->RemoveAurasDueToSpellByCancel(spellId);