Skills/Requirements

* fix requirements  display for low level skinning
 * display fishing skill requirements on zone detail page in fishing tab
This commit is contained in:
Sarjuuk
2023-08-15 21:19:31 +02:00
parent 4d6fb4975e
commit cc594e3415
9 changed files with 28 additions and 3 deletions

View File

@@ -742,7 +742,7 @@ class NpcPage extends GenericPage
if (!empty($sf['note']))
$tabData['note'] = $sf['note'];
else if ($sf[0] == LOOT_SKINNING)
$tabData['note'] = '<b>'.Lang::formatSkillBreakpoints(Game::getBreakpointsForSkill($skinTab[2], $this->subject->getField('maxLevel') * 5), Lang::FMT_HTML).'</b>';
$tabData['note'] = '<b>'.Lang::formatSkillBreakpoints(Game::getBreakpointsForSkill($skinTab[2], $this->subject->getField('maxLevel')), Lang::FMT_HTML).'</b>';
if ($sf[4])
$tabData['hiddenCols'] = $sf[4];