HOTFIX: Fix ophanim crash and reset crash

sorry for hotfixing but this is to demo git features..
This commit is contained in:
hppeng 2022-07-09 20:21:09 -07:00
parent bdb4792a53
commit 32854521de
3 changed files with 5 additions and 2 deletions

View file

@ -5376,6 +5376,7 @@ const atrees = {
"properties": {},
"effects": [{
"type": "add_spell_prop",
"base_spell": 3,
"target_part": "Per Melee (max)",
"hits": { "Per Orb": 1 }
}]
@ -5481,11 +5482,13 @@ const atrees = {
"effects": [
{
"type": "add_spell_prop",
"base_spell": 3,
"target_part": "Per Orb",
"multipliers": [-50, 0, -10, 0, 0, 0]
},
{
"type": "add_spell_prop",
"base_spell": 3,
"target_part": "Per Melee (max)",
"hits": { "Per Orb": 3 }
}

File diff suppressed because one or more lines are too long

View file

@ -773,7 +773,7 @@ function gen_slider_labeled({label_name, label_classlist = [], min = 0, max = 10
let slider = gen_slider(min, max, step, default_val, id, color, classlist, label);
//we set IDs here because the slider's id is potentially only meaningful after gen_slider() is called
label.id = slider.id + "-label";
label.id = slider.id + "_label";
slider_container.id = slider.id + "-container";
buf_col.append(slider, label);