1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 19:10:35 +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++)
if(t != itHyperstone && t != itBounty && itemclass(eItem(t)) == IC_TREASURE) {
items[t] = 10;
items[t] = inv::on ? 50 : 10;
}
kills[moYeti] = 200;
kills[moDesertman] = 200;
kills[moRunDog] = 200;
kills[moZombie] = 200;
kills[moMonkey] = 200;
kills[moCultist] = 200;
kills[moTroll] = 200;
int qkills = inv::on ? 1000 : 200;
kills[moYeti] = qkills;
kills[moDesertman] = qkills;
kills[moRunDog] = qkills;
kills[moZombie] = qkills;
kills[moMonkey] = qkills;
kills[moCultist] = qkills;
kills[moTroll] = qkills;
return true;
}
if(u == 'M') {