diff options
| author | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-04-07 23:56:35 +0200 |
| commit | 46f0674e237dd8fe97ba4f0769e18b4adfce841b (patch) | |
| tree | 4556d27751077c2ed37a445493ed93a4d08e981b /src/scripts/world | |
| parent | 2454c290b84e04bd0321ca94e0be8c8dc7eedbe8 (diff) | |
Code Style (game + scripts only):
">=" --> " >= " (when needed)
" >=" --> " >="
">= " --> ">= "
"<=" --> " <= " (when needed)
" <=" --> " <="
"<= " --> "<= "
" ==" --> " =="
"== " --> "== "
--HG--
branch : trunk
Diffstat (limited to 'src/scripts/world')
| -rw-r--r-- | src/scripts/world/npc_professions.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scripts/world/npc_professions.cpp b/src/scripts/world/npc_professions.cpp index 2fb9ca50d02..da84a6d842a 100644 --- a/src/scripts/world/npc_professions.cpp +++ b/src/scripts/world/npc_professions.cpp @@ -361,7 +361,7 @@ bool GossipHello_npc_prof_alchemy(Player* pPlayer, Creature* pCreature) uint32 eCreature = pCreature->GetEntry(); - if (pPlayer->HasSkill(SKILL_ALCHEMY) && pPlayer->GetBaseSkillValue(SKILL_ALCHEMY)>=350 && pPlayer->getLevel() > 67) + if (pPlayer->HasSkill(SKILL_ALCHEMY) && pPlayer->GetBaseSkillValue(SKILL_ALCHEMY) >= 350 && pPlayer->getLevel() > 67) { if (pPlayer->GetQuestRewardStatus(10899) || pPlayer->GetQuestRewardStatus(10902) || pPlayer->GetQuestRewardStatus(10897)) { @@ -548,13 +548,13 @@ bool GossipHello_npc_prof_blacksmith(Player* pPlayer, Creature* pCreature) uint32 eCreature = pCreature->GetEntry(); //WEAPONSMITH & ARMORSMITH - if (pPlayer->GetBaseSkillValue(SKILL_BLACKSMITHING)>=225) + if (pPlayer->GetBaseSkillValue(SKILL_BLACKSMITHING) >= 225) { switch (eCreature) { case 11145: //Myolor Sunderfury case 11176: //Krathok Moltenfist - if (!pPlayer->HasSpell(S_ARMOR) && !pPlayer->HasSpell(S_WEAPON) && pPlayer->GetReputationRank(REP_ARMOR) >= REP_FRIENDLY) + if (!pPlayer->HasSpell(S_ARMOR) && !pPlayer->HasSpell(S_WEAPON) && pPlayer->GetReputationRank(REP_ARMOR) >= REP_FRIENDLY) pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ARMOR_LEARN, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1); if (!pPlayer->HasSpell(S_WEAPON) && !pPlayer->HasSpell(S_ARMOR) && pPlayer->GetReputationRank(REP_WEAPON) >= REP_FRIENDLY) pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_WEAPON_LEARN, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 2); @@ -572,7 +572,7 @@ bool GossipHello_npc_prof_blacksmith(Player* pPlayer, Creature* pCreature) } } //WEAPONSMITH SPEC - if (pPlayer->HasSpell(S_WEAPON) && pPlayer->getLevel() > 49 && pPlayer->GetBaseSkillValue(SKILL_BLACKSMITHING)>=250) + if (pPlayer->HasSpell(S_WEAPON) && pPlayer->getLevel() > 49 && pPlayer->GetBaseSkillValue(SKILL_BLACKSMITHING) >= 250) { switch (eCreature) { @@ -958,7 +958,7 @@ bool GossipHello_npc_prof_leather(Player* pPlayer, Creature* pCreature) uint32 eCreature = pCreature->GetEntry(); - if (pPlayer->HasSkill(SKILL_LEATHERWORKING) && pPlayer->GetBaseSkillValue(SKILL_LEATHERWORKING)>=250 && pPlayer->getLevel() > 49) + if (pPlayer->HasSkill(SKILL_LEATHERWORKING) && pPlayer->GetBaseSkillValue(SKILL_LEATHERWORKING) >= 250 && pPlayer->getLevel() > 49) { switch (eCreature) { @@ -1102,7 +1102,7 @@ bool GossipHello_npc_prof_tailor(Player* pPlayer, Creature* pCreature) uint32 eCreature = pCreature->GetEntry(); //TAILORING SPEC - if (pPlayer->HasSkill(SKILL_TAILORING) && pPlayer->GetBaseSkillValue(SKILL_TAILORING)>=350 && pPlayer->getLevel() > 59) + if (pPlayer->HasSkill(SKILL_TAILORING) && pPlayer->GetBaseSkillValue(SKILL_TAILORING) >= 350 && pPlayer->getLevel() > 59) { if (pPlayer->GetQuestRewardStatus(10831) || pPlayer->GetQuestRewardStatus(10832) || pPlayer->GetQuestRewardStatus(10833)) { |
