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

Macro doesn't appear

1438043031

Edited 1438043083
A bit confused about it... When I insert on a ability he does not appear in another ability that I created to test it appears. The macro: Name: Sword-katana {{Dano Katana= [[[[{(@{selected|Strength} + 3 + @{selected|bonussword_dmg}), 10}kl1]]d10!!k[[{2 + [[floor({(@{selected|Strength} + 3 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{2 + [[floor({(@{selected|Strength} + 3 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2) + ceil({(@{selected|Strength} + 3 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2) * floor(2 / 10)]] - 10, 0}k1 * 2]] + [[(@{selected|Strength} + 3 + @{selected|bonussword_dmg}) % 2 * (1 - floor(2 / 10)) * floor((@{selected|Strength} + 3 + @{selected|bonussword_dmg}) / 10) * 2]]]]]] R1 [[[[{(@{selected|Strength} + 4 + @{selected|bonussword_dmg}), 10}kl1]]d10!!k[[{2 + [[floor({(@{selected|Strength} + 4 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{2 + [[floor({(@{selected|Strength} + 4 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2) + ceil({(@{selected|Strength} + 4 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2) * floor(2 / 10)]] - 10, 0}k1 * 2]] + [[(@{selected|Strength} + 4 + @{selected|bonussword_dmg}) % 2 * (1 - floor(2 / 10)) * floor((@{selected|Strength} + 4 + @{selected|bonussword_dmg}) / 10) * 2]]]]]] R2 [[[[{(@{selected|Strength} + 5 + @{selected|bonussword_dmg}), 10}kl1]]d10!!k[[{2 + [[floor({(@{selected|Strength} + 5 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{2 + [[floor({(@{selected|Strength} + 5 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2) + ceil({(@{selected|Strength} + 5 + @{selected|bonussword_dmg}) - 10, 0}k1 / 2) * floor(2 / 10)]] - 10, 0}k1 * 2]] + [[(@{selected|Strength} + 5 + @{selected|bonussword_dmg}) % 2 * (1 - floor(2 / 10)) * floor((@{selected|Strength} + 5 + @{selected|bonussword_dmg}) / 10) * 2]]]]]]}} Appears on the ability: &{template:default} {{name= Katana}} #Sword-Katana #E3WTNADV Doesnt appear: &{template:default} {{name= Katana}} {{Ataque=[[[[{(@{rank_Kenjutsu} + @{Agility} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + [[floor({(@{rank_Kenjutsu} + @{Agility} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Kenjutsu} + @{Agility} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Kenjutsu} + @{Agility} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Kenjutsu} + @{Agility} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Kenjutsu} + @{Agility} - @{Fear}) / 10) * 2]]]]]] | [[[[{(@{rank_Kenjutsu} + @{Agility} +@{VP} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + @{VP} + [[floor({(@{rank_Kenjutsu} + @{Agility} + @{VP} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Kenjutsu} + @{Agility} + @{VP} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Kenjutsu} + @{Agility} + @{VP} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Kenjutsu} + @{Agility} + @{VP} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Kenjutsu} + @{Agility} + @{VP} - @{Fear}) / 10) * 2]]]]]]}} {{Ataque Total=[[[[{(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + @{fullatk_kept} + [[floor({(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Kenjutsu} + @{Agility} +@{fullatk_roll} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) / 10) * 2]]]]]] | [[[[{(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} +@{VP} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + @{fullatk_kept} + @{VP} + [[floor({(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Kenjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) / 10) * 2]]]]]] Kata Adiciona [[@{Fire}]]}} #Sword-Katana {{Fúria Matsu= Quando acertar Full Attack, o alvo sofre efeito de Fear e não pode se mover. Fase de reação alvo faz teste de Will vs dano sofrido}} {{* Rank 5= Desembainhar: Free Action}} {{Rank 7= Dano explode com 9 e 10}} #E3WTNADV Have some characteres limit? Thanks!
1438045080
The Aaron
Roll20 Production Team
API Scripter
Are you trying to embed a macro within the execution of a Roll Template? That does not work, regardless of character limit. See:&nbsp;<a href="https://wiki.roll20.net/Roll_Templates#Using_Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Templates#Using_Roll_Templates</a>
I'm sorry but I didn't understand well what does not work ... the Wound is a macro and it has worked (with the attack roll). As you see, I could put both, the weapon damage (#Sword-Katana) as the Wound (#E3WTNADV) in the first template, but when I put the attack roll, the damage&nbsp;disappears.. and the Wound appear weard.
in this case I had no problem. The macro: Name: Ninja-Shuriken {{Dano= [[[[{(@{selected|Strength} + 1 + @{selected|bonusninja_dmg}), 10}kl1]]d10!!k[[{1 + [[floor({(@{selected|Strength} + 1 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{1 + [[floor({(@{selected|Strength} + 1 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2) + ceil({(@{selected|Strength} + 1 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2) * floor(1 / 10)]] - 10, 0}k1 * 2]] + [[(@{selected|Strength} + 1 + @{selected|bonusninja_dmg}) % 2 * (1 - floor(1 / 10)) * floor((@{selected|Strength} + 1 + @{selected|bonusninja_dmg}) / 10) * 2]]]]]] R1 [[[[{(@{selected|Strength} + 2 + @{selected|bonusninja_dmg}), 10}kl1]]d10!!k[[{1 + [[floor({(@{selected|Strength} + 2 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{1 + [[floor({(@{selected|Strength} + 2 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2) + ceil({(@{selected|Strength} + 2 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2) * floor(1 / 10)]] - 10, 0}k1 * 2]] + [[(@{selected|Strength} + 2 + @{selected|bonusninja_dmg}) % 2 * (1 - floor(1 / 10)) * floor((@{selected|Strength} + 2 + @{selected|bonusninja_dmg}) / 10) * 2]]]]]] R2 [[[[{(@{selected|Strength} + 3 + @{selected|bonusninja_dmg}), 10}kl1]]d10!!k[[{1 + [[floor({(@{selected|Strength} + 3 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{1 + [[floor({(@{selected|Strength} + 3 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2) + ceil({(@{selected|Strength} + 3 + @{selected|bonusninja_dmg}) - 10, 0}k1 / 2) * floor(1 / 10)]] - 10, 0}k1 * 2]] + [[(@{selected|Strength} + 3 + @{selected|bonusninja_dmg}) % 2 * (1 - floor(1 / 10)) * floor((@{selected|Strength} + 3 + @{selected|bonusninja_dmg}) / 10) * 2]]]]]]}} {{Extra= Range 20ft. Dano não explode até ter Rank 5 de Ninjutsu}} The roll: &{template:default} {{name=Ninjutsu}} {{Ataque=[[[[{(@{rank_Ninjutsu} + @{Agility} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + [[floor({(@{rank_Ninjutsu} + @{Agility} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Ninjutsu} + @{Agility} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Ninjutsu} + @{Agility} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Ninjutsu} + @{Agility} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Ninjutsu} + @{Agility} - @{Fear}) / 10) * 2]]]]]] | [[[[{(@{rank_Ninjutsu} + @{Agility} +@{VP} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + @{VP} + [[floor({(@{rank_Ninjutsu} + @{Agility} + @{VP} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Ninjutsu} + @{Agility} + @{VP} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Ninjutsu} + @{Agility} + @{VP} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Ninjutsu} + @{Agility} + @{VP} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Ninjutsu} + @{Agility} + @{VP} - @{Fear}) / 10) * 2]]]]]]}} {{Ataque Total=[[[[{(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + @{fullatk_kept} + [[floor({(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Ninjutsu} + @{Agility} +@{fullatk_roll} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} - @{Fear}) / 10) * 2]]]]]] | [[[[{(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} +@{VP} - @{Fear}), 10}kl1]]d10!!k[[{@{Agility} + @{fullatk_kept} + @{VP} + [[floor({(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) - 10, 0}k1 / 2)]], 10}kl1]] + [[[[{@{Agility} + [[floor({(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) - 10, 0}k1 / 2) + ceil({(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) - 10, 0}k1 / 2) * floor(@{Agility} / 10)]] - 10, 0}k1 * 2]] + [[(@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) % 2 * (1 - floor(@{Agility} / 10)) * floor((@{rank_Ninjutsu} + @{Agility} + @{fullatk_roll} + @{VP} - @{Fear}) / 10) * 2]]]]]]}} #Ninja-Shuriken {{* Rank 3= Dano das armas ninjas aumenta em 1k0}} {{Rank 5= Dano das armas ninjas explodem no 10}} { {Wound= #E2WTN }}
1438051006
The Aaron
Roll20 Production Team
API Scripter
It looks like you're trying to embed a macro call within the confines of a Roll Template: &{template:default}{{name=test}} #Macro {{more=parameters}}{{to=template}} This does not work. &nbsp; Is that not what the problem you are having is?
Hmmmm my problem, and confusion is... im doing the same thing (i guess), that i did with the "Ninjutsu", with the "Katana", but Ninjutsu works and Katana nope.. =S Both with: &{template:default}{{name= test}} {{action= roll}} #Macro damage {{note= something}} {{wound penalty= #Macro }}
So.. it's to I'm understand that having worked was the exception? I created macros for the damage from each weapon, so theoretically I cannot use them with template?
1438127375
Silvyre
Forum Champion
Daniel N. said: Have some characteres limit? I suspect you have the correct intuition, here. While macros don't have character limits, it seems that two of your inline rolls (in conjunction) are overwhelming the server on some level. Individually, the inline rolls Ataque and Ataque Total have no issue executing. Together, however, they present an obstacle to the server. I hope this serves as a stepping stone for those more technically proficient to examine this issue further.
Yes Silvyre, the only explanation. Tried many combinations, and with a minor template the 2 macros appear without problem.