mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-01 01:59:33 +00:00
Improve filtering + add apply_bonus parameters
This commit is contained in:
8
model.js
8
model.js
@@ -5,7 +5,7 @@ $('#tableType').val("minecraft:generic");
|
||||
$('#indentationSelect').val("2");
|
||||
|
||||
let indentation = 2;
|
||||
let luck_based = false;
|
||||
let luckBased = false;
|
||||
let table = {
|
||||
type: "minecraft:generic",
|
||||
pools: [
|
||||
@@ -21,8 +21,8 @@ let table = {
|
||||
]
|
||||
};
|
||||
let historyBuffer = 100;
|
||||
let history = [];
|
||||
let historyIndex = -1;
|
||||
let history = ['{}'];
|
||||
let historyIndex = 0;
|
||||
invalidated();
|
||||
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
@@ -82,7 +82,7 @@ function updateTableType() {
|
||||
}
|
||||
|
||||
function updateLuckBased() {
|
||||
luck_based = $('#luckBased').prop('checked');
|
||||
luckBased = $('#luckBased').prop('checked');
|
||||
invalidated();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user