Core/Misc: Misc fixes

This commit is contained in:
hondacrx
2021-03-16 15:45:42 -04:00
parent 76b30d4346
commit e77a742bf8
4 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ namespace Framework.Constants
public const int MaxArtifactTier = 1;
public const int MaxHonorLevel = 500;
public const byte LevelMinHonor = 60;
public const byte LevelMinHonor = 20;
public const uint SpellPvpRulesEnabled = 134735;
//Azerite
@@ -2640,10 +2640,7 @@ namespace Game.Entities
var status = m_QuestStatus.LookupByKey(quest.Id);
if (status == null)
{
Log.outError(LogFilter.Player, "GetQuestObjectiveData: player {0} ({1}) doesn't have quest status data for quest {2}", GetName(), GetGUID().ToString(), quest.Id);
return 0;
}
if (storageIndex >= status.ObjectiveData.Length)
{
+1
View File
@@ -1237,6 +1237,7 @@ namespace Game.Entities
case ShapeShiftForm.BearForm:
useRandom = HasAura(107059);
break; // Glyph of the Ursol Chameleon
case ShapeShiftForm.FlightFormEpic:
case ShapeShiftForm.FlightForm:
useRandom = HasAura(344342);
break; // Glyph of the Aerial Chameleon
-1
View File
@@ -33,7 +33,6 @@ namespace Game.Networking
public class RASocket : ISocket
{
Socket _socket;
bool _closed;
IPAddress _remoteAddress;
byte[] _receiveBuffer;