Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them

Port From (https://github.com/TrinityCore/TrinityCore/commit/d697882dfbb16242b7aa0b915fb116a14039ac5e)
This commit is contained in:
hondacrx
2021-02-04 12:24:50 -05:00
parent 0d1bfff206
commit a6c5ac711e
7 changed files with 39 additions and 31 deletions
+1 -4
View File
@@ -781,10 +781,7 @@ namespace Game.Entities
chance += victim.GetTotalAuraModifier(AuraType.ModCritChanceForCaster, aurEff =>
{
if (aurEff.GetCasterGUID() == GetGUID())
return true;
return false;
return aurEff.GetCasterGUID() == GetGUID();
});
chance += victim.GetTotalAuraModifier(AuraType.ModAttackerSpellAndWeaponCritChance);