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

Using other character's attributes.

Good day everyone. A simple question: how do I use one character's attribute in a different character's ability? I am trying to have characters do combination attacks, but can't quite figure this one out. Thank you all.
1391914173

Edited 1391956370
Gauss
Forum Champion
Here you go: @{character name|character attribute}
Does that only work with Abilities? Or will it also work for stats as well?
attributes.
1391956361

Edited 1391956379
Gauss
Forum Champion
My mistake, I accidentally put "character ability" in instead of "character attribute". I have corrected it.
Hmm, that is what I thought it was. Even retrying it, I haven't been able to get it to work. Here is an example of what I am trying: [[1d20+@{FirSkl}+@{Laguna|SprSkl}+@{AccBon}+@{Laguna|FtBnAc}+10]] Accuracy The @{FirSkl} and @{AccBon} come from the character using the ability, and the two with @{Laguna| come from another character. I already checked for spelling on both the character name and attribute names. However, when I roll it, it tells me that no attribute was found for @{Laguna|SprSkl} and the other. Any idea what I am doing wrong?
1391974381
Gauss
Forum Champion
Alexander , if you send me a join link I can come take a look.
Try using Token Actions ? For example, one macro I use is like this: @{selected|token_name} attacks @{target|token_name} with his @{R1Name}: [[1d20+@{R1Bonus}]](@{R1Crit}) vs [[@{target|ac}]]! This attack does [[@{R1Damage}]] points of damage if it hits! All units have an Attribute named AC, a simple numerical value for their Armor Class They also have a unique name for their token, ie: Skeleton7 Combat units have their attack broken down into pieces, in this case: R1Name Javelin R1Bonus 3 R1Crit 23(2x) R1Damage 1d6+3 So what this macro does is, in order: Picks the name of the attacking token Picks the name of the defending token Picks the name of the weapon Picks the attack bonus of the weapon, adding it to a d20 roll Picks the crit range of the weapon Picks the AC of the defending token Picks the damage of the weapon Output looks something like: Player Character attacks Skeleton7 with his Javelin: [17](23(2x)) vs [9] This attack does [6] points of damage if it hits! So basically, you'd want to replace the character name (Laguna) with either Selected or Target, depending on whose attributes you're looking for. Make sense?
@Gauss: Thank you very much. On reviewing the situation again, I figured out the problem. The character name is Laguna, but the character sheet is "C1 - Laguna." Once I realized that, I got it to work. @Phnord Prephect: That is a useful example. However, in this situation I didn't want to use @target or @selected. However, thank you very much.