[Cleanup] "equipped" not "equiped", "dual" not "duel". (#3149)

* [Cleanup] "equipped" not "equiped", "dual" not "duel".

# Notes
- These are spelled incorrectly.

* Update spdat.h

* Formatting further.

* Update api_service.cpp
This commit is contained in:
Alex King
2023-03-27 17:55:37 -04:00
committed by GitHub
parent 99f8e6cef5
commit 26c267db1b
15 changed files with 293 additions and 296 deletions
+7 -7
View File
@@ -145,10 +145,10 @@ int Mob::CalcRecommendedLevelBonus(uint8 current_level, uint8 recommended_level,
void Mob::CalcItemBonuses(StatBonuses* b) {
ClearItemFactionBonuses();
SetShieldEquiped(false);
SetTwoHandBluntEquiped(false);
SetShieldEquipped(false);
SetTwoHandBluntEquipped(false);
SetTwoHanderEquipped(false);
SetDuelWeaponsEquiped(false);
SetDualWeaponsEquipped(false);
int16 i;
@@ -178,13 +178,13 @@ void Mob::CalcItemBonuses(StatBonuses* b) {
item->ItemType == EQ::item::ItemTypeShield &&
i == EQ::invslot::slotSecondary
) {
SetShieldEquiped(true);
SetShieldEquipped(true);
} else if (
item &&
item->ItemType == EQ::item::ItemType2HBlunt &&
i == EQ::invslot::slotPrimary
) {
SetTwoHandBluntEquiped(true);
SetTwoHandBluntEquipped(true);
SetTwoHanderEquipped(true);
} else if (
item &&
@@ -196,7 +196,7 @@ void Mob::CalcItemBonuses(StatBonuses* b) {
}
if (CanThisClassDualWield()) {
SetDuelWeaponsEquiped(true);
SetDualWeaponsEquipped(true);
}
if (IsOfClientBot()) {
@@ -5864,4 +5864,4 @@ float Mob::CheckHeroicBonusesDataBuckets(std::string bucket_name)
}
return Strings::ToFloat(bucket_value);
}
}