Core/Misc: Fix spelling typo
This commit is contained in:
@@ -156,7 +156,7 @@ struct CreatureTemplate
|
||||
else if (type_flags & CREATURE_TYPEFLAGS_MININGLOOT)
|
||||
return SKILL_MINING;
|
||||
else if (type_flags & CREATURE_TYPEFLAGS_ENGINEERLOOT)
|
||||
return SKILL_ENGINERING;
|
||||
return SKILL_ENGINEERING;
|
||||
else
|
||||
return SKILL_SKINNING; // normal case
|
||||
}
|
||||
|
||||
@@ -2378,7 +2378,7 @@ enum QuestSort
|
||||
QUEST_SORT_ROGUE = 162,
|
||||
QUEST_SORT_ALCHEMY = 181,
|
||||
QUEST_SORT_LEATHERWORKING = 182,
|
||||
QUEST_SORT_ENGINERING = 201,
|
||||
QUEST_SORT_ENGINEERING = 201,
|
||||
QUEST_SORT_TREASURE_MAP = 221,
|
||||
QUEST_SORT_SUNKEN_TEMPLE_OLD = 241,
|
||||
QUEST_SORT_HUNTER = 261,
|
||||
@@ -2480,7 +2480,7 @@ enum SkillType
|
||||
SKILL_PET_IMP = 188,
|
||||
SKILL_PET_FELHUNTER = 189,
|
||||
SKILL_TAILORING = 197,
|
||||
SKILL_ENGINERING = 202,
|
||||
SKILL_ENGINEERING = 202,
|
||||
SKILL_PET_SPIDER = 203,
|
||||
SKILL_PET_VOIDWALKER = 204,
|
||||
SKILL_PET_SUCCUBUS = 205,
|
||||
@@ -2600,7 +2600,7 @@ inline uint32 SkillByQuestSort(int32 QuestSort)
|
||||
case QUEST_SORT_BLACKSMITHING: return SKILL_BLACKSMITHING;
|
||||
case QUEST_SORT_ALCHEMY: return SKILL_ALCHEMY;
|
||||
case QUEST_SORT_LEATHERWORKING: return SKILL_LEATHERWORKING;
|
||||
case QUEST_SORT_ENGINERING: return SKILL_ENGINERING;
|
||||
case QUEST_SORT_ENGINEERING: return SKILL_ENGINEERING;
|
||||
case QUEST_SORT_TAILORING: return SKILL_TAILORING;
|
||||
case QUEST_SORT_COOKING: return SKILL_COOKING;
|
||||
case QUEST_SORT_FIRST_AID: return SKILL_FIRST_AID;
|
||||
|
||||
@@ -7068,8 +7068,8 @@ void Spell::SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const*
|
||||
// level of pet summoned using engineering item based at engineering skill level
|
||||
if (m_CastItem && caster->GetTypeId() == TYPEID_PLAYER)
|
||||
if (ItemTemplate const* proto = m_CastItem->GetTemplate())
|
||||
if (proto->RequiredSkill == SKILL_ENGINERING)
|
||||
if (uint16 skill202 = caster->ToPlayer()->GetSkillValue(SKILL_ENGINERING))
|
||||
if (proto->RequiredSkill == SKILL_ENGINEERING)
|
||||
if (uint16 skill202 = caster->ToPlayer()->GetSkillValue(SKILL_ENGINEERING))
|
||||
level = skill202 / 5;
|
||||
|
||||
//float radius = GetSpellRadiusForFriend(sSpellRadiusStore.LookupEntry(m_spellInfo->EffectRadiusIndex[i]));
|
||||
|
||||
@@ -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