# Character Sheet

The improved default AD&D 2nd Edition Character sheet is discussed in detail here. ADnD_2nd_Edition_Character_sheet

# Macros and Attributes

Macros and attributes are best used when the time reduction of using the macro is greater than the time to make the macro, or set up and apply the attribute. For example, setting up a macro to roll 1d20 /r d20 is not an efficient use of a macro, but rolling 3 attacks and adding the modifier after it might be worth attributes for the modifiers and a macro for the entire process. Remember that abilities are essentially macros but are visible to and usable by everyone that can edit the character.

Also, when you use attributes, remember that the computer just replaces the call command with the "value" it represents. This value doesn't have to be a number. For example, you could have an attribute that places something after the rest of the chain and fill this macro with the weapon you are currently using and the name of that weapon would appear where that attribute is. This substitution happens first in the chain of events, so you could even put something like 1d6+5 in an attribute at the end of a damage roll and it would roll the d6 and add both the d6 roll and the 5 to the result you would have otherwise received.

## Uses

Some common/recommended uses of macros/attributes when playing AD&D on Roll20 are: (not an exhaustive list)

### Saves

All players put their save value in an attribute on the corresponding character page then the DM and/or Player (depending on style of play) makes a macro that rolls the save

Once again a Main Macro giving character a choice which save to roll:

/w @{selected|token_name} &{template:2Edefault}{{name=@{selected|token_name} attempts a Saving Throw!}}{{[Paralyzation](!
#SAVE-VS-PARALYZATION) [Poison](!
#SAVE-VS-POISON) [Death](!
#SAVE-VS-DEATH-MAGIC) [Rod](!
#SAVE-VS-ROD) [Staff](!
#SAVE-VS-STAFF) [Wand](!
#SAVE-VS-WAND) [Petrification](!
#SAVE-VS-PETRIFICATION) [Polymorph](!
#SAVE-VS-POLYMORPH) [Breath Weapon](!
#SAVE-VS-BREATH-WEAPON) [Spell](!
#SAVE-VS-SPELL)}}{{desc=Saving Throw Notes:
PPD: @{selected|parnotes}
RSW: @{selected|rodnotes}
Pet:@{selected|petnotes}
Br: @{selected|breathnotes}
Sp: @{selected|spnotes}}}{{[Item Saves](!
#ITEM-SAVES)}}


Individual Save Macros:

SAVE-VS-BREATH-WEAPON:
/w gm &{template:2Esave}{{savevs=Breath Weapons}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|breathtar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|breathmod}]]}}

SAVE-VS-DEATH-MAGIC
/w gm &{template:2Esave}{{savevs=Death}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|partar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|parmod}]]}}

SAVE-VS-PARALYZATION
/w gm &{template:2Esave}{{savevs=Paralyzation}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|partar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|parmod}]]}}

SAVE-VS-PETRIFICATION
/w gm &{template:2Esave}{{savevs=Petrification}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|pettar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|petmod}]]}}

SAVE-VS-POISON
/w gm &{template:2Esave}{{savevs=Poison}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|partar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|parmod}]]}}

SAVE-VS-POLYMORPH
/w gm &{template:2Esave}{{savevs=Polymorph}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|pettar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|petmod}]]}}

SAVE-VS-ROD
/w gm &{template:2Esave}{{savevs=Rods}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|rodtar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|rodmod}]]}}

SAVE-VS-SPELL
/w gm &{template:2Esave}{{savevs=Spells}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|sptar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|spmod}]]}}

SAVE-VS-STAFF
/w gm &{template:2Esave}{{savevs=Staves}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|rodtar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|rodmod}]]}}

SAVE-VS-WAND
/w gm &{template:2Esave}{{savevs=Wands}}{{character=@{selected|token_name}}}{{savetarget=[[@{selected|rodtar}]]}}{{saveroll=[[d20?{Please enter Situational Modifiers to the current Saving Throw Roll (including the mathematical operator)|+0}@{selected|rodmod}]]}}



You will note the macro started with @{selected|character_name}, this would require the user to have selected a token on the map first but works great for generalised macros, remember to use @{selected|...} for each instance of wanting to look up information from the character sheet. This can also work for @{target|...} which would prompt the user to select a target token on the map.

