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_mana_percent(Client* c, const Seperator* sep)
fmt::format(
"{} says, 'I sit in combat whem at or below [{}%%] mana.'",
my_bot->GetCleanName(),
my_bot->GetManaWhenToMed()
my_bot->GetSitManaPct()
).c_str()
);
}
else {
my_bot->SetManaWhenToMed(typeValue);
my_bot->SetSitManaPct(typeValue);
++success_count;
}
}
@@ -157,7 +157,7 @@ void bot_command_sit_mana_percent(Client* c, const Seperator* sep)
fmt::format(
"{} says, 'I will now sit in combat whem at or below [{}%%] mana.'",
first_found->GetCleanName(),
first_found->GetManaWhenToMed()
first_found->GetSitManaPct()
).c_str()
);
}