Attack cooldown progress
origins-powerful-powers:attack_cooldown_progressentity conditionplayers only
How charged the player's attack is, from 0.0 (just swung) to 1.0 (fully charged). This is the value behind vanilla's attack indicator.
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | |
compare_to | Float | required | 0.0 to 1.0 |
Example:
{
"type": "origins:modify_damage_dealt",
"condition": {
"type": "origins-powerful-powers:attack_cooldown_progress",
"comparison": "<",
"compare_to": 0.5
},
"modifier": {
"operation": "multiply_total_multiplicative",
"value": -0.5
}
}Hits made before the attack is half charged deal half damage, on top of vanilla's own reduction.
Attribute: attack_cooldown_progress