mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8648] Implement SPELL_AURA_MOD_HONOR_GAIN
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4011433918
commit
369e50e068
3 changed files with 3 additions and 2 deletions
|
|
@ -6106,6 +6106,7 @@ bool Player::RewardHonor(Unit *uVictim, uint32 groupsize, float honor)
|
|||
if (uVictim != NULL)
|
||||
{
|
||||
honor *= sWorld.getRate(RATE_HONOR);
|
||||
honor *= (GetMaxPositiveAuraModifier(SPELL_AURA_MOD_HONOR_GAIN) + 100.0f)/100.0f;
|
||||
|
||||
if(groupsize > 1)
|
||||
honor /= groupsize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue