mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
converted all tabs to 4 spaces
This commit is contained in:
@@ -186,12 +186,12 @@ uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player)
|
||||
continue;
|
||||
|
||||
if (item_iter->chance > roll)
|
||||
{
|
||||
// Update skill, not Book of Glyph Mastery
|
||||
if (spellId != 64323)
|
||||
player->UpdateGatherSkill(SKILL_INSCRIPTION, player->GetPureSkillValue(SKILL_INSCRIPTION), item_iter->reqSkillValue);
|
||||
{
|
||||
// Update skill, not Book of Glyph Mastery
|
||||
if (spellId != 64323)
|
||||
player->UpdateGatherSkill(SKILL_INSCRIPTION, player->GetPureSkillValue(SKILL_INSCRIPTION), item_iter->reqSkillValue);
|
||||
return item_iter->spellId;
|
||||
}
|
||||
}
|
||||
|
||||
roll -= item_iter->chance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user