Shift Elements

Signature

shiftElements(elements, character)

Description

Sets a single element as a weakness while absorbing all other elements.

The element is randomly selected based on all inactive elements. If no elements are inactive, then no element will be set as a weakness while all elements will be absorbed.

Arguments

Elements

A metatable of all elements.

Character Address

The formula processing work plus address of a character.

Notes

The elemental affinities are not instantly added to the character. Instead, the formula processing work plus structure will be modified which is then used to update the character's elemental affinities when OnEnd functions are processed.

Last updated