Skip to Content
The Alchemy Project

struct ENCOUNTER_ZONE

An encounter zone, a row of EncounterZones: its rate, the level it is made for, and the formations that can appear with their chances.

Declared in encounter_zone.h.

Fields

NameDescription
Uint16rateThe base encounter rate; 0 for a zone with no random encounters
Uint16levelthe party level the zone is made for
Sint16formations [8]the formations that can appear, by formation id
Uint8weights [8]each formation's relative chance

Description

An encounter zone, a row of EncounterZones: its rate, the level it is made for, and the formations that can appear with their chances.

struct ENCOUNTER_ZONE

Referenced by EncounterZones and fdEncounterCountStepsAndSelectFormation().

Definition at line 10 of file encounter_zone.h.

Fields in detail

rate

Uint16 rate

The base encounter rate; 0 for a zone with no random encounters

level

Uint16 level

the party level the zone is made for

formations

Sint16 formations[8]

the formations that can appear, by formation id

weights

Uint8 weights[8]

each formation's relative chance