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

DmgBonus in AD&D "1st Edition and 2E"

I am sorry to come back on this problem. But again I find some problem trying to use the attribute of strength. We discussed it here "<a href="https://app.roll20.net/forum/post/6287573/problem-with-adandd-sheet-2nd-edition/?pagenum=1#newtopic" rel="nofollow">https://app.roll20.net/forum/post/6287573/problem-with-adandd-sheet-2nd-edition/?pagenum=1#newtopic</a>". One issue was solved, but lately I tried to made some change and it seems to me that the tag&nbsp;@{DmgBonus} is simply ignored while the tag&nbsp;@{meleeBonus} works properly. Can you help me? here is the code I am using: &amp;{template:attacks} {{name=@{character_name}}} {{subtag=@{WeaponName}}} {{attack1=[[1d20 + @{ToHitBonus}[BON] + @{MagicBonus}[MAG] + @{meleeBonus}[STR] + ?{To Hit Modifier Primary/Secondary?|0}[MOD]) ]]}} {{damage=[[@{DamageSmallMedium} + @{DmgBonus}[STR] + @{AttackDmgBonus}[BON] + @{MagicBonus}[MAG] + ?{Damage Modifier?|0}[MOD]]]}}&nbsp; {{WeaponNotes=@{WeaponNotes}}}&nbsp; @{whisper_to-hit} Thank you in advance.
Looking at the other thread you linked to, it sounds like the @{DmgBonus} attribute was replaced by @{AttackDmgBonus}. Have you tried adding that instead?
Hi Rabulias, thank you for replying. @{AttackDmgBonus} replaced the tag that was inside the "repeated weapon" that before had the same name of the strength damage attribute. And actually this now works very well. However, my problem now is that, I don't know why, I cannot call the strength attribute @{DmgBonus} inside my macros. If you take a look at the code I posted, I used moth tags. @{AttackDmgBonus} works properly but @{DmgBonus} is just ignored. Thank you for your attention.
1543979448

Edited 1543979464
What do you get if you type @{"NAME"|DmgBonus} into chat (where NAME is the name of the character)? Include the quotes around the name if the character's name has a space in it. For example: @{"Simone T."|DmgBonus}
1543989351

Edited 1543990395
vÍnce
Pro
Sheet Author
I'm still looking at this...&nbsp; On one character I substituted your macro and it worked perfectly, while on another it ignored&nbsp; DmgBonus. but it appears that if you include "selected" or the character name in the macro when calling the&nbsp; DmgBonus attribute specifically, it will include the bonus as expected. e.g.&nbsp; @{selected|DmgBonus} I believe this may still stem from when&nbsp; DmgBonus was used as a regular attribute and also within the repeating attacks. edit : actually it looks like the original repeating attribute was left within the repeating section as a hidden attribute.&nbsp; It is used for older sheets to pull a proper value for it's replacement attribute " AttackDmgBonus".&nbsp; The r epeating attack looks for&nbsp; attributes by name &nbsp;within the repeating section and since it finds the hidden&nbsp; DmgBonus, it's using that value, which is "0" .&nbsp;&nbsp; I'll see if there's a way to remove the older deprecated repeating&nbsp; DmgBonus.
If I use&nbsp; @{"NAME"|DmgBonus} I actually get the value I am looking for. And @{selected|DmgBonus}&nbsp; actually worked.&nbsp; At the moment I suppose this is good enough. Thank you all.