• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Honor Disable, (BG)

Status
Not open for further replies.

ExonatioN

Noble Member
3.3.5 TrinityCore
How would you disable the honor from the world, and still let people get honor from winning battlegrounds.
Example: If i set the honor rate to 0, it will totally disable honor also from battleground winning, but i want to make a system so players won't get any honor for killing in lets say gurubashi arena, killing inside the bgs, BUT i want to do so you still get honor for winning the battleground.

Any clue how i would do that in the core?

Thanks.
 

Parranoia

Insane Member
This might fix it.
Go into Player.cpp and find this bit of code (around line 500)
Code:
inline void KillRewarder::_RewardHonor(Player* player)
{
    // Rewarded player must be alive.
    if (player->IsAlive())
        player->RewardHonor(_victim, _count, -1, true);
}

You can comment out or just remove the code inside that function and it may give you your desired results. I haven't looked too deeply to be 100% sure of other consequences.
 
Status
Not open for further replies.
Top