
Hi all,
First of all, I found it hard to search for this kind of Issue so I'm sorry if it was here before.
I created A Roll query, in the ability section of the Character sheet (5th Edition OGL by Roll20), which asks for the damage die of my Weapon. (I'm playing a Polearm Master with a quarterstaff, so the damage die for the same attack could be a d8, d6 or d4) My staff has a property, where I can deal additional damage when expanding charges, which I want to implement as a Ability command button.
The attack itself (with a d8 here) looks like this:
&{template:atkdmg} {{mod=[[ @{pb} + @{strength_mod} + 3 ]]}} {{rname=Staff of Striking}} {{r1=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{always=1}} {{r2=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{attack=1}} {{range=Meele}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8 + @{strength_mod} + 3 ]]}} {{dmg1type=Bludgeoning}} {{dmg2flag=}} {{crit1=[[1d8]]}} {{crit2=}} {{save=}} {{saveattr=}} {{savedesc=}} {{savedc=}} {{desc=[Charge](~Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}}
Put into the roll query I created the following:
?{Damage Die? |
d8 (Two-Handed),
&{template:atkdmg} {{mod=[[ @{pb} + @{strength_mod} + 3 ]]}} {{rname=Staff of Striking}} {{r1=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{always=1}} {{r2=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{attack=1}} {{range=Meele}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8 + @{strength_mod} + 3 ]]}} {{dmg1type=Bludgeoning}} {{dmg2flag=}} {{crit1=[[1d8]]}} {{crit2=}} {{save=}} {{saveattr=}} {{savedesc=}} {{savedc=}} {{desc=[Charge](~Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}} |
d6 (One-Handed),
&{template:atkdmg} {{mod=[[ @{pb} + @{strength_mod} + 3 ]]}} {{rname=Staff of Striking}} {{r1=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{always=1}} {{r2=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{attack=1}} {{range=Meele}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[d6 + @{strength_mod} + 3 ]] }} {{dmg1type=Bludgeoning}} {{dmg2flag=}} {{crit1=[[1d6]]}} {{crit2=}} {{save=}} {{saveattr=}} {{savedesc=}} {{savedc=}} {{desc=[Charge](~Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}} |
d4 (Bonus Action),
&{template:atkdmg} {{mod=[[ @{pb} + @{strength_mod} + 3 ]]}} {{rname=Staff of Striking}} {{r1=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{always=1}} {{r2=[[ d20 + @{pb} + @{strength_mod} + 3 ]]}} {{attack=1}} {{range=Meele}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[d4 + @{strength_mod} + 3 ]] }} {{dmg1type=Bludgeoning}} {{dmg2flag=}} {{crit1=[[1d4]]}} {{crit2=}} {{save=}} {{saveattr=}} {{savedesc=}} {{savedc=}} {{desc=[Charge](~Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}}
}
And I have the "Staff-Strike" Ability, which is referenced in the description (I also tried to escape the } characters, which doesn't solve my problem. In fact it didn't change anything):
&{template:dmg} {{rname=}} {{range=}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d6]]}} {{dmg1type=Force}} {{dmg2flag=}} {{dmg2=}} {{dmg2type=}} {{crit=1}} {{crit1=[[1d6]]}} {{crit2=}} {{save=}} {{desc=}} {{hldmg=}} {{spelllevel=}} {{charname=}}
Now finally to my problem. The query itself works, as long as I am in editing mode. As soon as I safe the Ability and use it (either directly, as token ability or through the macro list) it doesnt work anymore. The query now has 6 different options, which are:
d8 (Two-Handed)
Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}}
d6 (One-Handed)
Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}}
d4 (Off-Hand)
Baeshra|Staff-Strike)}} {{hldmg=}} {{spelllevel=}} {{charname=Baeshra}} {{globalattack=@{global_attack_mod}}} {{globaldamage=[[@{global_damage_mod_roll}]]}} {{globaldamagetype=@{global_damage_mod_type}}} {{globaldamagecrit=[[0]]}}
So for me (this is basically the second time I ever did something with the macros/abilities) this looks like the ~ ends the first selection somehow. But only when the ability is saved. Does anybody know, where I went wrong and what the issue seems to be? I'm happy to give more information if required.
Also, I'm glad I tried this in my own game, where I can freely delete the chat history, since I destroyed my chat multiple times doing this ;)
Thank you all