corrected Endurance & Composure calculation, had been swapped incorrectly

This commit is contained in:
Anduh
2018-11-16 23:21:06 +02:00
parent f14107caa0
commit 29124a1dca
+3 -3
View File
@@ -4492,7 +4492,7 @@ Version 0.8.3 Beta
on("sheet:opened change:earth change:water", function() {
getAttrs(["earth", "water"], function(values) {
setAttrs({ foo_endurance: ((parseInt(values.earth)+parseInt(values.water))*2) });
setAttrs({ foo_endurance: ((parseInt(values.earth)+parseInt(values.fire))*2) });
});
});
@@ -4509,13 +4509,13 @@ Version 0.8.3 Beta
});
//<!-- Endurance Calculation Worker -->
//<!-- Composure Calculation Worker -->
on("sheet:opened change:earth change:fire", function() {
getAttrs(["earth", "fire"], function(values) {
setAttrs({ foo_composure: ((parseInt(values.earth)+parseInt(values.fire))*2) });
setAttrs({ foo_composure: ((parseInt(values.earth)+parseInt(values.water))*2) });
});
});