Origins: Powerful Powers
» Entity conditions » Regional difficulty

Regional difficulty

origins-powerful-powers:regional_difficultyentity condition

The local difficulty where the entity stands, 0.0 to 6.75. It grows with the world's difficulty setting, how long players have spent in that chunk, and the moon phase. It's the "Local Difficulty" shown on the F3 screen.

FieldTypeDefaultDescription
comparisonComparisonrequired
compare_toFloatrequired

Example:

json
{
  "type": "origins:modify_damage_dealt",
  "condition": {
    "type": "origins-powerful-powers:regional_difficulty",
    "comparison": ">=",
    "compare_to": 4
  },
  "modifier": {
    "operation": "multiply_total_multiplicative",
    "value": 0.2
  }
}

In dangerous areas, you rise to the challenge: +20% damage.

Attribute: regional_difficulty