dice:: added Angry Dice

This commit is contained in:
Zeno Rogue
2021-06-01 13:07:55 +02:00
parent d7e2b491ac
commit 2973cada6d
8 changed files with 31 additions and 7 deletions
+6
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;