1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-28 22:10:40 +00:00

fixed the Crossroads in PTM

This commit is contained in:
Zeno Rogue 2017-10-14 09:58:59 +02:00
parent f6de1ed84b
commit f28dc13ee1

View File

@ -348,11 +348,13 @@ bool hellUnlocked() {
} }
ld orbprizefun(int tr) { ld orbprizefun(int tr) {
if(tactic::on) return 1;
if(tr < 10) return 0; if(tr < 10) return 0;
return .6 + .4 * log(tr/25.) / log(2); return .6 + .4 * log(tr/25.) / log(2);
} }
ld orbcrossfun(int tr) { ld orbcrossfun(int tr) {
if(tactic::on) return 1;
if(tr < 10) return 0; if(tr < 10) return 0;
if(tr > 25) return 1; if(tr > 25) return 1;
return (tr*2 + 50) / 100.; return (tr*2 + 50) / 100.;