mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-01 21:44:30 +00:00
Show dice type/value on mouseover
This commit is contained in:
1 parent
8c6aba5f6f
commit
362c6f673f
2 files changed
+13
No files matched your search
@@ -945,6 +945,9 @@ EX void describeMouseover() {
|
||||
|
||||
if(c->wall == waRose) out += " (" + its(7-rosephase) + ")";
|
||||
if(c->wall == waTerraWarrior) out += " (" + its(c->landparam) + ")";
|
||||
#if CAP_COMPLEX2
|
||||
if(isDie(c->wall)) out += " (" + dice::describe(c) + ")";
|
||||
#endif
|
||||
|
||||
if((c->wall == waBigTree || c->wall == waSmallTree) && c->land != laDryForest)
|
||||
help =
|
||||
@@ -972,6 +975,10 @@ EX void describeMouseover() {
|
||||
|
||||
else if(c->monst) {
|
||||
out += ", "; out += XLAT1(minf[c->monst].name);
|
||||
#if CAP_COMPLEX2
|
||||
if(isDie(c->monst))
|
||||
out += " (" + dice::describe(c) + ")";
|
||||
#endif
|
||||
if(hasHitpoints(c->monst))
|
||||
out += " (" + its(c->hitpoints)+" HP)";
|
||||
if(isMutantIvy(c))
|
||||
|
||||
Reference in new issue
Block a user