1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

the Hyperstone cheat now works correctly in OSM

This commit is contained in:
Zeno Rogue 2017-08-14 20:32:09 +02:00
parent ab6c66a2fa
commit 14012bf773

View File

@ -72,15 +72,16 @@ bool applyCheat(char u, cell *c = NULL) {
for(int t=1; t<ittypes; t++) for(int t=1; t<ittypes; t++)
if(t != itHyperstone && t != itBounty && itemclass(eItem(t)) == IC_TREASURE) { if(t != itHyperstone && t != itBounty && itemclass(eItem(t)) == IC_TREASURE) {
items[t] = 10; items[t] = inv::on ? 50 : 10;
} }
kills[moYeti] = 200; int qkills = inv::on ? 1000 : 200;
kills[moDesertman] = 200; kills[moYeti] = qkills;
kills[moRunDog] = 200; kills[moDesertman] = qkills;
kills[moZombie] = 200; kills[moRunDog] = qkills;
kills[moMonkey] = 200; kills[moZombie] = qkills;
kills[moCultist] = 200; kills[moMonkey] = qkills;
kills[moTroll] = 200; kills[moCultist] = qkills;
kills[moTroll] = qkills;
return true; return true;
} }
if(u == 'M') { if(u == 'M') {