Damage Nearby On Hit
Damages other nearby entities with the initial hit's damage upon damaging a target.
Type ID: apugli:damage_nearby_on_hit
Fields
Field | Type | Default | Description |
---|---|---|---|
damage_condition |
Damage Condition | optional | If specified, the damage condition required for this power to act upon damaging an entity. |
damage_type |
Identifier | The damage type used to deal damage to the nearby entities. | |
source |
Damage Source | DEPRECATED | Use damage_type instead. More information here. |
modifier |
Attribute Modifier | optional | If set, this modifier will apply to the damage value dealt to the nearby entities. |
modifiers |
Array of Attribute Modifiers | optional | If set, these modifiers will apply to the damage value dealt to the nearby entities. |
self_target_bientity_condition |
Bi-entity Condition | optional | If set, this condition must be met with the power holder as the actor and the initial attack target as the target to apply damage to nearby entities. |
self_nearby_bientity_condition |
Bi-entity Condition | optional | If set, this condition must be met with the power holder as the actor and an entity that should be damaged by this power as the target to apply damage to that entity. |
target_nearby_bientity_condition |
Bi-entity Condition | optional | If set, this applies an action to the initial attack target as the actor and any entities that were damaged by this power as the target. |
self_target_bientity_action |
Bi-entity Condition | optional | If set, this applies an action with the power holder as the actor and the initial attack target as the target. |
self_nearby_bientity_action |
Bi-entity Condition | optional | If set, this applies an action with the power holder as the actor and any entities that were damaged by this power as the target. |
target_nearby_bientity_action |
Bi-entity Condition | optional | If set, this applies an action with the initial attack target as the actor and any entities that were damaged by this power as the target. |
radius |
Float | 16.0 |
The radius in which this power will act. |
Examples
{
"type": "apugli:damage_nearby_on_hit",
"damage_type": "minecraft:on_fire",
"modifier": {
"operation": "multiply_total_multiplicative",
"value": -0.5
},
"self_target_bientity_condition": {
"type": "apoli:target_condition",
"condition": {
"type": "origins:on_fire"
}
},
"radius": 6
}
minecraft:on_fire
damage that has 50% of the initial damage value provided the initial attack target is on fire.