Widget:PriceCalculator: Difference between revisions
Jump to navigation
Jump to search
(i said bring me the REAL value) |
(perfection) |
||
Line 56: | Line 56: | ||
let persuasion_mod = sanitize(get_value('#persuasion-mod')) * 0.05; | let persuasion_mod = sanitize(get_value('#persuasion-mod')) * 0.05; | ||
let attitude = sanitize(get_value('#attitude')) * 0.0025; | let attitude = sanitize(get_value('#attitude')) * 0.0025; | ||
let difficulty = document. | let difficulty = document.querySelector('input[name="difficulty"]:checked').value; | ||
difficulty = get_difficulty_mod(difficulty) | difficulty = get_difficulty_mod(difficulty) | ||