Skip to Content
The Alchemy Project

struct BATTLE_SPOILS

A battle's spoils so far: coins, experience, enemies defeated and up to four items. More…

Declared in battle_action.h.

Fields

NameDescription
Sint32coins
Sint32experience
Sint32defeatedenemies defeated
Uint16items [4]Item ids dropped, 0 for an empty place; each id once, and a fifth drop replaces the lowest ranked (btSpoilsRankItem) if it ranks higher.

Description

A battle's spoils so far: coins, experience, enemies defeated and up to four items. BATTLE_STATE.spoils, cleared as the battle starts and added to as each enemy falls.

struct BATTLE_SPOILS

Referenced by btAwardSpoils(), btEnemyRecordDefeat() and btSpoilsClear().

Definition at line 88 of file battle_action.h.

Fields in detail

coins

Sint32 coins

experience

Sint32 experience

defeated

Sint32 defeated

enemies defeated

items

Uint16 items[4]

Item ids dropped, 0 for an empty place; each id once, and a fifth drop replaces the lowest ranked (btSpoilsRankItem) if it ranks higher.