Origins: Powerful Powers
» Entity conditions » Critical hit eligible

Critical hit eligible

origins-powerful-powers:critical_hit_eligibleentity conditionplayers only

True when the player is in the air in a way that makes a hit a critical: falling (fall distance above 0), not on the ground, not riding anything, and not sprinting.

No fields.

  • Vanilla's check also requires a charged attack (above 0.9), not climbing, not in water, and no Blindness. Add attack_cooldown_progress to get closer.

Example:

json
{
  "type": "origins:modify_damage_dealt",
  "condition": {
    "type": "origins:and",
    "conditions": [
      {
        "type": "origins-powerful-powers:critical_hit_eligible"
      },
      {
        "type": "origins-powerful-powers:attack_cooldown_progress",
        "comparison": ">=",
        "compare_to": 0.9
      }
    ]
  },
  "modifier": {
    "operation": "multiply_total_multiplicative",
    "value": 0.25
  }
}

Critical hits deal 25% more, on top of vanilla's critical bonus.

Attribute: critical_hit_eligible