macros icon indicating copy to clipboard operation
macros copied to clipboard

[Enhancement] All tokens passive perception

Open CaosFR opened this issue 2 years ago • 0 comments

Hi,

Thanks for this usefull macro. May it's possible to improve it ? I would like to display one entity of same NPC token (based on the exactely same name) on the output. For exemple if I have 5 tokens "gobelin", I dont need to know 5 passive perception, only one is needed. If I create a stronger gobelin i rename it.

Something like that maybe :

let npcArrayUnique = [...new Set(npcArray)];

Thanks.

NB : I'm on the latest v9

CaosFR avatar Sep 23 '22 12:09 CaosFR