Sync to v7.2.0
This commit is contained in:
7
reference_scripts/RlhOAKfN0ghrrooR.js
Normal file
7
reference_scripts/RlhOAKfN0ghrrooR.js
Normal file
@ -0,0 +1,7 @@
|
||||
let holed = this.actor.appliedEffects.filter(e => e.name.includes("Holed"));
|
||||
|
||||
for (let effect of holed) {
|
||||
await effect.update({name: effect.name.replace(/\d+/, rating => parseInt(rating) * 2)});
|
||||
}
|
||||
|
||||
this.script.scriptNotification(`Holed Ratings of ${this.actor.name} have been doubled.`);
|
Reference in New Issue
Block a user