refactor(Core): Correct typo. (#19830)

Init.
This commit is contained in:
Benjamin Jackson
2024-08-31 16:38:03 -04:00
committed by GitHub
parent 83d623e559
commit f88812443d
9 changed files with 20 additions and 20 deletions

View File

@@ -118,7 +118,7 @@ public:
return true;
if (item->ItemId == 46017) // Val'anyr, Hammer of Ancient Kings - exception, too powerful
return false;
if (item->ItemLevel == 245 && item->Bonding == BIND_WHEN_EQUIPED) // this also includes items crafted from patterns obtained in ToC 10 norm/hc
if (item->ItemLevel == 245 && item->Bonding == BIND_WHEN_EQUIPPED) // this also includes items crafted from patterns obtained in ToC 10 norm/hc
return true;
if (validDedicatedInsanityItems.find(item->ItemId) != validDedicatedInsanityItems.end()) // list of items dropping from ToC 10 norm/hc and also items ilevel 245 buyable for emblems of triumph
return true;

View File

@@ -3284,7 +3284,7 @@ class spell_gen_summon_tournament_mount : public SpellScript
return ValidateSpellInfo({ SPELL_LANCE_EQUIPPED });
}
SpellCastResult CheckIfLanceEquiped()
SpellCastResult CheckIfLanceEquipped()
{
if (GetCaster()->IsInDisallowedMountForm())
GetCaster()->RemoveAurasByType(SPELL_AURA_MOD_SHAPESHIFT);
@@ -3300,7 +3300,7 @@ class spell_gen_summon_tournament_mount : public SpellScript
void Register() override
{
OnCheckCast += SpellCheckCastFn(spell_gen_summon_tournament_mount::CheckIfLanceEquiped);
OnCheckCast += SpellCheckCastFn(spell_gen_summon_tournament_mount::CheckIfLanceEquipped);
}
};