AlterBars v2.0.4 !power {{ --format|silvertheme --tokenid|@{selected|token_id} --name|@{selected|character_name} --Action|Action/Bonus Action --leftsub|Moonbeam --rightsub|Level 2 Evocation --emote|@{selected|character_name} mutters a string of arcane words and a beam of silvery light shines down upon @{target|character_name} --Target|@{target|character_name} --Range|120 ft. --Effect|Constitution saving throw. On success, half damage. --Attack|[[ [$Atk] 8+@{selected|spell_save_dc}+{0}]] vs [[ [$Sav] ?{Roll type|Normal roll, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1}+@{target|constitution_mod}]] --?? $Atk.total <= $Sav.total ?? Saved:|[[ [$Dmgg] floor(?{Cast at level|2|3|4|5|6|7|8|9}d10/2)]] Radiant damage. --?? $Atk.total <= $Sav.total ?? alterbar1|_target|@{target|token_id} _bar|1 _amount|-[^Dmgg] _show|all --?? $Atk.total > $Sav.total ?? Failed:|[[ [$Dmg] ?{Cast at level|2|3|4|5|6|7|8|9}d10]] Radiant damage. --?? $Atk.total > $Sav.total ?? alterbar1|_target|@{target|token_id} _bar|1 _amount|-[^Dmg] _show|all }} I've since changed the Macro, but it literally works on everyone except for one player. It's really weird. Edit: And now when I try to put it on an NPC it crashes. Hrm. Trying to tweak values, but it's weird. Updated Macro. Different error with the updated Macro: TypeError: Cannot read property 'get' of undefined
TypeError: Cannot read property 'get' of undefined
at Object.AlterScript.Process (apiscript.js:9766:36)
at apiscript.js:9674:15
at eval (eval at (/home/node/d20-api-server/api.js:146:1), :65:16)
at Object.publish (eval at (/home/node/d20-api-server/api.js:146:1), :70:8)
at /home/node/d20-api-server/api.js:1510:12
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
at Id.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:489)
at Zd.Ld.Mb (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:94:425) - Randomly started working on NPC's, you can ignore this portion. PS: What program do you use for debugging? I'd love to learn how to fix API's and I'm not super new to programming, just haven't gone super in depth before.