diff options
| author | QAston <none@none> | 2010-02-04 18:34:46 +0100 |
|---|---|---|
| committer | QAston <none@none> | 2010-02-04 18:34:46 +0100 |
| commit | 3df5bb041c84b184bd347e9c156ebdcdcedfc4aa (patch) | |
| tree | a264df55b095b03083c34be3b369f29714e2b73d /src/game/SpellMgr.h | |
| parent | 61cc641384fc863b4b781866d8a687f0b4b7fcb1 (diff) | |
*Way more correct way of selecting caster and target for Periodic Trigger auras.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.h')
| -rw-r--r-- | src/game/SpellMgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index 4d2be7fbea6..331270bddd6 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -922,6 +922,8 @@ class SpellMgr { spellid_1 = GetFirstSpellInChain(spellid_1); spellid_2 = GetFirstSpellInChain(spellid_2); + if (spellid_1 == spellid_2) + return SPELL_GROUP_STACK_RULE_DEFAULT; // find SpellGroups which are common for both spells SpellSpellGroupMapBounds spellGroup1 = GetSpellSpellGroupMapBounds(spellid_1); std::set<SpellGroup> groups; |
