Remove Status Effect

Signature

removeStatusEffect(characterAddress, id)

Description

Removes a status effect from a character and sets its (tick) duration to 0.

If the status effect identifier is invalid or character does not have the (temporary) status effect, this function will just return.

Depending on the status effect, some additional functions are also called (e.g. play actor animation).

Arguments

Character Address

The battle unit keep address of a character.

Identifier

The identifier of the status effect.

Notes

For a list of status effect identifiers, you can view the battlepack spreadsheet in Resources.

Last updated