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:
parent
7e85f07458
commit
7a9f6fa830
@ -939,6 +939,8 @@ bool pcmove::attack() {
|
|||||||
plague_kills = 0;
|
plague_kills = 0;
|
||||||
|
|
||||||
if(good_tortoise) {
|
if(good_tortoise) {
|
||||||
|
changes.ccell(c2);
|
||||||
|
c2->stuntime = 2;
|
||||||
changes.at_commit([c2] {
|
changes.at_commit([c2] {
|
||||||
items[itBabyTortoise] += 4;
|
items[itBabyTortoise] += 4;
|
||||||
updateHi(itBabyTortoise, items[itBabyTortoise]);
|
updateHi(itBabyTortoise, items[itBabyTortoise]);
|
||||||
@ -946,7 +948,6 @@ bool pcmove::attack() {
|
|||||||
tortoise::babymap[c2] = tortoise::seekbits;
|
tortoise::babymap[c2] = tortoise::seekbits;
|
||||||
playSound(c2, playergender() ? "heal-princess" : "heal-prince");
|
playSound(c2, playergender() ? "heal-princess" : "heal-prince");
|
||||||
addMessage(XLAT(playergender() == GEN_F ? "You are now a tortoise heroine!" : "You are now a tortoise hero!"));
|
addMessage(XLAT(playergender() == GEN_F ? "You are now a tortoise heroine!" : "You are now a tortoise hero!"));
|
||||||
c2->stuntime = 2;
|
|
||||||
achievement_collection(itBabyTortoise);
|
achievement_collection(itBabyTortoise);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user