Insider42
28.05.2010, 16:59
Суть проблемы:
Покаяние (Repentance) не заменяет эффекта Праведной мести (Righteous Vengeance) как должно быть с одного из последних патчей.
Автор: MrLama
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 77b2db3..e43cb22 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -1742,6 +1742,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
if (IsSealSpell(spellInfo_1) && IsSealSpell(spellInfo_2))
return true;
+ // Repentance removes Righteous Vengeance
+ if (spellInfo_1->Id == 20066 && spellInfo_2->Id == 61840)
+ return true;
+
// Swift Retribution / Improved Devotion Aura (talents) and Paladin Auras
if ((spellInfo_1->SpellFamilyFlags2 & 0x00000020) && (spellInfo_2->SpellIconID == 291 || spellInfo_2->SpellIconID == 3028) ||
(spellInfo_2->SpellFamilyFlags2 & 0x00000020) && (spellInfo_1->SpellIconID == 291 || spellInfo_1->SpellIconID == 3028))
Покаяние (Repentance) не заменяет эффекта Праведной мести (Righteous Vengeance) как должно быть с одного из последних патчей.
Автор: MrLama
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 77b2db3..e43cb22 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -1742,6 +1742,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
if (IsSealSpell(spellInfo_1) && IsSealSpell(spellInfo_2))
return true;
+ // Repentance removes Righteous Vengeance
+ if (spellInfo_1->Id == 20066 && spellInfo_2->Id == 61840)
+ return true;
+
// Swift Retribution / Improved Devotion Aura (talents) and Paladin Auras
if ((spellInfo_1->SpellFamilyFlags2 & 0x00000020) && (spellInfo_2->SpellIconID == 291 || spellInfo_2->SpellIconID == 3028) ||
(spellInfo_2->SpellFamilyFlags2 & 0x00000020) && (spellInfo_1->SpellIconID == 291 || spellInfo_1->SpellIconID == 3028))