mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
Over 100 camangos Cata commits applied (to c12950)
Over 100 camangos Cata commits applied. up to and inclusing c12950.
This commit is contained in:
parent
b4ec0440aa
commit
eef77eadb9
117 changed files with 4314 additions and 3547 deletions
|
|
@ -189,8 +189,13 @@ void Totem::SetTypeBySummonSpell(SpellEntry const* spellProto)
|
|||
|
||||
bool Totem::IsImmuneToSpellEffect(SpellEntry const* spellInfo, SpellEffectIndex index, bool castOnSelf) const
|
||||
{
|
||||
// Totem may affected by some specific spells
|
||||
// Mana Spring, Healing stream, Mana tide
|
||||
// Flags : 0x00000002000 | 0x00000004000 | 0x00004000000 -> 0x00004006000
|
||||
if (spellInfo->GetSpellFamilyName() == SPELLFAMILY_SHAMAN && spellInfo->IsFitToFamilyMask(UI64LIT(0x00004006000)))
|
||||
return false;
|
||||
SpellEffectEntry const* spellEffect = spellInfo->GetSpellEffect(index);
|
||||
if(spellEffect)
|
||||
if (spellEffect)
|
||||
{
|
||||
// TODO: possibly all negative auras immune?
|
||||
switch(spellEffect->Effect)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue