
I made this macro about 3 years ago, but then immediately stopped using Roll20 ( because the group moved entirely in person). But now we are moving back online, I'm I'm trying to pick this up again. There is a bit of code here that I just cannot find where I got it from. Nor can I figure out what some of it it does.
Here it is... I'll follow up with some questions.
[[[[[9 - {[[@{target|ac} - 0@{selected|repeating_npcaction_$0_attack_tohit}]],0}>4*(5) - {[[@{target|ac} - 0@{selected|repeating_npcaction_$0_attack_tohit}]],0}>6*(2) - {[[@{target|ac} - 0@{selected|repeating_npcaction_$0_attack_tohit}]],0}>8*(1)]]]]]
This was part of a macro I made to help me manage mob attacks. It was the first part of a "A out of B" hits on the character.
Heres what I don't recall. what does the "0@" do?
In fact, just the over all process I no longer get. Sad really, I remember it took me a day or two to figure this much out. Maybe I got the code from someone. Anyway, if someone can help me parse this it would be great.