mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- implemented factions basics (search, listview and details)
- added forgotten shared brick for tooltips
This commit is contained in:
@@ -316,7 +316,10 @@ class ItemList extends BaseType
|
||||
$data[$this->id]['reqfaction'] = $x;
|
||||
|
||||
if ($x = $this->curTpl['requiredFactionRank'])
|
||||
$data[$this->id]['reqrep'] = $x;
|
||||
{
|
||||
$data[$this->id]['reqrep'] = $x;
|
||||
$data[$this->id]['standing'] = $x; // used in /faction item-listing
|
||||
}
|
||||
|
||||
if ($x = $this->curTpl['slots'])
|
||||
$data[$this->id]['nslots'] = $x;
|
||||
@@ -1237,6 +1240,9 @@ class ItemList extends BaseType
|
||||
{
|
||||
$this->ssd[$this->id] = DB::Aowow()->selectRow("SELECT * FROM ?_scalingstatdistribution WHERE id = ?", $this->curTpl['scalingStatDistribution']);
|
||||
|
||||
if (!$this->ssd[$this->id])
|
||||
return;
|
||||
|
||||
// stats and ratings
|
||||
for ($i = 1; $i <= 10; $i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user