1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-30 20:41:24 +00:00

named Knights

This commit is contained in:
Zeno Rogue
2020-03-06 15:17:25 +01:00
parent fcbb65b27e
commit 362489d629
3 changed files with 36 additions and 1 deletions

View File

@@ -888,8 +888,11 @@ EX void describeMouseover() {
if(isReptile(c->wall))
out += " [" + turnstring((unsigned char) c->wparam) + "]";
if(c->monst == moKnight)
out += XLAT(", %1 the Knight", camelot::knight_name(c));
if(c->monst) {
else if(c->monst) {
out += ", "; out += XLAT1(minf[c->monst].name);
if(hasHitpoints(c->monst))
out += " (" + its(c->hitpoints)+" HP)";