### Ability Checks

Ability checks are simple rolls which are measured against a target number and receive bonuses from a characters stats and may be subject to other modifiers from temporary boosts or GM discretion.

Using the character sheet you can create quick and simple macros for all abilities which when coupled with token selection (@{selected|token_name} can help resolve ability checks in one step. Here is macro that gives player a list of ability checks. The player clicks a button and the result is send to the DM. Only the DM and the player rolling will see the result (if the DM initiates the check only he or she would see the result).

This macro requires that the Open Doors attribute be entered as 12+(3). The addition of the plus sign allows the macro to differentiate between normal doors and locked or magically held doors.

/w gm &{template:default}{{name=@{selected|token_name} CHECKS FOR SUCCESS}}
{{?{WHICH ABILITY OR SKILL WILL YOU USE?|
STRENGTH, STRENGTH CHECK
[[(D20cs1cf20)<[[@{selected|Strength}|
open normal doors, OPEN NORMAL DOORS CHECK
[[(D20cs1cf20)<[[[[1*@{selected|open}*0]]|
open magic or locked doors, OPEN MAGIC OR LOCKED DOORS CHECK
[[(D20cs1cf20)<[[[[0*@{selected|open}]]|
BEND BARS LIFT GATES, BEND BARS LIFT GATES CHECK
[[(D100cs1cf)>95<[[@{selected|bend}|
DEXTERITY, DEXTERITY CHECK
[[(D20cs1cf20)<[[@{selected|Dexterity}|
CONSTITUTION, CONSTITUTION CHECK
[[(D20cs1cf20)<[[@{selected|Constitution}|
system shock, SYSTEM SHOCK CHECK
[[(D100cs1cf)>95<[[@{selected|conshock}|
resurrection survival, RESURRECTION SURVIVAL
[[(D100cs1cf)>95<[[@{selected|conres}|
INTELLIGENCE, INTELLIGENCE CHECK
[[(D20cs1cf20)<[[@{selected|Intelligence}|
WISDOM, WISDOM CHECK
[[(D20cs1cf20)<[[@{selected|Wisdom}|
CHARISMA, CHARISMA CHECK
[[(D20cs1cf20)<[[@{selected|Charisma}}?{MISCELLANEOUS MODIFIER|+0}]]]]}}


### Non-Weapon Proficiency Checks

NWP Checks are simple rolls which are measured against a characters stats and may be subject to other modifiers from temporary boosts or GM discretion.

Using the character sheet you can create a list of Non-Weapon Proficiencies, the name is in first column, 2nd column you put the stat (@{Intelligence}) this formula will replace it with the value from the stat and in the third column you put modifiers but please add + or - So the below macro will list all a characters NWPs and allow him to choose which one to use and once again allow for a optional modifier to be added. (The exmaple lists 8, adjust as needed by following the same pattern.)

&{template:default}{{name=@{selected|token_name} uses a Non-Weapon Proficiency}}{{?{Proficiency Being Used?|
@{selected|repeating_profs_$0_profname},@{selected|repeating_profs_$0_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$0_profstatnum}@{selected|repeating_profs_$0_profmod}|
@{selected|repeating_profs_$1_profname},@{selected|repeating_profs_$1_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$1_profstatnum}@{selected|repeating_profs_$1_profmod}|
@{selected|repeating_profs_$2_profname},@{selected|repeating_profs_$2_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$2_profstatnum}@{selected|repeating_profs_$2_profmod}|
@{selected|repeating_profs_$3_profname},@{selected|repeating_profs_$3_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$3_profstatnum}@{selected|repeating_profs_$3_profmod}|
@{selected|repeating_profs_$4_profname},@{selected|repeating_profs_$4_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$4_profstatnum}@{selected|repeating_profs_$4_profmod}|
@{selected|repeating_profs_$5_profname},@{selected|repeating_profs_$5_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$5_profstatnum}@{selected|repeating_profs_$5_profmod}|
@{selected|repeating_profs_$6_profname},@{selected|repeating_profs_$6_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$6_profstatnum}@{selected|repeating_profs_$6_profmod}|
@{selected|repeating_profs_$7_profname},@{selected|repeating_profs_$7_profname}
[[1d20cs1cf20<[[@{selected|repeating_profs_$7_profstatnum}@{selected|repeating_profs_$7_profmod}}?{Misc Modifier? (Include + or -)|+0}]]]] Success(es)}}


### Thief Skill Checks

Thief SKill checks are simple rolls which are measured against a target number and receive bonuses from a characters stats and may be subject to other modifiers from temporary boosts or GM discretion.

Here is macro that gives player a list of thief abilities. The player clicks a button and the result is send to the DM. Only the DM and the player rolling will see the result. I added an \em section so other players cna see character is doing something, but this cna be removed

Main Proficiency Macro (Set as token action):
/w @{selected|token_name} &{template:2Edefault}{{name=@{selected|token_name} attempts a Thief Skill!}}{{[Climb Wall](!
#CHECK-THIEF-CW) [Detect Noice](!
#CHECK-THIEF-DN) [Find/Remove Traps](!
#CHECK-THIEF-HS) [Move Silently](!
#CHECK-THIEF-MS)[Open Locks](!
#CHECK-THIEF-OL) [Pick Pockets](!
#CHECK-THIEF-RL)}}

CHECK-THIEF-CW:
/em the Cat scrambles up the wall!
/gmroll {1d100?{Modifier?|+0}}<[[@{selected|cwb}@{selected|cwr}@{selected|cwd}@{selected|cwa}@{selected|cwl}]] **Climb Walls**

CHECK-THIEF-DN:
/em the Listener strains his ears in an attempt to hear what he should not.
/gmroll {1d100?{Modifier?|+0}}<[[@{selected|dnb}@{selected|dnr}@{selected|dnd}@{selected|dna}@{selected|dnl}]] **Detect Noice**

CHECK-THIEF-FRT:
/em the AWESOME Retriever of "lost" things attempts to avoid injury.
/gmroll {1d100?{Modifier?|+0}}<[[@{selected|rtb}@{selected|rtr}@{selected|rtd}@{selected|rta}@{selected|rtl}]] **Find/Remove Traps**

CHECK-THIEF-HS:
/em the Invisible steps back into the shadows and disappears from view.

CHECK-THIEF-MS:
/em the Sneak silently creeps forward.
/gmroll {1d100?{Modifier?|+0}}<[[@{selected|msb}@{selected|msr}@{selected|msd}@{selected|msa}@{selected|msl}]] **Move Silent**

CHECK-THIEF-OL:
/em the LockSmith attempts to gain entry.
/gmroll {1d100?{Modifier?|+0}}<[[@{selected|olb}@{selected|olr}@{selected|old}@{selected|ola}@{selected|oll}]] **Open Locks**

CHECK-THIEF-PP:
/em the Founder of Lost things attempts some sleight of hand.
/gmroll {1d100?{Modifier?|+0}}<[[@{selected|ppb}@{selected|ppr}@{selected|ppd}@{selected|ppa}@{selected|ppl}]] **Pick Pockets**

CHECK-THIEF-RL:
/em the Knowledgeable attempts to read the strange writings.



### Skill Checks

Skill checks operate in much the same way as ability checks. Have a token selected, hover over the skill on the sheet to find its 'look-up' name and use that as your modifier:

@{selected|character_name} assesses the value of an item: [[1d20 + @{selected|appraise} + ?{Other Bonus|0}]] v DC ?{DC Target:|0}.

Returns a result of:
Ziechael assesses the value of an item: 12 v DC:15.


Simply change the modifier and text to suit and simple skill checks can be generated in seconds.

### Hide the Results

Sometimes an evil GM will ask a player to perform a check but doesn't want them to know if they passed or not! This can be easily replicated by adding a simple whisper into the equation:

/em Septimus searches his memory for useful information.
/w gm [[1d20 + @{selected|level} + @{selected|int-mod} + 4]] vs DC: [[?{DC?|10}]]


In the bardic knowledge check performed above the player/s will only see 'Septimus searches his memory for useful information.' in the chat box, the result of '7 vs DC:10' is then whispered to the GM so that they can decide how to mislead the failed knowledge check. Does the bard misremember, vaguely recall of just outright not know what they were hoping was in the deep recesses of their mind?

NOTE: If the player makes a /w gm check both the player and the GM will see the roll, if the GM makes the check for the player then only the GM will see it

### Initiative

Initiative macros can directly add the initiative roll to the Turn Order Tracker by use of &{tracker} inside the roll. The token must be selected to use this feature. ex:

  [[ 1d20 + [[ @{selected|init} ]] &{tracker} ]]

The pre-set D&D 3.5 Character Sheet Template has a built-in initiative macro which appears as a token action when the character sheet's associated token is selected. This token action cannot be removed but the macro can be modified.

The macro text for the initiative macro can be edited by pulling open (by the corner with the diagonal lines) the text box to the left of the initiative roll button on the sheet. The field itself is titled "initmacro (modify to modify initiative roll macro)" if you hover over it for a few seconds.

The numbers which appear to the right of the decimal point in the provided macro are the character's initiative value (ie dex mod + misc mod for initiative divided by 100 to get it to be to the right of the decimal point) to be used as a tie-breaker.

### Attacks/attack sequences

Attributes are made to add the various values used by the attack(s) in question for both attack rolls and damage. Then a Macro(s) is written to use these values to do all the math and rolling and and the values together.

ex: attacking with a two handed weapon twice using a full attack. If Str (strength) is odd, then the .5 at the end of the damage is ignored

/me attacks twice with @{weapon}
/r 1d20+@{str}+@{enchantment}+@{attack temporary} attack 1
/r @{damage}+@{str}*1.5+@{enchantment}+@{damage temporary} damage 1
/r 1d20+@{str}+@{enchantment}+@{attack temporary} attack 2
/r @{damage}+@{str}*1.5+@{enchantment}+@{damage temporary} damage 2


Using the pre-set character sheet again can greatly increase the ease and speed of your players attacks and damage, even incorporating things like critical hits and special attacks such as a sneak attack. Again the following will require a token to be selected and a target token for the focus of the attack/damage etc. While the macro can get long and complex looking it is worth breaking down to analyse and is a great way to learn the nuances of macro building.

Main Attack Macro (depending how many weapons character has, 7 assumed)
(Set the main Attack Macro as a token action, but not for the other attack macros):
/w @{selected|token_name} &{template:default}{{name=ATTACKS}}{{[@{selected|weaponname}](!
#ATTACK1)}}{{[@{selected|repeating_weapons_$0_weaponname}](! #ATTACK2)}}{{[@{selected|repeating_weapons_$1_weaponname}](!
#ATTACK3)}}{{[@{selected|repeating_weapons_$2_weaponname}](! #ATTACK4)}}{{[@{selected|repeating_weapons_$3_weaponname}](!
#ATTACK5)}}{{[@{selected|repeating_weapons_$4_weaponname}](! #ATTACK6)}}{{[@{selected|repeating_weapons_$5_weaponname}](!
#ATTACK7)}}

ATTACK1 Macro:
&{template:2Eattack}{{title=@{selected|token_name} USES A @{selected|weapsize} SIZED @{selected|weaponname} TO ATTACK @{target|token_name}}}{{ac_hit=[[@{selected|ThAC0}-((D20?{ATTACK ROLL MODIFIER|+0})+(@{selected|attackadj})+(@{selected|strengthhit}*@{selected|strbonus})+(@{selected|dexmissile}*@{selected|dexbonus}))]]}}{{dmg_s=[[((@{selected|damsm}?{DAMAGE ROLL MODIFIER|+0}))+(@{selected|damadj})+(@{selected|strengthdmg}*@{selected|strbonus})]]}}{{dmg_l=[[((@{selected|daml}?{DAMAGE ROLL MODIFIER|+0}))+(@{selected|damadj})+(@{selected|strengthdmg}*@{selected|strbonus})]]}}{{ crit = Roll extra die for crit }} {{ fumble = You Fumble }}

ATTACK2 Macro:
&{template:2Eattack}{{title=@{selected|token_name} USES A @{selected|repeating_weapons_$0_weapsize} SIZED @{selected|repeating_weapons_$0_weaponname} TO ATTACK @{target|token_name}}}{{ac_hit=[[@{selected|ThAC0}-((D20?{ATTACK ROLL MODIFIER|+0})+(@{selected|repeating_weapons_$0_attackadj})+(@{selected|strengthhit}*@{selected|repeating_weapons_$0_strbonus})+(@{selected|dexmissile}*@{selected|repeating_weapons_$0_dexbonus}))]]}}{{dmg_s=[[((@{selected|repeating_weapons_$0_damsm}?{DAMAGE ROLL MODIFIER|+0}))+(@{selected|repeating_weapons_$0_damadj})+(@{selected|strengthdmg}*@{selected|repeating_weapons_$0_strbonus})]]}}{{dmg_l=[[((@{selected|repeating_weapons_$0_daml}?{DAMAGE ROLL MODIFIER|+0}))+(@{selected|repeating_weapons_$0_damadj})+(@{selected|strengthdmg}*@{selected|repeating_weapons_$0_strbonus})]]}}{{crit=RollCrit}} {{fumble=fumble}}  (each further attack macro will be the same as ATTACK2 except the _$0_ will change to increment by 1 so ATTACK3 macro will use _$1_ and ATTACK7 will use _$5_)

You can see how by telling the macro to take into account all of the possible modifiers to a roll and looking up the information from the character sheet the actual 'work' needed to be done by the player is minimised. A player using this attack roll would need to input any bonus' outside of the norm they may have (like being blessed for example which isn't a permanent bonus) and they would be prompted to 'tell' the macro if they have flanked the enemy or not (a great example of a query using the question to guide an answer: ?{Flank (1=yes)|0}). The rest is done by the macro including telling you if there was a critical hit or not. To make this more obvious we leave the original roll (rolling [[1d20]]) untainted by the bonuses to highlight easily whether a clean 20 was rolled. If so the player can then look at the 'check for crit' section to see if their 'threat' became a 'crit' or remained a hit as normal. You can even move the individual part of the macro around for layout purposes should you desire to see the roll to hit first and have the crit check at the end. When wanting to set a macro up for the other weapon slots you would just make the same macro but with every instance of 'weapon1' replaced with 'weapon2' through to 'weapon6'.

The critical damage is easy enough as you just double teh damage die resul which you can see by hovering over the result of the appropriate damage box.

Special attacks elaborate on existing macros but apply their own special rules as needed. Most DMs usee API based Power Cards (require Pro level subscription) to make special attacks look pretty but the macros used to calculate the attack, critical hit check, damage and critical damage remain the same and can be incorporated into a normal macro as with the previous examples:

Macros for Thieves Backstab:

Main Backstab Macro (depending how many weapons character has, 7 assumed)
(Set the main Backstab Macro as a token action, but not for the other backstab macros):
/w @{selected|token_name} &{template:default}{{name=BACKSTAB WEAPON}}{{[@{selected|weaponname}](!
#BACKSTAB1)[@{selected|repeating_weapons_$0_weaponname}](! #BACKSTAB2)[@{selected|repeating_weapons_$1_weaponname}](!
#BACKSTAB3)[@{selected|repeating_weapons_$2_weaponname}](! #BACKSTAB4)[@{selected|repeating_weapons_$3_weaponname}](!
#BACKSTAB5)[@{selected|repeating_weapons_$4_weaponname}](! #BACKSTAB6)[@{selected|repeating_weapons_$5_weaponname}](!
#BACKSTAB7)}}

BACKSTAB1:
&{template:2Eattack}{{title=@{selected|token_name} USES A @{selected|weapsize} SIZED @{selected|weaponname} TO BACKSTAB @{target|token_name}}}{{ac_hit=[[@{selected|ThAC0}-((D20?{BACKSTAB ATTACK ROLL MODIFIER|+4})+(@{selected|attackadj})+(@{selected|strengthhit}*@{selected|strbonus})+(@{selected|dexmissile}*@{selected|dexbonus}))]]}}{{dmg_s=[[((@{selected|damsm}) *@{selected|backstabmultiplier})?{BACKSTAB DAMAGE ROLL MODIFIER|+0}+(@{selected|damadj})+(@{selected|strengthdmg}*@{selected|strbonus})]]}}{{dmg_l=[[((@{selected|daml})*@{selected|backstabmultiplier})?{BACKSTAB DAMAGE ROLL MODIFIER|+0}+(@{selected|damadj})+(@{selected|strengthdmg}*@{selected|strbonus})]]}}{crit= }} {{fumble= }}

BACKSTAB2:
&{template:2Eattack}{{title=@{selected|token_name} USES A @{selected|repeating_weapons_$0_weapsize} SIZED @{selected|repeating_weapons_$0_weaponname} TO BACKSTAB @{target|token_name}}}{{ac_hit=[[@{selected|ThAC0}-((D20?{BACKSTAB ATTACK ROLL MODIFIER|+4})+(@{selected|repeating_weapons_$0_attackadj})+(@{selected|strengthhit}*@{selected|repeating_weapons_$0_strbonus})+(@{selected|dexmissile}*@{selected|repeating_weapons_$0_dexbonus}))]]}}{{dmg_s=[[((@{selected|repeating_weapons_$0_damsm}) *@{selected|backstabmultiplier})?{BACKSTAB DAMAGE ROLL MODIFIER|+0}+(@{selected|repeating_weapons_$0_damadj})+(@{selected|strengthdmg}*@{selected|repeating_weapons_$0_strbonus})]]}}{{dmg_l=[[((@{selected|repeating_weapons_$0_daml})*@{selected|backstabmultiplier})?{BACKSTAB DAMAGE ROLL MODIFIER|+0}+(@{selected|repeating_weapons_$0_damadj})+(@{selected|strengthdmg}*@{selected|repeating_weapons_$0_strbonus})]]}}{crit= }} {{fumble= }}  (each further backstab macro will be the same as BACKSTAB2 except the _$0_ will change to increment by 1 so BACKSTAB3 macro will use _$1_ and BACKSTAB7 will use _$5_)

The main change to the attack roll is that the flat footed armor class modifier has been incorporated using a query (technically this could be used in all attack rolls but adds an extra step that is easy enough to amend on the fly in game but since most sneak attacks will be against flat footed, or more accurately dex-modless, enemies is makes sense to add it in as an option). The damage uses the 'ceil' function (see dice reference) to calculate the damage multiplier based on the selected token players level. Again this is kept separate from the rest of the damage calculation as the multiplier only applies to the weapons base damage.

### Spells

As with special attacks I like to use API based Power Cards for my spells, makes them look extra special. However the macro calculations can be extracted for general use. They can get quite complex as most spells do x amount of whatever every x levels or will generate x amount of whatever every x levels up to a maximum of x. Taking the time to really play around and familiarise yourself with the dice reference page can be a huge help in unravelling the weave.

The two main ones that teach the most lessons are cure light wounds and magic missile, some of the first spells an aspiring macro writer will encounter:

Cure Light Wounds
@{selected|token_name} heals @{target|token_name} for [[1d8+(@{selected|casterlevel},5)dh1]] hit points by divine energy. Undead are harmed for the same amount, or half the amount if a successful Will save of DC [[10+1+@{selected|wis-mod}]] is made.

Magic Missile
@{selected|token_name} shoots [[{d1*5, d1*ceil(@{selected|casterlevel}/2)}dh1}]] missiles from their fingertip dealing [[1d4+1]] damage per missile.


Notice the 'dh1', this tells the macro to drop the higher of two results which allows you to only produce the maximum result permitted by the spell. In the case of CLW it will only heal to a maximum of 1d8+5 even if your caster level is 6+. MM is a bit more complex as it needs to calculate an extra missile every 3 levels up to a maximum of 5. Using the ceiling of 1/2 of the caster level we can replicate the extra missile and by again using the drop highest function we can cap this at 5 missiles.

"Please note, my macros may look clunky to an advanced user but i've managed to pick these up within a couple of hours and to my mind, if it works I'm not going to keep messing with it!"

### Descriptions

Some DMs find it useful to set up long description texts in a macro and put the name of the macro next to the room it is for.

ex:

/desc As You walk into the room, you all notice a few things at once. First, There is a giant pool covering half the room. Second, A rather large cave in in one corner. Finally, three lizard men are waiting for you. The Lizard men attack.


Another way of doing this is to put a token on the GM layer (a scroll token works well) in each room that has a description written out in one of the bars/bubbles (it is easiest to write out the description elsewhere, then copy/paste it into the bubble).

Then, use this macro:

/desc @{selected|bar1}


When the players get to the room, simply switch to GM layer, select the token holding the description, and hit the button for your description macro.

### Booleans

Say you run a version of the Defense Bonus variant where immaterial armor stacks with the Defense Bonus. You can't just use the @{selected|acitembonus} attribute to determine whether the Defense Bonus applies, but if you have a custom attribute for all creatures called "Is Wearing Physical Armor?", you can make it a boolean 1 or 0 depending on whether or not that's the case.

[[ @{selected|DefenseBonus}-(@{selected|DefenseBonus}*@{selected|Is Wearing Physical Armor?}) ]]

Admittedly, the formula could be made simpler if the attribute was "Is NOT Wearing Physical Armor".

[[ @{selected|DefenseBonus}*@{selected|Is NOT Wearing Physical Armor?} ]]

However, when looking at a character's attributes list it's easier to wrap your head around the logic of a "1" affirming a positive rather than affirming a negative.

### API

Some API codes modify or use macros. Official API forum

### Reference of Commonly Used Attributes

This is a quick reference of the names of Attributes on PC and NPC Sheets which are commonly used by DMs, and would be included in your Macros.

#### Player Character

D&D3.5E Name Attribute Name
HP hitpoints
AC armorclass
Touch AC touchac
Flat Footed flatac
Initiative init
Fortitude Save Bonus fortitude
Fortitude Save Macro fortitudemacro
Reflex Save Bonus reflex
Reflex Save Macro reflexmacro
Will Save Bonus will
Will Save Macro willmacro
Base Attack Bonus bab
Grapple Bonus grapple
Melee Attack Bonus meleeattackbonus
Ranged Attack Bonus rangedattackbonus
Size Modifier for Attack and AC size
Size Modifier for Special Attacks specialattacksizemod
Skill X (Replace X with the name) Xmacro
Hit Dice hitdie

Note that most if not all attribute names can be found by mousing over the appropriate field on the character sheet.

#### NPC or Monsters

Note: There are a lot less automatic Macros in the abilities of NPC Sheets. Saves are just the modifiers by default.

D&D3.5E Name Attribute Name
HP npchitpoints
Hit Dice npchitdie
Fortitude Save npcfortsave
Reflex Save npcrefsave
Will Save npcwillsave
Grapple npcgrapple

# AD&D 2nd Ed Roll Templates

The AD&D2e Character Sheet Template has several built-in Roll Templates.

## Tips

Multiple roll templates can be combined in one macro if desired:

# Maps

• This section only really applies to a DM

Before you do anything else with a map, make sure you have the page settings right. Nothing is more annoying then making your map look all nice and neat and then realizing you made some critical mistake and have to start over. AD&D uses squares, so make sure you are in squares. Make it big to start with, making it smaller is easier than making it bigger. One unit is 5 ft (unless you really need to change it for some reason, 5 ft is best) and a 1 unit grid is best, with both grid color and background color depending on the map and the preference of both players and DM(some prefer no grid at all when playing but the grid really helps when hand drawing a map). Fog of War and Dynamic Lighting can wait until after you draw the map, but should be dealt with before your players see the map, as determined by play style and personal preference.

Now that that you have the major set up complete, a choice has to be made: hand draw in Roll20, import a drawing you make elsewhere, or use a drawing from online. If you pull a map from online or your library, you may need to align it and move it into position. Once you finish with your map, you now know how big it is. If you followed the earlier recommendation and made your space too big, after moving everything into place you now shrink it down to fit your actual map you are using (or just leave it too big to help confuse the players).

# Characters and tokens

While each group is different on what they do for characters and tokens, A few things are standard. You will want a character page for each character. The DM will likely have a long list of NPC characters and might or might not share those with the players. If the DM shares the NPC pages, they can use the "GM notes" section to record info the players shouldn't know. Finally, you will likely benefit from setting a default token for each PC and NPC and attaching the bars (aka: the "bubbles") to a specific attribute. Remember that if you do not set a current and a max value, the bar will not to show up, but when you click on the token the "bubble" for its current value will still show.

# Dynamic Lighting

You can find Advanced Dungeons and Dragons specific vision and lighting examples in the Dynamic Lighting Style Guide.

# Help

Some places/people to ask for further help