Fixed appearance validation
Implemented proper facial hair validation Implemented transmog Set fix interaction of spells like Shadowmeld with Threat reducing effects
This commit is contained in:
@@ -343,7 +343,7 @@ namespace Game.Maps
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var guid in bossInfo.minion)
|
||||
foreach (var guid in bossInfo.minion.ToArray())
|
||||
{
|
||||
Creature minion = instance.GetCreature(guid);
|
||||
if (minion)
|
||||
@@ -608,7 +608,7 @@ namespace Game.Maps
|
||||
return false;
|
||||
}
|
||||
|
||||
void SetEntranceLocation(uint worldSafeLocationId)
|
||||
public void SetEntranceLocation(uint worldSafeLocationId)
|
||||
{
|
||||
_entranceId = worldSafeLocationId;
|
||||
if (_temporaryEntranceId != 0)
|
||||
|
||||
@@ -2701,6 +2701,22 @@ namespace Game.Maps
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateAreaDependentAuras()
|
||||
{
|
||||
var players = GetPlayers();
|
||||
foreach (var player in players)
|
||||
{
|
||||
if (player)
|
||||
{
|
||||
if (player.IsInWorld)
|
||||
{
|
||||
player.UpdateAreaDependentAuras(player.GetAreaId());
|
||||
player.UpdateZoneDependentAuras(player.GetZoneId());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public MapRecord GetEntry()
|
||||
{
|
||||
return i_mapRecord;
|
||||
@@ -4391,6 +4407,7 @@ namespace Game.Maps
|
||||
{
|
||||
var data = result.Read<string>(0);
|
||||
i_data.SetCompletedEncountersMask(result.Read<uint>(1));
|
||||
i_data.SetEntranceLocation(result.Read<uint>(2));
|
||||
if (data != "")
|
||||
{
|
||||
Log.outDebug(LogFilter.Maps, "Loading instance data for `{0}` with id {1}",
|
||||
|
||||
Reference in New Issue
Block a user