Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Maximum ability/macro character?

Is there some kind of maximum character a macro/ability can have? Why I'm asking is because I'm playing in pathfinder campaign, starting to reach the later levels in the game, and reaching maximum number of attacks without a problem. The current macro I'm testing this with is this macro. Attacks(Hit|Dmg)  **1st** = [[1d20cs>15+@{Orion|WarhammerHit}+?{Bonus?|0}]](![[1d20+@{Orion|WarhammerHit}+@{Orion|CritBon}-2+?{Bonus?|0}]]!)|[[?{Die|1d8}+@{Orion|WarhammerDMG}+(?{Challenge?|0}*(@{Orion|Progression}+6))+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1})]]![[?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1})+?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1})]]! **2nd** = [[(1d20cs>15+@{Orion|WarhammerHit}+?{Bonus?|0}-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1)-5)*?{Full attack?|1}]](![[(1d20+(@{Orion|WarhammerHit}+@{Orion|CritBon}-2+?{Bonus?|0})-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1)-5)*?{Full attack?|1}]]!)|[[(?{Die|1d8}+@{Orion|WarhammerDMG}+(?{Challenge?|0}*(@{Orion|Progression}+6))+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Full attack?|1}]]![[(?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1})+?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Full attack?|1}]]! **3nd** = [[(1d20cs>15+@{Orion|WarhammerHit}+?{Bonus?|0}-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1)-10)*?{Full attack?|1}]](![[(1d20+(@{Orion|WarhammerHit}+@{Orion|CritBon}-2+?{Bonus?|0})-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1)-10)*?{Full attack?|1}]]!)|[[(?{Die|1d8}+@{Orion|WarhammerDMG}+(?{Challenge?|0}*(@{Orion|Progression}+6))+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Full attack?|1}]]![[(?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1})+?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Full attack?|1}]]! **4nd** = [[(1d20cs>15+@{Orion|WarhammerHit}+?{Bonus?|0}-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1)-15)*?{Full attack?|1}]](![[(1d20+(@{Orion|WarhammerHit}+@{Orion|CritBon}-2+?{Bonus?|0})-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1)-15)*?{Full attack?|1}]]!)|[[(?{Die|1d8}+@{Orion|WarhammerDMG}+(?{Challenge?|0}*(@{Orion|Progression}+6))+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Full attack?|1}]]![[(?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1})+?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Full attack?|1}]]! **Haste** = [[((1d20cs>15+(@{Orion|WarhammerHit}+?{Bonus?|0})-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1))*?{Haste?|1})*?{Full attack?|1}]](![[((1d20+(@{Orion|WarhammerHit}+@{Orion|CritBon}+?{Bonus?|0})-?{Power Attack?|0}*floor((@{Orion|Progression}/4)+1))*?{Haste?|1})*?{Full attack?|1}]]!)|[[((?{Die|1d8}+@{Orion|WarhammerDMG}+(?{Challenge?|0}*(@{Orion|Progression}+6))+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Haste?|1})*?{Full attack?|1}]]![[((?{Die|1d8}+@{Orion|WarhammerDMG}+?{Challenge?|0}*(@{Orion|Progression}+6)+?{DMGBonus?|0}+?{Power Attack?|0}*floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}+?{Die|1d8}+@{Orion|WarhammerDMG}+(?{Challenge?|0}*(@{Orion|Progression}+6))+?{DMGBonus?|0}+?{Power Attack?|0}*(floor(floor((@{Orion|Progression}/4)+1)*2)*?{PowerMod|1.5|1}))*?{Haste?|1})*?{Full attack?|1}]]! **Note** = !XX! critical.  **Weapon** = Warhammer(Blunt). It works as long as I don't include the last attack roll, **Haste**, so as previous, is there some kind of maximum character limit for macros or abilities? Or is there something else at work here that doesn't allow me to use the full macro?
1459033267

