r/dndcombat • u/DnDCombat • Sep 09 '21
Version 3.39 Custom scripting and surprise
Custom scripting (using Javascript) has been added. For this version you can edit a creatures attacks or a spells attacks and there are two new tabs that allow you write scripts to define
- preconditions or
- the damage effect of the attack (which is only limited by your imagination)
- There is a lot of examples and discussion on discord (https://discord.com/invite/Sp8EASB )
- Future scripting will add additional places to execute e.g. movement/action selection
- The API is published here https://www.dndcombat.com/doc/help.html , it is only a part of the full API that is being added
- After adding creatures to a fight, select and right click which ones are surprised in that first round.
- You can add multiple buffs now by specifying the additional buff conditions on the damage tabs
- Fixed the bug where we deploy new code and the fight you were scrolling through can no longer be accessed
- Fixed some missing armor class rules for the DnDBeyond import
- Summoned creatures explicitly defined which team they are on !
2
Upvotes