From 80ac3d28d07f89698529236b05ca4657b77b20ca Mon Sep 17 00:00:00 2001 From: Mykhailo Budiakov Date: Sat, 26 Jul 2025 11:23:48 +0300 Subject: [PATCH] add targetProficiency to npc/unnatural actors --- module/actor/actor.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/module/actor/actor.js b/module/actor/actor.js index d9e0b10..239da08 100644 --- a/module/actor/actor.js +++ b/module/actor/actor.js @@ -120,7 +120,9 @@ export default class DeltaGreenActor extends Actor { system.health.protection = protection; - //console.log(actor); + for (const [_key, skill] of Object.entries(system.skills)) { + skill.targetProficiency = skill.proficiency; + } } /** @@ -148,7 +150,9 @@ export default class DeltaGreenActor extends Actor { system.health.protection = protection; - //console.log(actor); + for (const [_key, skill] of Object.entries(system.skills)) { + skill.targetProficiency = skill.proficiency; + } } /**