![](https://s3.amazonaws.com/files.d20.io/images/53471149/BSFs7nc76nJwHhOPiukQtA/thumb.jpg?1525733553270)
I have a feeling the majority of 4e players have switched to Foundry. I'm not a fan of Foundry and have too much invested in Roll20, so I decided to write this API. I've built an API built into my character sheet to check attack rolls vs oppose rolls and do all of the math, which is extensive, behind the combat. This include taking into account weapon and armor properties and all the interactions, reach, weapon speed, mounted combat, ranged combat, blackpowder, and more. For conditions that cause corruption, fear, terror or broken conditions, the API pulls from the target character sheet and makes the rolls. It also allows for fortune based rerolls. It's doesn't do resilience based name your roll. Infighting code is in, but not enabled. That requires more work to track the characters involved in the infight. This is in beta right now. I haven't built in the new weapons in up in arms, but I have built in the armor changes. T his will be undergoing changes. It's available to anyone. Take a copy and make it your own, if you wish. If you want to add weapons and have me include it in my API, make the changes and send to me. I'm not going to support this for all the variants of the character sheets on Roll20. It will be up to you to integrate if you want to use this. I'm also not going to go into integration details or the API details until I see interest in this API. If you are interested, feel free to PM me or respond here and I can go into some of the details. I'll post a few sample screen shots in upcoming posts. The API version of the character sheet, API and CSS changes are located here: <a href="https://github.com/vicberg/Roll20-Warhammer-4e-Character-Sheet" rel="nofollow">https://github.com/vicberg/Roll20-Warhammer-4e-Character-Sheet</a>