Do not expect this tool to be 100% accurate, backup your saves, especially your hardcore characters.
This is a re-branded and updated version of Combat Simulator Reloaded.
The latest fork in a line of great but no longer maintained forks by broderickhyman, and coolrox95, and visua0.
Raise an issue here on GitHub
v3 has added basic support for modded data. Any data that has been added through json or the data builder will be pushed into combat sim. This needs to be opted in by mod developers so that mods don't unintentionally break the sim. To do this, call the following mod.api.mythCombatSimulator?.registerNamespace('your mods namespace');
This needs to be done before the onInterfaceReady
context callback as that's when combat sim is loaded.
Custom skills are not supported and mocked inside the simulator to prevent errors, patched functions are not supported, this is purely custom data, such as items, prayers, equipment slots, etc will flow into combat sim.
You can use mod.api.mythCombatSimulator?.registeredNamespaces()
to return the list of current mods that have registered with combat sim. Note, that this may be inaccurate depending on when you call it, if you call it before another mod has registered, it won't show in the list. Probably the safest time to call is during onInterfaceAvailable
, this is the last callback before onInterfaceReady
when combat sim executes the registrations.
Note that the api returns the namespaces in all lowercase.