Visit the Github project page for source code.
The RuneScape monster known as Tormented Demons remain one of the most interesting creatures in the game, combat-wise, when trying to increase efficiency. There’s no question: they are unique, for good or bad.
TDS is a small simulator that replicates the relevant portion of the RuneScape combat system. It’s probably not very useful for any other monster. The simulation is accurate down to fundamental ‘tick’ system that determines when actions can be performed.