Move getnames for categories and settings to mob, rename hptomed/manatomed

This commit is contained in:
nytmyr
2024-12-17 23:03:42 -06:00
parent 8377797523
commit ffd92017e0
7 changed files with 132 additions and 120 deletions
+3 -3
View File
@@ -141,12 +141,12 @@ void bot_command_sit_hp_percent(Client* c, const Seperator* sep)
fmt::format(
"{} says, 'I sit in combat whem at or below [{}%%] HP.'",
my_bot->GetCleanName(),
my_bot->GetHPWhenToMed()
my_bot->GetSitHPPct()
).c_str()
);
}
else {
my_bot->SetHPWhenToMed(typeValue);
my_bot->SetSitHPPct(typeValue);
++success_count;
}
}
@@ -157,7 +157,7 @@ void bot_command_sit_hp_percent(Client* c, const Seperator* sep)
fmt::format(
"{} says, 'I will now sit in combat whem at or below [{}%%] HP.'",
first_found->GetCleanName(),
first_found->GetHPWhenToMed()
first_found->GetSitHPPct()
).c_str()
);
}