fix(Core/Skills): Remove wrong skill increase for Inscription (#24173)
Co-authored-by: sudlud <sudlud@users.noreply.github.com>
This commit is contained in:
@@ -184,12 +184,7 @@ uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (item_iter->chance > roll)
|
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);
|
|
||||||
return item_iter->spellId;
|
return item_iter->spellId;
|
||||||
}
|
|
||||||
|
|
||||||
roll -= item_iter->chance;
|
roll -= item_iter->chance;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user