Widget:PriceCalculator: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(bring me the REAL value)
(i said bring me the REAL value)
Line 55: Line 55:
         let item_value = sanitize(get_value('#item-value'));
         let item_value = sanitize(get_value('#item-value'));
         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.025;
         let attitude = sanitize(get_value('#attitude')) * 0.0025;
         let difficulty = document.querySelectorAll('input[name="difficulty"]:checked').value;
         let difficulty = document.querySelectorAll('input[name="difficulty"]:checked').value;
         difficulty = get_difficulty_mod(difficulty)
         difficulty = get_difficulty_mod(difficulty)

Revision as of 18:02, 4 October 2023