Decompile fn_05442 (RenewQuestOngoingInfo::GetHuntText)

Batch #18085 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_05442 RenewQuestOngoingInfo::GetHuntText: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, KWDev, bibinir
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-12 10:52:20 +00:00
commit 27efc6a2dc

View file

@ -359,10 +359,10 @@ std::string RenewQuestOngoingInfo::GetHuntText(int index) const {
if (this->m_huntMinLevel[index] >= 0 && this->m_huntMaxLevel[index] >= 0 && (minLevel != 0 || this->m_huntMaxLevel[index] != 0)) {
if (minLevel == 0) {
text = std::format("{} Lv.{}▼", name, maxLevel);
} else if (this->m_huntMaxLevel[index] != 0) {
text = std::format("{} Lv.{}~Lv.{}", name, minLevel, maxLevel);
} else {
} else if (this->m_huntMaxLevel[index] == 0) {
text = std::format("{} Lv.{}▲", name, minLevel);
} else {
text = std::format("{} Lv.{}~Lv.{}", name, minLevel, maxLevel);
}
} else {
text = name;