Knock Out (Entity Action Type)

Knocks the entity out.

Puts the entity into the knocked-out state directly, as if they had run out of health.

Type ID: apoli:knock_out

Fields

None.

Example

An ability that downs whoever you hit instead of killing them:

{
  "type": "apoli:action_on_hit",
  "bientity_action": {
    "type": "apoli:target_action",
    "action": { "type": "apoli:knock_out" }
  },
  "condition": {
    "type": "apoli:resource",
    "resource": "mypack:subdue",
    "comparison": ">",
    "compare_to": 0
  }
}

Needs Hardcore Revival. These types do not exist without it, so a pack using them must depend on the mod.