mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
'that was easy' message no longer appears if you are actually fighting a group
This commit is contained in:
parent
9e32cb0254
commit
3a3453da2d
7
game.cpp
7
game.cpp
@ -2241,9 +2241,14 @@ bool attackMonster(cell *c, flagtype flags, eMonster killer) {
|
|||||||
if(tk == 0 && ntk > 0 && !tactic::on && !euclid && !sphere) {
|
if(tk == 0 && ntk > 0 && !tactic::on && !euclid && !sphere) {
|
||||||
if(notthateasy(m))
|
if(notthateasy(m))
|
||||||
addMessage(XLAT("Quite tough, for your first fight."));
|
addMessage(XLAT("Quite tough, for your first fight."));
|
||||||
else
|
else {
|
||||||
|
bool more = false;
|
||||||
|
forCellEx(c2, cwt.c) forCellEx(c3, c2)
|
||||||
|
if(c3->monst) more = true;
|
||||||
|
if(!more)
|
||||||
addMessage(XLAT("That was easy, but groups could be dangerous."));
|
addMessage(XLAT("That was easy, but groups could be dangerous."));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(tk < 10 && ntk >= 10 && !tactic::on && !euclid && !sphere && !inv::on)
|
if(tk < 10 && ntk >= 10 && !tactic::on && !euclid && !sphere && !inv::on)
|
||||||
addMessage(XLAT("Good to know that your fighting skills serve you well in this strange world."));
|
addMessage(XLAT("Good to know that your fighting skills serve you well in this strange world."));
|
||||||
|
Loading…
Reference in New Issue
Block a user