Merge pull request #9519 from Stexinator/Shadowrun5thA_fix_change_skillattr
[Shadowrun5thA] fix skillattr sheetworker
This commit is contained in:
@@ -12987,6 +12987,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