![](https://s3.amazonaws.com/files.d20.io/images/397929544/ebI5o4FNVzfWweadUTbdRg/thumb.png?1719019363755)
Heyo! I have created a couple of roll20 API scripts that automate damage, area effect and affliction based attacks. The work with the official roll 20 character sheet . ----------------------------- New --> the module also supports the mm3e Unofficial Character sheet. For best results paste attack details like range, area effect, multi attack, affliction details, other extras, etc directly from herolab as is into the "effect names" text box for each attack. You need to change the macro for each attack in the unofficial sheet to either #ROLL-ATTACK-MULTIPLE-TARGETS <attack name> #ROLL-ATTACK-SINGLE-TARGET <attack> ---------------------------- Features Attack Rolls Standard attack -> chooses correct active defense of target based on range or melee Area effect attacks -> targets roll evade with half damage on suceed, Perception attacks -> attack roll skipped Multiple targeting -> with separate attack rolls for all attack types Multiattack -> mechanics for single and multi attack and damage bonuses now factored in Attacking Minions -> Can choose to take 10 against minions Defenseless -> can shoose to auto hit defenseless targets Damage Save rolls Auto rolls Defense Save of target on attack confirm, using correct defense based on attack Afflictions and Damage Effect -> are supported Wounds and Conditions -> damage automaticall applied to target on failed save Alternate Resistance -> applied if applicable Attacking Minions -> does most damaging effect on hit Defenseless -> can shoose to roll to hit and do critical damage Critical Hit -> can do extra damage on criticals Other Minions -> set minion status mode on character sheet API toggle -> turn use of API on or off on the character sheet Conditions -> setting and unsetting conditions, whether by character sheet or due to failed saves updates modifiers and triggers related conditions. Superseded condition are taken into account. Critical Hit -> and miss logic for attacks and damage implemented Hero Points Logic -> implemented for attack and damage implemented Transaction integrity -> pressing chat buttons more than once in error will not cause duplicate attacks or damage rolls Overrides -> GM/players can force hit, re-roll attack, or cancel damage to handle unforseen circumstances To Do auto resist affliction on trailing round deplete hero point on use support for "other powers" (TBD) Instructions grab character sheet html, roll20 api script, and custom macros here Add the js file in the link to your Mod (API) Scripts In game setting, choose custom character sheet and paste the HTML provided to the character sheet HTML edit field Bring the css from the existing official roll 20 character sheet into the CSS if your custom character sheet activate the game and go to a character sheet where you want to turn automation on, and toggle Use API to "on" Attack macros are also provided. O nly use these you dont want to use modified character sheet template Just import the macros included through the collections tab of the game. Add custom abilities to your characters using the attack macros. The two main macros for attacks are: # ROLL-ATTACK-MULTIPLE TARGETS <your attack name> #ROLL-ATTACK-SINGLE-TARGET <your attack name> Check out the other macros provided that help to debug / view /set values on your character sheet, they should be somewhat self explanatory.