mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
fixed wrong display of prize Orb spawn rates
This commit is contained in:
parent
43d8cd3b80
commit
0ace8d9805
5
help.cpp
5
help.cpp
@ -253,9 +253,12 @@ void describeOrb(string& help, const orbinfo& oi) {
|
|||||||
int t = items[tr] * landMultiplier(oi.l);
|
int t = items[tr] * landMultiplier(oi.l);
|
||||||
if(t >= 25)
|
if(t >= 25)
|
||||||
if(olr == olrPrize25 || olr == olrPrize3 || olr == olrGuest || olr == olrMonster || olr == olrAlways) {
|
if(olr == olrPrize25 || olr == olrPrize3 || olr == olrGuest || olr == olrMonster || olr == olrAlways) {
|
||||||
|
for(auto& oi1: orbinfos)
|
||||||
|
if((oi1.flags & orbgenflags::NATIVE) && oi1.orb == oi.orb) {
|
||||||
help += XLAT("\nSpawn rate (as prize Orb): %1%/%2\n",
|
help += XLAT("\nSpawn rate (as prize Orb): %1%/%2\n",
|
||||||
its(int(.5 + 100 * orbprizefun(t))),
|
its(int(.5 + 100 * orbprizefun(t))),
|
||||||
its(oi.gchance));
|
its(oi1.gchance));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(t >= 10)
|
if(t >= 10)
|
||||||
if(olr == olrHub) {
|
if(olr == olrHub) {
|
||||||
|
Loading…
Reference in New Issue
Block a user