Alchemy
Loading...
Searching...
No Matches

EncounterZone Struct Reference

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

Data Fields

u16 rate
 the base encounter rate
u16 level
 the party level the zone is made for
u16 enemies [ENCOUNTER_GROUP_COUNT]
 the enemy groups that can appear
u8 weights [ENCOUNTER_GROUP_COUNT]
 each group's relative chance

Detailed Description

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

Definition at line 33 of file encounter.c.

Field Documentation

◆ rate

u16 EncounterZone::rate

the base encounter rate

Definition at line 34 of file encounter.c.

Referenced by Encounter_SelectEnemyGroup().

◆ level

u16 EncounterZone::level

the party level the zone is made for

Definition at line 35 of file encounter.c.

Referenced by Encounter_SelectEnemyGroup().

◆ enemies

u16 EncounterZone::enemies[ENCOUNTER_GROUP_COUNT]

the enemy groups that can appear

Definition at line 36 of file encounter.c.

Referenced by Encounter_SelectEnemyGroup().

◆ weights

u8 EncounterZone::weights[ENCOUNTER_GROUP_COUNT]

each group's relative chance

Definition at line 37 of file encounter.c.

Referenced by Encounter_SelectEnemyGroup().