switchmods fixed session vars, saved to db in d2config class. Need to test d2s editor with modifyBit() function. need to fix app.js uniqueitems editor required fields on misc/weapons/armor

This commit is contained in:
Hash Borgir
2022-05-24 00:16:01 -06:00
parent 16174f5efd
commit 6b4b0c564e
22 changed files with 405 additions and 10360 deletions

View File

@@ -434,10 +434,12 @@ class D2ItemDesc {
}
if ($params['descfunc'] == 16) {
$sql = "SELECT skill FROM `skills` WHERE `Id`='$par'";
$aura = PDO_FetchOne($sql);
if (!$max) {
$this->str = "Level $min $par Aura When Equipped ";
$this->str = "Level $min $aura Aura When Equipped ";
} else {
$this->str = "Level $min to $max $par Aura When Equipped ";
$this->str = "Level $min to $max $aura Aura When Equipped ";
}
}
@@ -570,7 +572,13 @@ class D2ItemDesc {
}
if ($params['descfunc'] == 16) {
$this->str = "Level [sLvl] [skill] Aura When Equipped ";
$sql = "SELECT skill FROM `skills` WHERE `Id`='$par'";
$aura = PDO_FetchOne($sql);
if (!$max) {
$this->str = "Level $min $aura Aura When Equipped ";
} else {
$this->str = "Level $min to $max $aura Aura When Equipped ";
}
}
if ($params['descfunc'] == 17) {