Example:
Code:/roll 0 [EFFECT] AC: 5; [D: 4] (S:AS)
Printable View
This didn't work either. When put into an action on an NPC sheet and then dropping that onto the Combat Tracker, the effect produced on the CT is just "[EFF: AC: 5 (D:4)" - the cycler state doesn't make it onto it. Just to be clear, this formatting is intended for the trait/action/bonus action/etc sections of an NPC sheet and not intended to just be dropped into the chat?
I can't reproduce this issue, but I'm not exactly using the most up-to-date version of BCE. Both using "/roll 0 [EFFECT] AC: 5; [D: 4] (S:AS)" and putting "[EFFECT] AC: 5; [D: 4] (S:AS)" in a NPC record correctly add the effect "AC: 5" with a duration of 4. Try replacing (S:AS) with [AS] and see if that works for you.
I can confirm
It looks like this
Attachment 58476
It should look like this
Attachment 58477
I've updated the extension to implement suggested changes by rhagelstrom.
That seemed to fix the cycler issue! I do notice that if I have a duration in the effect, it's adding +1 round to it now. For example, "RESIST: all; [D:1]" is producing an effect with a duration of 2 rounds, [D:5] is producing one with 6 rounds, etc. Is this intentional?
The duration issue happens when effects are added from the NPC sheets as per this extension, so I presume it has something to do with this extension's update. I'll play around and see if I can reproduce it without this extension and get back to you guys.
EDIT: After some testing, it only happens on effects applied using the "[EFFECT] etc; etc" format on NPC records, so I still presume it's this extension.
SECOND EDIT: It's happening sometimes and not other times. It's probably something on my end.
THIRD AND FINAL EDIT: It's working as intended. I'm just dumb.