1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 10:17:56 +00:00

dice:: added Angry Dice

This commit is contained in:
Zeno Rogue
2021-05-29 15:45:37 +02:00
parent d7e2b491ac
commit 2973cada6d
8 changed files with 31 additions and 7 deletions

View File

@@ -394,6 +394,12 @@ EX void pushThumper(const movei& mi) {
addMessage(XLAT("The die is now happy, but won't reward you outside of the Land of Dice!"));
}
}
if(w == waHappyDie && dice::data[cto].happy() <= 0) {
cto->monst = moAngryDie;
cto->wall = waNone;
cto->stuntime = 5;
addMessage(XLAT("You have made a Happy Die angry!"));
}
}
else
cto->wall = w;