Core/DataStores: duc-taped build

This commit is contained in:
Ovahlord
2024-03-10 02:39:59 +01:00
parent 7f7792485d
commit d9ffc33724
33 changed files with 724 additions and 2124 deletions
@@ -2869,12 +2869,12 @@ void GameObject::Use(Unit* user)
if (!areaContentTuning)
break;
player->UpdateFishingSkill(areaContentTuning->ExpansionID);
player->UpdateFishingSkill(0);
// Send loot
int32 areaFishingLevel = sObjectMgr->GetFishingBaseSkillLevel(areaEntry);
uint32 playerFishingSkill = player->GetProfessionSkillForExp(SKILL_FISHING, areaContentTuning->ExpansionID);
uint32 playerFishingSkill = player->GetProfessionSkillForExp(SKILL_FISHING, 0);
int32 playerFishingLevel = player->GetSkillValue(playerFishingSkill);
int32 roll = irand(1, 100);