Skip to main content

Modify Damage Dealt (Power Type)

Changes how much melee damage the entity that has the power deals. The actor is the entity with the power, and the target is the entity that was hit.

Type ID: apoli:modify_damage_dealt

Fields

FieldTypeDefaultDescription
bientity_actionBi-entity Action TypeoptionalIf set, this action runs on the actor, the target or both whenever the modifiers are applied.
self_actionEntity Action TypeoptionalIf set, this action runs on the actor whenever the modifiers are applied.
target_actionEntity Action TypeoptionalIf set, this action runs on the target whenever the modifiers are applied.
bientity_conditionBi-entity Condition TypeoptionalIf set, the actions and modifiers only apply when the actor and target pass this condition.
target_conditionEntity Condition TypeoptionalIf set, the actions and modifiers only apply when the target passes this condition.
damage_conditionDamage Condition TypeoptionalIf set, the actions and modifiers only apply when the damage the actor deals passes this condition.
modifierAttribute ModifieroptionalIf set, this modifier is applied to the damage the actor deals.
modifiersArray of Attribute ModifiersoptionalIf set, these modifiers are applied to the damage the actor deals.

Examples

{
    "type": "apoli:modify_damage_dealt",
    "bientity_condition": {
        "type": "apoli:owner"
    },
    "modifier": {
        "operation": "multiply_total",
        "value": -1
    }
}

This cancels the damage the entity deals to entities it owns, so it can't hurt its own pets.