Roller - cyritegamestudios/trust GitHub Wiki

Overview

A Roller will automatically use Phantom Roll.

Modes

See AutoRollMode

How it works

A Roller will buff the party with one or more Phantom Rolls when AutoRollMode is set to Auto, Safe or Manual. This works similarly to Rollbot, except integrated into Trust. Currently, rolling when Corsair is set as the sub job is not supported.

Automatic rolls

When AutoRollMode is set to Auto, the Roller will automatically apply the rolls specified in the Trust menu under Settings → Rolls. If a different roll is applied manually, the Roller will automatically override it when the cooldown for Phantom Roll is up. This mode will optimize for lucky and 11s.

Safe rolls

When AutoRollMode is set to Safe, the Roller will automatically apply the rolls specified in the Trust menu under Settings → Rolls. If a different roll is applied manually, the Roller will automatically override it when the cooldown for Phantom Roll is up. This mode will optimize for not busting.

Manual rolls

When AutoRollMode is set to Manual, the Roller will ignore the job settings and instead only Double-Up on any roll initiated manually. Use this when you want to change rolls frequently but don't want to manually Double-Up.

Double-Up

A Roller will Double-Up if any of the following conditions is satisfied:

  • Snake Eye is active
  • The current roll is not a lucky roll
  • The current roll is an unlucky roll Double-Up will not be used if the current roll is >= 8 and none of the above conditions are satisfied.

Snake Eye

Snake Eye will be used if any of the following conditions is satisfied:

  • The current roll is equal to a lucky roll - 1
  • The current roll is an unlucky roll
  • The current roll is a 10

Crooked Cards

Crooked Cards will be used before rolls where use_crooked_cards is set to true in the in job settings

Winning Streak

If a Roller is on a Winning Streak, it will keep rolling until it either rolls a lucky roll or an 11.

Fold

Fold will automatically be used if Bust is active.

Random Deal

Currently, Random Deal will not be used automatically to grant more control over when it is used.

Settings

Example settings in addons/Trust/data/COR.lua:

Roll1=Roll.new("Chaos Roll", true),
Roll2=Roll.new("Samurai Roll", false)

Rolls

The two rolls that should be applied. A new roll can be created with the syntax Roll.new(roll_name, use_crooked_cards).

Parameter Values Description Example
roll_name The name of any Phantom Roll Name of the Phantom Roll Samurai Roll or Corsair's Roll
use_crooked_cards true or false Whether Crooked Cards should be used with this roll Roll.new("Chaos Roll", true)

Jobs

  • BLM
  • BLU
  • BRD
  • BST
  • COR
  • DNC
  • DRG
  • DRK
  • GEO
  • MNK
  • NIN
  • PLD
  • PUP
  • RDM
  • RNG
  • RUN
  • SAM
  • SCH
  • SMN
  • THF
  • WAR
  • WHM

Explore the code