Configuration

Configuration

All parameters are loaded from the {game}/x64/scripts/config/TheInsurgentsCuratedShadesConfig.lua file.

This configuration file can be modified via any text editor. The following configuration is the default and equivalent to how Shades of Black works in the vanilla game:

Default Configuration
local function config(actions)
  local selection = {
    --{action0, chance0}, ... {actionX, chanceX}
    {actions.fire, 4.00},
    {actions.thunder, 4.00},
    {actions.blizzard, 4.00},
    {actions.aqua, 4.00},
    {actions.aero, 4.00},
    {actions.fira, 4.00},
    {actions.thundara, 4.00},
    {actions.blizzara, 4.00},
    {actions.bio, 4.00},
    {actions.aeroga, 4.00},
    {actions.firaga, 4.00},
    {actions.thundaga, 4.00},
    {actions.blizzaga, 4.00},
    {actions.shock, 4.00},
    {actions.scourge, 4.00},
    {actions.flare, 4.00},
    {actions.scathe, 4.00},
    {actions.blind, 4.00},
    {actions.poison, 4.00},
    {actions.silence, 4.00},
    {actions.sleep, 4.00},
    {actions.blindga, 4.00},
    {actions.toxify, 4.00},
    {actions.silencega, 4.00},
    {actions.sleepga, 4.00}
  }

  return selection
end

return config

Below is a list of all configurable options and what they are used for:

Action

The identifier of the action that should be cast.

Chance

The chance for the action to be chosen.

Notes

Parameters are processed top to bottom and anything past the sum of 100 of all action chances is ignored. For example:

  • If there are 3 actions with the following chances: 80%, 21%, 10%. The chance of the second one is actually 20%, not 21% and the third one is ignored.

  • If there are 2 actions with the following chances: 50%, 20%. There is a 30% chance that Shades of Black will fail.

For a list of all action identifiers, you can view this spreadsheet. All actions are available, even those of foes.

Last updated