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:
6
game.cpp
6
game.cpp
@@ -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;
|
||||
|
Reference in New Issue
Block a user