Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

PvP Ranks extra honor

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
game-dev

Research direction

Search the C++ sources for the PvP Ranks calculation shown in the issue and compare it with commit c840b87d24ba21f1c06127f0d2ce991afe0de7b2. Trace how the extra-honor rate flows into honor_f and the final integer value, then verify that PvP rank honor retains the custom adjustment without changing unrelated behavior.

Written by the indexing model from the issue text.

Description

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

Dominant language
C++
Stars
83
Forks
58
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TrinityCore/TrinityCoreCustomChanges

All issues in TrinityCore/TrinityCoreCustomChanges

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.