Response Typescript
EntitiesMobiles, Objects

    This trigger will fire whenever an attack is made. In the case the mobile
makes more than one attack during the damage round then this will fire for
every attack.

@n - The owner of the weapon owning the trigger.

@t - The target of the attack or null if the target has died.

@o - The weapon making the attack. The same as @i.

@x - The amount of damage done by the attack, -1 if the attack missed,
or 0 if a thrown weapon missed.