сабж собственно.
https://github.com/mangosR2/mangos/c...a64ab03bd96671
Код:
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index a32f3e8..2be7aae 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -3607,6 +3607,13 @@ void Spell::cast(bool skipCheck)
AddTriggeredSpell(55095); // Frost Fever
break;
}
+ case SPELLFAMILY_WARLOCK:
+ {
+ // Consume shadows - invisible detect part
+ if (m_spellInfo->SpellIconID == 207 && (m_spellInfo->SpellFamilyFlags & UI64LIT(0x000000000000000002000000)))
+ AddPrecastSpell(54501); // Consume shadows - MOD_STEALTH_DETECT
+ break;
+ }
default:
break;
}