Reorder popups so stat changes are always asked,

This commit is contained in:
Melon-PieldeSapo
2025-01-21 14:30:52 +01:00
parent f499baf222
commit 0ed03ddd10
+9 -12
View File
@@ -469,20 +469,9 @@ export class DLActorGenerator extends FormApplication {
this._element.find(`input[name="system.stats.${key}.bonus"]`).prop("value", value);
}
});
/**
* Skills
* */
await this.applyClassSkills(this._element);
/**
/**
* Stats
*/
///try{
//let statsandsaves = JSON.parse(droppedObject.system.statsandsaves.replaceAll("<p>","").replaceAll("</p>","").replaceAll("<div>","").replaceAll("</div>","").replaceAll("&nbsp;",""));
//stats options
let list_option_stats_and_saves = droppedObject.system.selected_adjustment.choose_stat;
for(let i =0;i<list_option_stats_and_saves.length;i++){
@@ -508,6 +497,14 @@ export class DLActorGenerator extends FormApplication {
d.render(true);
}
}
/**
* Skills
* */
await this.applyClassSkills(this._element);
return;
}