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

Attributes on 4e Character Sheet lacking?

Hi. I've recently gotten into the macros for Roll 20, and upon looking at the attributes created by populating the character sheet I'm a little disappointed. Many of them seem not altogether useful. For instance, an attribute for AC will appear if you populate your AC, but it will just be the numbers you put in, not the total AC field. Is there a way to get automatically-updating attributes to be created for the PCs or is there some other workaround for making macros? Thanks.
1421907032

Edited 1421907116
Lithl
Pro
Sheet Author
API Scripter
Autocalc fields do not show up in the Attributes & Abilities tab. Your full AC is an autocalc field, named (surprise surprise) "ac". You can access this value in abilities with @{ac} or @{character name|ac} elsewhere. (In comparison, the value you enter for your armor is @{ac-armor}.)
Would this carry over to other fields as well? As in, the obvious name is probably the correct name? Also is there an easy way to handle temporary bonuses with macros? As in, if you get a temporary +2 bonus to attack, is there a good way to implement that into an already-created attack macro? Sorry to be such a pain.
1421977342
Gen Kitty
Forum Champion
To handle temporary mods, you need a roll query. Here's an excerpt from my macro-making series I posted for a group I was in. I hope this helps. ---- But these macros aren't flexible at all. They do not take into account temporary modifiers to hit and damage, which fluctuate fairly chaotically in d20 systems. For that, we need the Roll Query . ?{Query Text|Default Option} ?{Modifier to Hit?|0} ?{TemporaryMods} Roll Queries will cause a dialog box to pop up and ask you for a response. You can choose to not use a default option, but that requires that you type a value because leaving that box empty will make your macro fail in any number of delightful, obscure, ways. My suggestion is to always use a default of 0 so you can just hit enter and move on with life. /em attacks with his longsword! He his AC [[1d20+11+ ?{Modifier to Hit|0}]] for a potential [[1d10 + 7 + ?{Modifier to Damage|0}]] damage. /em casts Healing Word, the target spends a healing surge and adds [[2d6 + ?{Any bonus healing?|0}]] additional healing. /em attempts an Acrobatics check: [[1d20 + 5 + ?{TempMods|0}]] /em attacks with Clever Strike. She hits AC [[1d20 + 10]] for [[1d6 + 4 + ?{Modifier to Damage|0} + ?{Sneak?|[NH]2d6} ]] potential damage. That last macro may look weird. It takes advantage of the 'Order of Operations' used in evaluating macros/commands and the fact that queries are resolved before dice rolls. This means I can choose whether to add my sneak attack dice when Adara attacks. If I don't want to add, because I can't, I just type a 0 when that box appears and the rest of the macro will execute cleanly.
That's actually really helpful. Thanks.
1421988518
Lithl
Pro
Sheet Author
API Scripter
Alexander B. said: Would this carry over to other fields as well? As in, the obvious name is probably the correct name? The description of the sheet in the campaign settings page tells you some of the more commonly used attributes: level halflevel hp hp-bloodied surge-value surges tmp-hp initiative speed action-points ac fort ref will strength (and strength-mod, etc.) constitution (and constitution-mod-level, etc. for mod + 1/2 level) dexterity intelligence wisdom charisma passive-insight passive-perception acrobatics arcana athletics bluff diplomacy dungeoneering endurance heal history insight intimidate nature perception religion stealth streetwise thievery If you use the powers tab to make macros, you also might want to know: power-1-name (and power-2-name, etc.) power-1-action power-1-range power-1-level power-1-used power-1-def power-1-weapon-num-dice power-1-weapon-dice power-1-attack (halflevel + power-1-mod + power-1-weapon-attack + power-1-attack-misc) power-1-damage (power-1-mod + power-1-weapon-damage + power-1-damage-misc)
You're my hero.
1422220625

Edited 1422220750
So, I'm still having problems calling any fields that aren't manually being added. Something as simple as [[1d20+@{selected|wisdom-mod-level}]] isn't working. I've also tried it as just [[1d20+@wisdom-mod-level]] and nothing. It just rolls the d20 and uses that. Any idea why this isn't working for any of my players? EDIT: Nevermind guys. I think I have it.