on_weapon_strike

Response Typescript
EntitiesObjects
Parameters-

    This trigger will fire whenever a strike is attempted. In the case the
weapon attempts more than one strike during the damage round then this
will fire for every attempt.

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

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

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

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

Note: This trigger ONLY fires for the weapon making the strike. if
you want the room or something in the room to trigger then you
want to use catch_weapon_strike instead.