[Shadowrun5thA] fix skillattr sheetworker
This commit is contained in:
@@ -12984,6 +12984,16 @@ for (const index in skillIndices) { // select each item in skillList as const sk
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
on(`change:skillattr${index}`, function(eventInfo) {
|
||||
getAttrs([`skillattr${index}`], function() {
|
||||
setAttrs({
|
||||
[`skillattr_name${index}`]: `${eventInfo.newValue}_name}`,
|
||||
[`skillattr_value${index}`]: `${eventInfo.newValue}_total}`
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
on("change:repeating_knowledge:knowledgeattr", function() {
|
||||
|
||||
Reference in New Issue
Block a user