mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
Add missing 'cannot attack' messages
This commit is contained in:
parent
4799f7c5f7
commit
71088e9a1c
@ -785,6 +785,12 @@ void pcmove::tell_why_cannot_attack() {
|
||||
addMessage(XLAT("You can only push this die if the highest number would be on the top!"));
|
||||
else if(c2->monst == moAngryDie)
|
||||
addMessage(XLAT("This die is really angry at you!"));
|
||||
else if((attackflags & AF_WEAK) && isIvy(c2))
|
||||
addMessage(XLAT("You are too weakened to attack %the1!", c2->monst));
|
||||
else if(isWorm(cwt.at->monst) && isWorm(c2->monst) && wormhead(cwt.at) == wormhead(c2) && cwt.at->monst != moTentacleGhost && c2->monst != moTentacleGhost)
|
||||
addMessage(XLAT("You cannot attack your own mount!"));
|
||||
else if(checkOrb(c2->monst, itOrbShield))
|
||||
addMessage(XLAT("A magical shield protects %the1!", c2->monst));
|
||||
else
|
||||
addMessage(XLAT("For some reason... cannot attack!"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user