Core/Spells: Allow removing same npc entry multiple times for AuraType.LinkedSummon if it's from different effects of the same spell
Core/Maps: Allow entering raid maps without a raid group for maps older than current expansion
This commit is contained in:
@@ -154,7 +154,7 @@ namespace Game.Entities
|
|||||||
string mapName = entry.MapName[Global.WorldMgr.GetDefaultDbcLocale()];
|
string mapName = entry.MapName[Global.WorldMgr.GetDefaultDbcLocale()];
|
||||||
|
|
||||||
Group group = player.GetGroup();
|
Group group = player.GetGroup();
|
||||||
if (entry.IsRaid()) // can only enter in a raid group
|
if (entry.IsRaid() && entry.Expansion() >= (Expansion)WorldConfig.GetIntValue(WorldCfg.Expansion)) // can only enter in a raid group but raids from old expansion don't need a group
|
||||||
if ((!group || !group.isRaidGroup()) && WorldConfig.GetBoolValue(WorldCfg.InstanceIgnoreRaid))
|
if ((!group || !group.isRaidGroup()) && WorldConfig.GetBoolValue(WorldCfg.InstanceIgnoreRaid))
|
||||||
return EnterState.CannotEnterNotInRaid;
|
return EnterState.CannotEnterNotInRaid;
|
||||||
|
|
||||||
|
|||||||
@@ -6049,10 +6049,8 @@ namespace Game.Spells
|
|||||||
{
|
{
|
||||||
uint summonEntry = (uint)spellEffect.MiscValue;
|
uint summonEntry = (uint)spellEffect.MiscValue;
|
||||||
if (summonEntry != 0)
|
if (summonEntry != 0)
|
||||||
{
|
summonedEntries.Add(summonEntry);
|
||||||
if (!summonedEntries.Contains(summonEntry))
|
|
||||||
summonedEntries.Add(summonEntry);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user