mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
Core/Auras: don't skip stack rule check whenever spells have same ID
- The auras might not have the same amounts due to spellmods Closes #1626
This commit is contained in:
5
sql/updates/world/3.3.5/2017_04_15_00_world_335.sql
Normal file
5
sql/updates/world/3.3.5/2017_04_15_00_world_335.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
UPDATE `spell_group_stack_rules` SET `stack_rule`=3 WHERE `group_id`=1025;
|
||||
DELETE FROM `spell_group_stack_rules` WHERE `group_id` IN (1023,1024);
|
||||
INSERT INTO `spell_group_stack_rules` (`group_id`, `stack_rule`) VALUES
|
||||
(1023, 4),
|
||||
(1024, 4);
|
||||
@@ -735,8 +735,6 @@ SpellGroupStackRule SpellMgr::CheckSpellGroupStackRules(SpellInfo const* spellIn
|
||||
|
||||
uint32 spellid_1 = spellInfo1->GetFirstRankSpell()->Id;
|
||||
uint32 spellid_2 = spellInfo2->GetFirstRankSpell()->Id;
|
||||
if (spellid_1 == spellid_2)
|
||||
return SPELL_GROUP_STACK_RULE_DEFAULT;
|
||||
|
||||
// find SpellGroups which are common for both spells
|
||||
SpellSpellGroupMapBounds spellGroup1 = GetSpellSpellGroupMapBounds(spellid_1);
|
||||
|
||||
Reference in New Issue
Block a user