From 3632c99f94b762da6c069da10f830f63017dd1c8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 22 Jul 2021 17:47:49 -0400 Subject: Fixed issue with edit command on a creature --- src/cmd_query.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cmd_query.cc') diff --git a/src/cmd_query.cc b/src/cmd_query.cc index 7d4e6d6..deff049 100644 --- a/src/cmd_query.cc +++ b/src/cmd_query.cc @@ -26,6 +26,9 @@ namespace cmd { text << name << " " << type << ": " << rolled << " (d20) + " << bonus << " (" << name << " " << type << " bonus) = " << rolled + bonus << std::endl; }; // Search through skills, saves, and attacks to roll + if(rollName == "init" or rollName == "initiative") { + printResults("Initiative", "check", rolled, c->getInitiative()); + } rules::Skill skill = rules::tryGetAbilityOrSkill(rollName); rules::Ability ability = rules::tryGetAbilityOrSkill(rollName); if(skill) { -- cgit v1.2.3