Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 1dd3c9d

Browse files
authored
Merge pull request #3 from rolnick/master
switch to new PLEX ID
2 parents ba942e5 + 6a29594 commit 1dd3c9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

init.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ static function show($page)
5555
$kill = new Kill($page->kll_external_id, true);
5656
}
5757

58-
$plex = new Item(29668);
58+
$plex = new Item(44992);
5959
// Loss = Total ISK / PLEX
60-
$loss_plex = $kill->calculateISKLoss() / intval($plex->getAttribute('price'));
60+
$loss_plex = $kill->calculateISKLoss() / intval($plex->getAttribute('price') * 500);
6161
$prices[] = self::_format($loss_plex, 3) . ' PLEX';
6262
if (!empty($plex_real['price']) && !empty($plex_real['currency'])) {
6363
$loss_money = $loss_plex * $plex_real['price'];

0 commit comments

Comments
 (0)