This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
let skills = this.actor.itemTypes.skill.filter(i => i.name == "Language (Magick)" || i.name.includes("Channelling"))
|
||||
for(let skill of skills)
|
||||
{
|
||||
await skill.update({"system.modifier.value" : -1 * skill.system.total.value})
|
||||
}
|
||||
|
||||
this.script.notification("Modificateurs ajoutés aux compétences : " + skills.map(i => i.name).join(", "), "info", true);
|
||||
Reference in New Issue
Block a user