1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

the checkmate rule now takes tortoise calming into account

This commit is contained in:
Zeno Rogue 2020-07-23 12:20:57 +02:00
parent 7e85f07458
commit 7a9f6fa830

View File

@ -939,6 +939,8 @@ bool pcmove::attack() {
plague_kills = 0;
if(good_tortoise) {
changes.ccell(c2);
c2->stuntime = 2;
changes.at_commit([c2] {
items[itBabyTortoise] += 4;
updateHi(itBabyTortoise, items[itBabyTortoise]);
@ -946,7 +948,6 @@ bool pcmove::attack() {
tortoise::babymap[c2] = tortoise::seekbits;
playSound(c2, playergender() ? "heal-princess" : "heal-prince");
addMessage(XLAT(playergender() == GEN_F ? "You are now a tortoise heroine!" : "You are now a tortoise hero!"));
c2->stuntime = 2;
achievement_collection(itBabyTortoise);
});
}