foundryvtt-reve-de-dragon/module/rdd-utility.js

18 lines
291 B
JavaScript
Raw Normal View History

2020-05-22 22:37:02 +02:00
/* Common useful functions shared between objects */
export class RdDUtility {
static findCompetence(compList, compName)
{
for (const item of compList) {
if (item.name == compName) {
console.log("Found item !", item);
return item;
}
}
}
}