apace100/apoli

[1.20.2] Conditioned Attribute Powers not functioning.

MerchantPug opened this issue · 1 comments

Tested through TooManyOrigins' Unity power on Swarm. (see below)

{
  "type": "origins:multiple",
  "health_drop_seven_hearts": {
    "type": "origins:conditioned_attribute",
    "modifier": {
      "attribute": "generic.max_health",
      "operation": "addition",
      "value": -6.0,
      "name": "Decreased health when below 13 food level"
    },
    "condition": {
      "type": "origins:food_level",
      "comparison": "<",
      "compare_to": 13
    },
    "tick_rate": 1
  },
  "health_drop_four_hearts": {
    "type": "origins:conditioned_attribute",
    "modifier": {
      "attribute": "generic.max_health",
      "operation": "addition",
      "value": -6.0,
      "name": "Decreased health when below 6 food level"
    },
    "condition": {
      "type": "origins:food_level",
      "comparison": "<",
      "compare_to": 7
    },
    "tick_rate": 1
  }
}

Apparently has been fixed for a while now, I'll probably leave this open until the new version happens.