Core/Auras: Corrected SPELL_AURA_MOD_HONOR_GAIN_PCT implementation - it should only increase honor gains from some sources
Port From (https://github.com/TrinityCore/TrinityCore/commit/c56d18287dad88b214b4a33ccd785484b165acbe)
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Game.Chat.Commands
|
||||
if (handler.HasLowerSecurity(target, ObjectGuid.Empty))
|
||||
return false;
|
||||
|
||||
target.RewardHonor(null, 1, amount);
|
||||
target.RewardHonor(null, 1, amount, HonorGainSource.Spell);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Game.Chat.Commands
|
||||
if (handler.HasLowerSecurity(player, ObjectGuid.Empty))
|
||||
return false;
|
||||
|
||||
handler.GetPlayer().RewardHonor(target, 1);
|
||||
handler.GetPlayer().RewardHonor(target, 1, -1, HonorGainSource.Kill);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user