Edited 1459033319
Silvyre
Forum Champion
A maximum of 100 Roll Queries can be sent to the Text Chat at once. Any more will fail to parse (which will break inline rolls).
Thanks, for the answers. That explains a lot, so I reached the maximum roll queries with the macro/ability. Is there some way to reduce the amount that I would require for this macro, then? E.g. calling a query in an attribute.
1459090113
Silvyre
Forum Champion
I noticed you list your modifiers twice in your ![[critical sections]]! You would shave off at least 20 Queries if you instead used a *2 multiplier. The above would solve your problem, but in case you decide to expand your macro, you could additionally afford to remove ?{Full Attack} and ?{Haste}  (ignoring the extra lines) to save another ~20 Queries. Further down the road of optimization, there are a few routes you could take (both unfortunately requiring heavy usage of HTML entity character replacements). API Command Buttons These would be used in a special way that does not require access to the API. I would probably remove all of the damage/crit sections from the macro and use one to roll damage, instead. e.g. [Damage](!
 Damage = [[ 1d8 + 2 ]](![[ 2d8 + 4 ]]!) ) Advanced Roll Queries You could adapt this Roll Query (which is pretty much identical in function to the ideal Roll Query for your situation). If the Creator of your game is/becomes a Pro subscriber, you would have access to API Scripts. e.g. PowerCards could be used to conditionally hide unused lines.
You just gave me an idea. I'm going to try get the old marco to work that you posted to me a while back. If that doesn't work i will try Api commands buttons. Our creator wishes that he was a pro subscriber, but isn't
So finally i'm done. Did some modular calculations to not increase the number of querries and got this. &{template:pf_spell} ?{Action| Standard, {{name=Standard Attack (Hit **|** Dmg)}} {{**Attack** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?|0}) ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?|No, 0|Yes, 1} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?|0} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})[Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} | Full, {{name=Full Attack (Hit **|** Dmg)}} {{**1st** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?|0}) ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?|No, 0|Yes, 1} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?|0} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})[Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**2nd** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 5 ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 5 ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**3rd** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 10 ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 10 ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**4th** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 15 ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 15 ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}}| Full (Haste), {{name=Full Attack + Haste (Hit **|** Dmg)}} {{**1st** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?|0}) ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?|No, 0|Yes, 1} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?|0} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})[Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**2nd** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 5 ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 5 ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**3rd** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 10 ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 10 ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**4th** = [[ 1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 15 ]] (![[ 1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty] - 15 ]]!) **|** [[ 1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus]) ]] + ![[ 2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus] ]]!}} {{**5th** = [[ (1d20 + (@{Orion|WarhammerHit} + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty]) [Haste Attack] ]] (![[ (1d20 + (@{Orion|WarhammerHit} + @{Orion|CritBon} - 2 + ?{Bonus?}) - (ceil((?{Power Attack?}%1.7)/2)*@{Orion|PowerPen}) [Power Attack Penalty]) [Haste Attack] ]]!) **|** [[ (1d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}}) [Power Attack Bonus])) [Haste Attack] ]] + ![[ (2d8 + (@{Orion|WarhammerDMG} + (?{Challenge?} * @{Orion|Challange}) [Challenge] + ?{DMGBonus?} [Bonus] + (?{Power Attack?|No, 0|Yes 2h, @{Orion|PowerBonusTwoHand}|Yes 1h, @{Orion|PowerBonus}})) * 2 [Power Attack Bonus]) [Haste Attack] ]]!}} } {{**Note** = !xx! crit.}} {{**Weapon** = Warhammer (Blunt)}} PowerPen floor((@{Orion|Progression}/4)+1) PowerBonusTwoHand (floor(floor((@{Orion|Progression}/4)+1)*2)*1.5) PowerBonus floor(floor((@{Orion|Progression}/4)+1)*2) Challange (@{Orion|Progression}+6) Also works with other weapons that I just tested. Thanks for the link to your old post with the macro. Only thing missing in the macro is choosing the die . But I will just create another macro with the appropriative die.
1459115546
Silvyre
Forum Champion
Awesome!