Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

OnPlayerHurt

ShingekiNoRex edited this page Aug 24, 2018 · 7 revisions

Description

Called before the player is going to take damage.

In case the attacker can't be passed, attacker will be null (fall damage etc), so check for that before doing something.

Handler

IEventHandlerPlayerHurt

Inputs/Outputs

The player who takes damage

The attacker who damages the player

  • float Damage { get; set; }

The amount of damage the player takes

The type of damage taken

Examples

Need to be added

Server Guides

API Documents

Clone this wiki locally