mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[7012] Fix use SpellVisual data
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
1f4b00a848
commit
ba5e3dabc6
4 changed files with 5 additions and 5 deletions
|
|
@ -1137,7 +1137,7 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
case SPELLFAMILY_ROGUE:
|
||||
{
|
||||
// Garrote-Silence -> Garrote (multi-family check)
|
||||
if( spellInfo_1->SpellIconID == 498 && spellInfo_1->SpellVisual == 0 && spellInfo_2->SpellIconID == 498 )
|
||||
if( spellInfo_1->SpellIconID == 498 && spellInfo_1->SpellVisual[0] == 0 && spellInfo_2->SpellIconID == 498 )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
|
@ -1200,7 +1200,7 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
//Corruption & Seed of corruption
|
||||
if( spellInfo_1->SpellIconID == 313 && spellInfo_2->SpellIconID == 1932 ||
|
||||
spellInfo_2->SpellIconID == 313 && spellInfo_1->SpellIconID == 1932 )
|
||||
if(spellInfo_1->SpellVisual != 0 && spellInfo_2->SpellVisual != 0)
|
||||
if(spellInfo_1->SpellVisual[0] != 0 && spellInfo_2->SpellVisual[0] != 0)
|
||||
return true; // can't be stacked
|
||||
|
||||
// Corruption and Unstable Affliction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue