Origins: Powerful Powers
» Entity conditions » Hurt time

Hurt time

origins-powerful-powers:hurt_timeentity condition

Ticks left in the entity's "just got hurt" animation (the red flash). Set to 10 when it takes damage, then counts down by 1 each tick to 0.

FieldTypeDefaultDescription
comparisonComparisonrequired
compare_toIntegerrequiredticks, 0 to 10
  • False for entities that aren't living (like boats).

Example:

json
{
  "type": "origins:modify_damage_dealt",
  "condition": {
    "type": "origins-powerful-powers:hurt_time",
    "comparison": ">",
    "compare_to": 0
  },
  "modifier": {
    "operation": "multiply_total_multiplicative",
    "value": 0.3
  }
}

For half a second after being hurt, your hits deal 30% more: retaliation.

Attribute: hurt_time