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 .
×

Attributes and abilities

Sorry for my English. Can I or how can I edit attributes using abilities. Example: ability to decrase health @HP=@HP-1 Can I or how can I use maximum value in abilitie Example: ability to use max health @HP=@HP-/roll 1d@(max)HP Can I or how can I use something as IF() in c/java/etc Example:  IF(@HP<10){@HP=10}else{HP=HP+1} thank you for all the answers Kubik
Currently there is no way to do these.  The API will offer this functionality (it's still in progress). For now you'll have to take care of HP (and attributes in general) manually.
Thanks