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

Help for Powercards Error for Barbarians

I am new to installing API and working with coding but i have been able to get everything up and running with Powercards, but the problem is that i keep getting an error specifically on Barbarians when it tries to deal with other modifiers and just fails. I have tried to find a fix to it but I am out of options and ideas of how to fix it. I don't know if its because of the Script or the Macro but this is the error i get on the API Menu and below that is the text i get in game. Could not determine result type of: [{"type":"L","text":"$GDmg"},{"type":"M","expr":0}] undefined "Could not determine result type of: [{\"type\":\"L\",\"text\":\"$GDmg\"},{\"type\":\"M\",\"expr\":2},{\"type\":\"L\",\"text\":\"Rage Damage\"},{\"type\":\"M\",\"expr\":\"+10\"},{\"type\":\"L\",\"text\":\"Great Weapon Master\"}]" I welcome any help from someone smarter than I.
Unfortunately I cannot help you with Powercards as I haven't used them but since you say you are new to the API and Mods, I would really recommend you use  ScriptCards  instead. Kurt J took over maintenance of Powercards but actively develops ScriptCards as its successor. ScriptCards can do things that Powercards isn't capable of. So if you don't have a ton of Powercards invested, I would move to ScriptCards. And while I can't help you with Powercards errors, you can post your Macro that generates the error and perhaps others can help or help you if you did decide you want to move to ScriptCards.
Thank you for the quick response. i will look into it
1723263965
Andrew R.
Pro
Sheet Author
You should absolutely jump to ScriptCards before you get too invested in PowerCards. However, I'll have a look at your PowerCards script if you tell me what game system and character sheet you are using and post the scripts here formatted as Code.