1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 21:37:18 +00:00

Merge pull request #209 from jruderman/reverse_winter

Reversing the Curse of Water now gives bonus Orb of Winter
This commit is contained in:
Zeno Rogue 2021-07-10 21:56:07 +02:00 committed by GitHub
commit b02aae0af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,7 +115,7 @@ EX void reduceOrbPowerAlways(eItem it) {
EX void reverse_curse(eItem curse, eItem orb, bool cancel) {
if(items[curse] && markOrb(itOrbPurity)) {
items[orb] += items[curse];
if(curse == itCurseWeakness) items[itOrbWinter] += items[curse];
if(curse == itCurseWater) items[itOrbWinter] += items[curse];
items[curse] = 0;
}
if(cancel && items[curse] && items[orb]) {