Skip to Content
The Alchemy Project

src/battle/action_weights.c

The enemies' action weights.

Variables

NameDescription
const Uint8BattleAIActionWeights [3][8]btAIChooseAction's rolls for the first three action strategies, a row each: the chance in 256 of each place in the enemy's actions.

Description

The enemies' action weights.

Variables in detail

BattleAIActionWeights

const Uint8 BattleAIActionWeights[3][8]

btAIChooseAction's rolls for the first three action strategies, a row each: the chance in 256 of each place in the enemy's actions.

Referenced by btAIChooseAction().

Definition at line 8 of file action_weights.c.