Core/Misc: Fix spelling typo
This commit is contained in:
@@ -165,7 +165,7 @@ public:
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* /*pGO*/)
|
||||
{
|
||||
if (player->HasSkill(SKILL_ENGINERING) && player->GetBaseSkillValue(SKILL_ENGINERING) >= 300 && !player->HasSpell(22704))
|
||||
if (player->HasSkill(SKILL_ENGINEERING) && player->GetBaseSkillValue(SKILL_ENGINEERING) >= 300 && !player->HasSpell(22704))
|
||||
{
|
||||
player->CastSpell(player, 22864, false);
|
||||
}
|
||||
|
||||
@@ -774,7 +774,7 @@ public:
|
||||
{
|
||||
bool res = false;
|
||||
npcTextId = textId;
|
||||
if (player->GetBaseSkillValue(SKILL_ENGINERING) >= skillValue && player->HasSpell(reqSpellId))
|
||||
if (player->GetBaseSkillValue(SKILL_ENGINEERING) >= skillValue && player->HasSpell(reqSpellId))
|
||||
{
|
||||
if (!player->HasSpell(spellId))
|
||||
res = true;
|
||||
@@ -790,7 +790,7 @@ public:
|
||||
std::string gossipItem;
|
||||
bool canLearn = false;
|
||||
|
||||
if (player->HasSkill(SKILL_ENGINERING))
|
||||
if (player->HasSkill(SKILL_ENGINEERING))
|
||||
{
|
||||
switch (creature->GetEntry())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user