forked from public/foundryvtt-reve-de-dragon
Increase support
This commit is contained in:
17
module/rdd-utility.js
Normal file
17
module/rdd-utility.js
Normal file
@ -0,0 +1,17 @@
|
||||
/* 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user