4 lines
166 B
JavaScript
4 lines
166 B
JavaScript
|
if (args.item.name == "Magic Resistance" && args.item.type == "trait")
|
||
|
{
|
||
|
args.item.system.specification.value = Number(args.item.system.specification.value) + 1
|
||
|
}
|