Misc/Typos

* fixed display of charges on GameObject Infobox
 * removed display of achievement points as cost from vendors
This commit is contained in:
Sarjuuk
2018-04-01 12:12:43 +02:00
parent 492b7cd3c4
commit d46a78b3cb
2 changed files with 2 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ class ObjectPage extends GenericPage
// lootinfo: [min, max, restock] // lootinfo: [min, max, restock]
if (($_ = $this->subject->getField('lootStack')) && $_[0]) if (($_ = $this->subject->getField('lootStack')) && $_[0])
{ {
$buff = Lang::item('charges').Lang::main('colon').$_[0]; $buff = Lang::spell('spellModOp', 4).Lang::main('colon').$_[0];
if ($_[0] < $_[1]) if ($_[0] < $_[1])
$buff .= Lang::game('valueDelim').$_[1]; $buff .= Lang::game('valueDelim').$_[1];

View File

@@ -7562,7 +7562,6 @@ Listview.extraCols = {
var side = null; var side = null;
var items = row.cost[2]; var items = row.cost[2];
var currency = row.cost[1]; var currency = row.cost[1];
var achievementPoints = 0;
if (row.side != null) { if (row.side != null) {
side = row.side; side = row.side;
@@ -7576,7 +7575,7 @@ Listview.extraCols = {
} }
} }
Listview.funcBox.appendMoney(td, money, side, items, currency, achievementPoints); Listview.funcBox.appendMoney(td, money, side, items, currency);
} }
}, },
sortFunc: function(a, b, col) { sortFunc: function(a, b, col) {