Damage Source - Was Indirectly Caused (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.12

Syntax

%damagesources% (was|were) ([in]directly caused|caused [in]directly)

Description

Whether the damage from a damage source was indirectly caused. Vanilla damage sources are considered indirect if the 'causing entity' and the 'direct entity' are not the same. For example, taking damage from an arrow that was shot by an entity.

Examples

on damage:
	if event-damage source was indirectly caused:

View source