Rename SpellHold, SpellDelay, SpellMinThreshold, SpellMaxThreshold, SpellRecastDelay to fit SpellType style naming

This commit is contained in:
nytmyr
2025-01-31 17:05:50 -06:00
parent fef8c623ff
commit 980aa65ecc
9 changed files with 177 additions and 150 deletions
+3 -3
View File
@@ -157,12 +157,12 @@ void bot_command_spell_holds(Client* c, const Seperator* sep)
"{} says, 'My [{}] spell hold is currently [{}].'",
my_bot->GetCleanName(),
Bot::GetSpellTypeNameByID(spell_type),
my_bot->GetSpellHold(spell_type) ? "enabled" : "disabled"
my_bot->GetSpellTypeHold(spell_type) ? "enabled" : "disabled"
).c_str()
);
}
else {
my_bot->SetSpellHold(spell_type, type_value);
my_bot->SetSpellTypeHold(spell_type, type_value);
++success_count;
}
}
@@ -174,7 +174,7 @@ void bot_command_spell_holds(Client* c, const Seperator* sep)
"{} says, 'My [{}] spell hold was [{}].'",
first_found->GetCleanName(),
Bot::GetSpellTypeNameByID(spell_type),
first_found->GetSpellHold(spell_type) ? "enabled" : "disabled"
first_found->GetSpellTypeHold(spell_type) ? "enabled" : "disabled"
).c_str()
);
}