mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-13 19:00:35 +00:00
Merge pull request #205 from jruderman/attack_msgs
Add missing 'cannot attack' messages
This commit is contained in:
commit
4f30780871
@ -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