MediaWiki:Common.js: Difference between revisions
Character affection table, expose current bonus
(StatCalc update) |
(Character affection table, expose current bonus) |
||
Line 473:
var affectionTableCounter = 0;
$( document ).ready(function() {
initAffectionTable();
Line 520 ⟶ 521:
html_out += '<b>' + stat_name + '</b>' + ' +' + stat_value + ', ';
});
affection_data[affectionTable.attr('id')].current = effective_bonus;
if (affectionTable.find(".affection-level input").val() !== level) affectionTable.find(".affection-level input").val(level);
|