mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Skills/Breakpoints
* display skill learning breakpoints for gathering skills * fixed mixed up mining-skinning and savanging-skinning filters for NPCs * defined some magic skill numbers
This commit is contained in:
@@ -2078,7 +2078,7 @@ class SpellList extends BaseType
|
||||
return $x;
|
||||
}
|
||||
|
||||
public function getColorsForCurrent()
|
||||
public function getColorsForCurrent() : array
|
||||
{
|
||||
$gry = $this->curTpl['skillLevelGrey'];
|
||||
$ylw = $this->curTpl['skillLevelYellow'];
|
||||
@@ -2094,7 +2094,7 @@ class SpellList extends BaseType
|
||||
if ($org >= $ylw || $org >= $grn || $org >= $gry)
|
||||
$org = 0;
|
||||
|
||||
return $gry > 1 ? [$org, $ylw, $grn, $gry] : null;
|
||||
return $gry > 1 ? [$org, $ylw, $grn, $gry] : [];
|
||||
}
|
||||
|
||||
public function getListviewData($addInfoMask = 0x0)
|
||||
|
||||
Reference in New Issue
Block a user