Core/Refactor: Part 2

This commit is contained in:
hondacrx
2018-05-07 22:07:35 -04:00
parent 216db1c23a
commit 9b40067017
93 changed files with 321 additions and 388 deletions
+1 -4
View File
@@ -1514,10 +1514,7 @@ namespace Game.Entities
Item weapon = GetWeaponForAttack(attack, true);
expertise += GetTotalAuraModifier(AuraType.ModExpertise, aurEff =>
{
return aurEff.GetSpellInfo().IsItemFitToSpellRequirements(weapon);
});
expertise += GetTotalAuraModifier(AuraType.ModExpertise, aurEff => aurEff.GetSpellInfo().IsItemFitToSpellRequirements(weapon));
if (expertise < 0)
expertise = 0;