Display major IDs
This commit is contained in:
parent
7d25aa28e5
commit
0a136a0c03
1 changed files with 8 additions and 3 deletions
11
display.js
11
display.js
|
@ -497,12 +497,12 @@ function displayExpandedItem(item, parent_id){
|
|||
"eSteal",
|
||||
"gXp", "gSpd",
|
||||
"#ldiv",
|
||||
"!elemental",
|
||||
"majorIds",
|
||||
"slots",
|
||||
"!elemental",
|
||||
"set",
|
||||
"quest",
|
||||
"restrict"];
|
||||
"restrict"
|
||||
];
|
||||
|
||||
// Clear the parent div.
|
||||
setHTML(parent_id, "");
|
||||
|
@ -561,6 +561,11 @@ function displayExpandedItem(item, parent_id){
|
|||
powderSuffix.textContent = "]";
|
||||
p_elem.appendChild(powderSuffix);
|
||||
active_elem.appendChild(p_elem);
|
||||
} else if (id === "majorIds") {
|
||||
let p_elem = document.createElement("p");
|
||||
p_elem.classList.add("itemp");
|
||||
p_elem.textContent = "Major IDs: " + item.get(id).toString();
|
||||
active_elem.appendChild(p_elem);
|
||||
} else {
|
||||
let p_elem;
|
||||
if ( !(item.get("tier") === "Crafted" && item.get("category") === "armor" && id === "hp") && (!skp_order.includes(id)) || (skp_order.includes(id) && item.get("tier") !== "Crafted" && active_elem.nodeName === "DIV") ) { //skp warp
|
||||
|
|
Loading…
Reference in a new issue