forked from public/foundryvtt-reve-de-dragon
Paramétrage des compendiums de recherche
This commit is contained in:
@ -99,8 +99,7 @@ export class Environnement {
|
||||
if (!milieux) {
|
||||
milieux = await this.milieux()
|
||||
}
|
||||
const frequence = item => item.getRarete(milieux)?.frequence ?? 0;
|
||||
return await this.table.buildTable(frequence, it => frequence(it) > 0 && filter(it));
|
||||
return await this.table.buildTable(it => it.getFrequence(), filter);
|
||||
}
|
||||
|
||||
async getElements(itemFrequence, filter) {
|
||||
|
Reference in New Issue
Block a user