TrinityCoreCustomChanges icon indicating copy to clipboard operation
TrinityCoreCustomChanges copied to clipboard

PvP Ranks extra honor

Open jackpoz opened this issue 5 years ago • 0 comments

PvP Ranks calls

honor *= 1 + sWorld->getRate(RATE_PVP_RANK_EXTRA_HONOR)*(((float)rank_diff) / 10.0f);

but then

honor = int32(honor_f);

so the custom extra honor gets lost.

honor_f should probably be changed instead.

https://github.com/TrinityCore/TrinityCoreCustomChanges/commit/c840b87d24ba21f1c06127f0d2ce991afe0de7b2#diff-5589ee47b3a7ad220cff105a8fe7eac3R6854

jackpoz avatar Jul 23 '19 06:07 jackpoz