Modify Projectile Damage (Power Type)
Changes how much damage projectiles fired by the entity with the power deal.
Type ID: apoli:modify_projectile_damage
Fields
| Field | Type | Default | Description |
|---|---|---|---|
damage_condition | Damage Condition Type | optional | If set, the modifiers and actions only apply when the damage passes this condition. |
modifier | Attribute Modifier | optional | If set, this modifier is applied to the damage. |
modifiers | Array of Attribute Modifiers | optional | If set, these modifiers are applied to the damage. |
target_condition | Entity Condition Type | optional | If set, the modifiers and actions only apply when the entity that was hit passes this condition. |
self_action | Entity Action Type | optional | If set, this action runs on the entity with the power whenever the modifiers are applied. |
target_action | Entity Action Type | optional | If set, this action runs on the entity that was hit whenever the modifiers are applied. |
Examples
{
"type": "apoli:modify_projectile_damage",
"damage_condition": {
"type": "apoli:projectile",
"projectile": "minecraft:spectral_arrow"
},
"modifier": {
"operation": "addition",
"value": 8.0
}
}This makes spectral arrows shot by the entity deal 4 extra hearts of damage.