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.
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | |
compare_to | Integer | required | ticks, 0 to 10 |
- False for entities that aren't living (like boats).
Example:
{
"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