Set Level

Signature

setLevel(characterAddress, level, noVisual)

Description

Sets a character's level to a new value.

The new level must be higher than the current one. Otherwise the function will just return.

Arguments

Character Address

The battle unit keep address of a character.

Level

The character's new level.

No Visual

Controls whether visual feedback is shown (0) or not (1).

This includes a combat log, animation, sound, etc.

Notes

Visual feedback is only shown if character is a party member.

Last updated