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

How to make an item and use it's stats

Hi, I'm pretty new here and I wonder how you guys do to make an item such as an armor or a weapon give it stats and use it in macro. In simple exemple I want to make a macro "attack"/"doDmg" with a math like baseAttChar + baseDmgWpn = totalDmg. So my question is how do you manage items in roll20 without scripts ? Because I want to make a simple item list wich I can give to the players and make possible to equiq to have the bonus/malus stats or just keep in bag. Thanks for your attention and sorry for the english mistakes  Jean STEVENIN
1523547284
Andreas J.
Forum Champion
Sheet Author
Translator
Are you going to you a character sheet for any existing rpg system, or just the attributes & abilities that can be found on all character sheets? Many systems have these things built in to their sheets.
1523557807

Edited 1523557848
I'm not sure I follow your abbreviations, so I'll make up my own example. Suppose you have a Character "Bob". Bob has an Attribute "BaseAttack" with a value of, I dunno, "10". Now suppose Bob has a magic sword that gives him +1 to his base attack. Create the sword as a Character called "Bob's Sword" controlled by the player that controls Bob and give it an Attribute "AttackBonus" with a value "1". Create a Folder for Bob and all his stuff that's made as Characters and file them together. Now create a new Ability inside Bob called SwordAttack. Let's suppose an attack is a 1d20 roll, plus the base attack value, plus any adjustment. So in the SwordAttack Ability you'd put the following: "/roll 1d20 + @{BaseAttack} + @{Bob's Sword|AttackBonus}" The trick is that anything that stores data (scores, bonuses, whatever) must be created as a Character and must store that data in Attributes. You then reference those attributes with @{CharacterName|AttributeName}. You must control the item Characters as well as the normal Character. You could get more complicated than the above, generalizing the attack bonus into any kind of adjustment at all, adding descriptive messages, or whatever else tickles your fancy. This is just the basic idea. Of course, if you're using a Character Sheet then the sheet may have its own way of handling equipment and adjustments.
Okay that' make it all good ty