Skip to Content
The Alchemy Project

struct PSYNERGY_ENTRY

An entry in a unit's action list: the action's id (PSYNERGY_ABILITY_MASK) and marks for an action its class or an equipped item gave.

Declared in battle_unit.h.

Fields

NameDescription
Uint16encodedActionbits: 15 from the class | 14 from an equipped item | 13..0 action id.
Uint16unusedno code names it

Description

An entry in a unit's action list: the action's id (PSYNERGY_ABILITY_MASK) and marks for an action its class or an equipped item gave.

struct PSYNERGY_ENTRY

Referenced by gmUnitKnowsPsynergy(), gmUnitRefreshPsynergy(), mnBattleDjinnMenuListChangedAbilities() and mnPsynergyListDifference().

Definition at line 23 of file battle_unit.h.

Fields in detail

encodedAction

Uint16 encodedAction

bits: 15 from the class | 14 from an equipped item | 13..0 action id. Entries with neither mark were taught for good; 0 is empty.

unused

Uint16 unused

no code names it