Fix positive spellcost%
This commit is contained in:
parent
fe4350f8ee
commit
a02cd0c794
2 changed files with 4 additions and 4 deletions
|
@ -22,11 +22,11 @@ function expandItem(item, powders){
|
|||
let val = (item[id] || 0);
|
||||
if(val > 0){ // positive rolled IDs
|
||||
if (reversedIDs.includes(id)) {
|
||||
maxRolls.set(id,idRound(val*1.3));
|
||||
minRolls.set(id,idRound(val*0.3));
|
||||
maxRolls.set(id,idRound(val*0.3));
|
||||
minRolls.set(id,idRound(val*1.3));
|
||||
} else {
|
||||
minRolls.set(id,idRound(val*0.3));
|
||||
maxRolls.set(id,idRound(val*1.3));
|
||||
minRolls.set(id,idRound(val*0.3));
|
||||
}
|
||||
}else if(val < 0){ //negative rolled IDs
|
||||
if (reversedIDs.includes(id)) {
|
||||
|
|
2
test.js
2
test.js
|
@ -11,7 +11,7 @@ console.log(url_tag);
|
|||
* END testing section
|
||||
*/
|
||||
|
||||
const BUILD_VERSION = "6.8";
|
||||
const BUILD_VERSION = "6.8.1";
|
||||
|
||||
document.getElementById("header").textContent = "WynnBuilder version "+BUILD_VERSION+" (db version "+DB_VERSION+")";
|
||||
|
||||
|
|
Loading…
Reference in a new issue