Add Augment

Signature

addAugment(characterAddress, id, duration)

Description

Adds a (temporary) augment to a character.

If the augment identifier is invalid, this function will just return.

If the character already has the (temporary) augment, its duration will be refreshed.

Arguments

Character Address

The battle unit keep address of the character.

Identifier

The identifier of the augment.

Duration

The duration of the augment.

Only used if the augment has a timer defined in Battlepack Section 58.

Notes

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

Last updated