Misc cleanup

This commit is contained in:
hondacrx
2024-01-30 09:24:45 -05:00
parent 29a34bbf5d
commit 56eefeb54b
4 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -2009,7 +2009,7 @@ namespace Game.Achievements
if (followerBuilding == null) if (followerBuilding == null)
return false; return false;
return followerBuilding.BuildingType == secondaryAsset && follower.HasAbility(reqValue); ; return followerBuilding.BuildingType == secondaryAsset && follower.HasAbility(reqValue);
}); });
if (followerCount < 1) if (followerCount < 1)
@@ -2032,7 +2032,7 @@ namespace Game.Achievements
if (followerBuilding == null) if (followerBuilding == null)
return false; return false;
return followerBuilding.BuildingType == secondaryAsset && follower.HasAbility(reqValue); ; return followerBuilding.BuildingType == secondaryAsset && follower.HasAbility(reqValue);
}); });
if (followerCount < 1) if (followerCount < 1)
@@ -3297,7 +3297,7 @@ namespace Game.Achievements
break; break;
case 123: // Shadowlands Season 1 End case 123: // Shadowlands Season 1 End
// timestamp = unknown // timestamp = unknown
break; ; break;
case 149: // Shadowlands Season 2 End case 149: // Shadowlands Season 2 End
// timestamp = unknown // timestamp = unknown
break; break;
+1 -1
View File
@@ -1544,7 +1544,7 @@ namespace Game.Entities
SetUpdateFieldValue(m_values.ModifyValue(m_unitData).ModifyValue(m_unitData.RangedAttackRoundBaseTime), (uint)(m_baseAttackSpeed[(int)att] * m_modAttackSpeedPct[(int)att])); SetUpdateFieldValue(m_values.ModifyValue(m_unitData).ModifyValue(m_unitData.RangedAttackRoundBaseTime), (uint)(m_baseAttackSpeed[(int)att] * m_modAttackSpeedPct[(int)att]));
break; break;
default: default:
break; ; break;
} }
} }
+1 -1
View File
@@ -2591,7 +2591,7 @@ namespace Game.Maps
} }
break; break;
case TypeId.GameObject: case TypeId.GameObject:
GameObject gameObject = obj.ToGameObject(); ; GameObject gameObject = obj.ToGameObject();
if (gameObject != null && gameObject.GetSpawnId() != 0) if (gameObject != null && gameObject.GetSpawnId() != 0)
{ {
respawnLocation = new(); respawnLocation = new();
@@ -1075,7 +1075,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
if (_worldPacket.HasBit()) if (_worldPacket.HasBit())
@@ -1097,7 +1097,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
if (_worldPacket.HasBit()) if (_worldPacket.HasBit())
@@ -1119,7 +1119,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
if (_worldPacket.HasBit()) if (_worldPacket.HasBit())
@@ -1179,7 +1179,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
StackCount = _worldPacket.ReadUInt32(); StackCount = _worldPacket.ReadUInt32();
@@ -1203,7 +1203,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
StackCount = _worldPacket.ReadUInt32(); StackCount = _worldPacket.ReadUInt32();
@@ -1227,7 +1227,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
StackCount = _worldPacket.ReadUInt32(); StackCount = _worldPacket.ReadUInt32();
@@ -1251,7 +1251,7 @@ namespace Game.Networking.Packets
{ {
Banker = _worldPacket.ReadPackedGuid(); Banker = _worldPacket.ReadPackedGuid();
BankTab = _worldPacket.ReadUInt8(); BankTab = _worldPacket.ReadUInt8();
BankSlot = _worldPacket.ReadUInt8(); ; BankSlot = _worldPacket.ReadUInt8();
ContainerItemSlot = _worldPacket.ReadUInt8(); ContainerItemSlot = _worldPacket.ReadUInt8();
StackCount = _worldPacket.ReadUInt32(); StackCount = _worldPacket.ReadUInt32();