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:
parent
b1819ac2f3
commit
27efc6a2dc
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue