Origins (Fabric)

Origins (Fabric)

15M Downloads

[1.20.1] PowerType `toggle` could be pre-performed even `condition` is not met

LTCatt opened this issue ยท 0 comments

commented
{
  "type": "origins:toggle",
  "active_by_default": false,
  "key": "key.origins.primary_active",
  "retain_state": true,
  "condition": {
      "type": "origins:resource",
      "resource": "origins_new:ghost/phasing_resource",
      "comparison": "==",
      "compare_to": 300
  }
}

If condition is not met, and you press the button, so that it is toggled as soon as condition is met.
That is, if you press the skill button while the skill is on cooldown, it will be released immediately after the cooldown ends.

Version: 1.20.1-1.10.1