rename BOT_SPELL_TYPE functions

This commit is contained in:
nytmyr
2024-12-01 23:33:21 -06:00
parent 3034bd5762
commit a22502a13d
7 changed files with 28 additions and 28 deletions
+4 -4
View File
@@ -9631,7 +9631,7 @@ uint16 Mob::GetUltimateSpellDelay(uint16 spellType, Mob* tar) {
return tar->GetOwner()->GetSpellDelay(GetPetSpellType(spellType));
}
if (BOT_SPELL_TYPES_OTHER_BENEFICIAL(spellType) && tar->IsOfClientBot()) {
if (IsBotSpellTypeOtherBeneficial(spellType) && tar->IsOfClientBot()) {
return tar->GetSpellDelay(spellType);
}
@@ -9647,7 +9647,7 @@ bool Mob::GetUltimateSpellDelayCheck(uint16 spellType, Mob* tar) {
return tar->GetOwner()->SpellTypeRecastCheck(GetPetSpellType(spellType));
}
if (BOT_SPELL_TYPES_OTHER_BENEFICIAL(spellType) && tar->IsOfClientBot()) {
if (IsBotSpellTypeOtherBeneficial(spellType) && tar->IsOfClientBot()) {
return tar->SpellTypeRecastCheck(spellType);
}
@@ -9663,7 +9663,7 @@ uint8 Mob::GetUltimateSpellMinThreshold(uint16 spellType, Mob* tar) {
return tar->GetOwner()->GetSpellMinThreshold(GetPetSpellType(spellType));
}
if (BOT_SPELL_TYPES_OTHER_BENEFICIAL(spellType) && tar->IsOfClientBot()) {
if (IsBotSpellTypeOtherBeneficial(spellType) && tar->IsOfClientBot()) {
return tar->GetSpellMinThreshold(spellType);
}
@@ -9679,7 +9679,7 @@ uint8 Mob::GetUltimateSpellMaxThreshold(uint16 spellType, Mob* tar) {
return tar->GetOwner()->GetSpellMaxThreshold(GetPetSpellType(spellType));
}
if (BOT_SPELL_TYPES_OTHER_BENEFICIAL(spellType) && tar->IsOfClientBot()) {
if (IsBotSpellTypeOtherBeneficial(spellType) && tar->IsOfClientBot()) {
return tar->GetSpellMaxThreshold(spellType);
}