mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 16:34:23 -05:00
Item preview upgrade
This commit is contained in:
@@ -192,7 +192,7 @@ class D2ItemDesc {
|
||||
$par = $params['par'];
|
||||
$min = (int) $params['min'];
|
||||
$v = $min;
|
||||
|
||||
|
||||
$max = (int) $params['max'];
|
||||
|
||||
if ($min == $max) {
|
||||
@@ -290,7 +290,7 @@ class D2ItemDesc {
|
||||
if ($params['descfunc'] == 15) {
|
||||
$sql = "SELECT skill FROM `skills` WHERE `Id`='$par'";
|
||||
$skill = PDO_FetchOne($sql);
|
||||
$this->str = sprintf($s1, $min, $max, $skill);
|
||||
$this->str = sprintf($s1, $min, $params['max'], $skill);
|
||||
}
|
||||
|
||||
if ($params['descfunc'] == 16) {
|
||||
@@ -329,7 +329,7 @@ class D2ItemDesc {
|
||||
$sql = "SELECT skill FROM `skills` WHERE `Id`='$par'";
|
||||
$skill = PDO_FetchOne($sql);
|
||||
$this->str = "+$min to Skill Charges Or Something";
|
||||
$this->str = sprintf("Level $max $skill ".$string,$min,$min);
|
||||
$this->str = sprintf("Level $max $skill " . $string, $min, $min);
|
||||
}
|
||||
|
||||
if ($params['descfunc'] == 25) {
|
||||
|
@@ -52,10 +52,13 @@
|
||||
<link rel="stylesheet" href="/res/font-awesome.min.css">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://bootswatch.com/4/sketchy/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/res/style.css">
|
||||
<link rel="stylesheet" href="/res/<?php echo $css ?>">
|
||||
<style>
|
||||
|
||||
a {
|
||||
color: #007bff;
|
||||
}
|
||||
</style>
|
||||
<script src="/res/jquery-3.6.0.min.js"></script>
|
||||
<script src="/res/bootstrap.bundle.min.js"></script>
|
||||
|
Reference in New Issue
Block a user