Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
3f3a32df34
218 files changed
+1060
-974
No files matched your search
@@ -1384,28 +1384,6 @@ bool SpellInfo::IsSingleTarget() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SpellInfo::IsSingleTargetWith(SpellInfo const* spellInfo) const
|
||||
{
|
||||
// Same spell?
|
||||
if (IsRankOf(spellInfo))
|
||||
return true;
|
||||
|
||||
SpellSpecificType spec = GetSpellSpecific();
|
||||
// spell with single target specific types
|
||||
switch (spec)
|
||||
{
|
||||
case SPELL_SPECIFIC_JUDGEMENT:
|
||||
case SPELL_SPECIFIC_MAGE_POLYMORPH:
|
||||
if (spellInfo->GetSpellSpecific() == spec)
|
||||
return true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool SpellInfo::IsAuraExclusiveBySpecificWith(SpellInfo const* spellInfo) const
|
||||
{
|
||||
SpellSpecificType spellSpec1 = GetSpellSpecific();
|
||||
|
||||
Reference in new issue
Block a user