Misc Fixes

This commit is contained in:
hondacrx
2021-08-09 11:39:46 -04:00
parent fbf1a05485
commit 140abe98d1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3993,7 +3993,7 @@ namespace Game.Entities
}
// Sanctified Wrath (bypass damage reduction)
if (attacker != null && TakenTotalMod < 1.0f)
if (TakenTotalMod < 1.0f)
{
SpellSchoolMask attackSchoolMask = spellProto != null ? spellProto.GetSchoolMask() : damageSchoolMask;
+1 -1
View File
@@ -3912,7 +3912,7 @@ namespace Game
}
GameObjectOverride gameObjectOverride = new();
gameObjectOverride.Faction = result.Read<uint>(1);
gameObjectOverride.Faction = result.Read<ushort>(1);
gameObjectOverride.Flags = (GameObjectFlags)result.Read<uint>(2);
_gameObjectOverrideStorage[spawnId] = gameObjectOverride;
+1 -1
View File
@@ -503,7 +503,7 @@ namespace Scripts.Spells.Priest
if (rhs == explTarget) // anything > explTarget: always false
return -1;
return MakeSortTuple(lhs).Equals(rhs) ? 1 : -1;
return MakeSortTuple(lhs).Equals(MakeSortTuple(rhs)) ? 1 : -1;
});
targets.Resize(maxTargets);