From fded4895c9ed262f6d8b9fe544a9ebf2c287ed18 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 26 May 2025 11:02:22 -0500 Subject: [PATCH] fix monster summon ability detail displaying % chance --- src/scenario/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenario/monster.cpp b/src/scenario/monster.cpp index 1c7af6db..decfa956 100644 --- a/src/scenario/monster.cpp +++ b/src/scenario/monster.cpp @@ -709,7 +709,7 @@ std::string uAbility::to_string(eMonstAbil key) const { } break; } - sout << " (" << summon.chance << "% chance)"; + sout << " (" << std::fixed << std::setprecision(1) << double(summon.chance) / 10 << "% chance)"; break; case eMonstAbilCat::RADIATE: sout << "Radiates ";