forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
5
reference_scripts/s6eZXfZkC1My6EXl.js
Normal file
5
reference_scripts/s6eZXfZkC1My6EXl.js
Normal file
@ -0,0 +1,5 @@
|
||||
let lore = this.effect.name.split(" ")[2].toLowerCase();
|
||||
if (args.item.type == "spell" && args.item.system.lore.value == lore)
|
||||
{
|
||||
args.item.system.cn.value -= 1
|
||||
}
|
Reference in New Issue
Block a user