Skip to content

Action On Critical Hit

Provismet edited this page Jun 20, 2023 · 2 revisions

Power Type

Performs a bientity action when the player with this power critically hits ("jump crit") another entity. The attacker is the actor and the entity that was hit is the target.

Type ID: proviorigins:action_on_critical_hit

Note
This power does NOT activate if proviorigins:prevent_critical_hits is also active on the player.

Fields

Field Type Default Description
bientity_action Bientity Action Type The bientity action to execute when the actor performs a critical hit.
bientity_condition Bientity Condition Type Optional If present, the action will only execute if the condition is fulfilled.

Examples

{
    "type": "proviorigins:action_on_critical_hit",
    "bientity_action": {
        "type": "origins:target_action",
        "action": {
            "type": "origins:set_on_fire",
            "duration": 5
        }
    }
}

This example gives the player the power to set other entities on fire by critting them.

Clone this wiki locally