mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
*Mangos [7034] Add support 96 bit spell family mask to triggers. By DiSlord.
*Mangos [7035] Disable wrong use some spell effects (changed in 303). By DiSlord. *Mangos [7036] Implement one warlock glyph. By DiSlord. --HG-- branch : trunk
This commit is contained in:
@@ -4161,9 +4161,7 @@ uint8 Spell::CanCast(bool strict)
|
||||
|
||||
break;
|
||||
}
|
||||
// This is generic summon effect now and don't make this check for summon types similar
|
||||
// SPELL_EFFECT_SUMMON_CRITTER, SPELL_EFFECT_SUMMON_WILD or SPELL_EFFECT_SUMMON_GUARDIAN.
|
||||
// These won't show up in m_caster->GetPetGUID()
|
||||
// This is generic summon effect
|
||||
case SPELL_EFFECT_SUMMON:
|
||||
{
|
||||
switch(m_spellInfo->EffectMiscValueB[i])
|
||||
@@ -4184,10 +4182,8 @@ uint8 Spell::CanCast(bool strict)
|
||||
}
|
||||
break;
|
||||
}
|
||||
// Don't make this check for SPELL_EFFECT_SUMMON_CRITTER, SPELL_EFFECT_SUMMON_WILD or SPELL_EFFECT_SUMMON_GUARDIAN.
|
||||
// These won't show up in m_caster->GetPetGUID()
|
||||
// Not used for summon?
|
||||
case SPELL_EFFECT_SUMMON_PHANTASM:
|
||||
case SPELL_EFFECT_SUMMON_DEMON:
|
||||
{
|
||||
if(m_caster->GetPetGUID())
|
||||
return SPELL_FAILED_ALREADY_HAVE_SUMMON;
|
||||
|
||||
Reference in New Issue
Block a user