unit_boss_class
Global of Himegari Dungeon Meister: the cell G:0x72296, of type int[1000], data-table, values 0 ordinary; a signed boss class ±1..±4: any nonzero class is a boss, a positive one is a target of the defeat-the-bosses victory rule, and ±4 is a final boss; no script tells 1, 2 and 3 apart.
Nonzero for 112 EBINIT units: bosses, special encounters, summoned adds and map hazards. What the scripts tell apart is zero, nonzero, the sign, and ±4. Any nonzero class: the passive skill 大物殺し (skill 50, ボス系の敵に強い) adds 10 to its bonus against it (CALCDMG@0x63c-0x651); a condition whose condition_can_affect_bosses is 0 does not take (CALCILL@0xa6-0xd7); FIELD@0x32f1-0x331f and MAGIC@0x6f0-0x71e only offer a unit of class 0 with more than 1 HP; the battle plays boss music 0x15 (FIELD@0x72a9-0x72e1); and FIELD draws the yellow boss marker under the unit's faction banner (FIELD@0xa5ab-0xa5ce). A positive class: under the defeat-the-bosses victory rule (STINIT's 0xe7308 = -2) FIELD waits while any non-player unit of a positive class lives (FIELD@0x8f35-0x8fad), so a negative class keeps the boss treatment and is not a target, as with Octavia beside Bridget, Deirdre's shadows, the EX-8 adds beside Tiamat, and the final boss's three organs. ±4: the final battle music 0x16 (FIELD@0x7223-0x72a1), and no banner or marker on the map (FIELD@0xa546-0xa577). Classes 1, 2 and 3 are authoring groups no script branches on: 1 the story's named characters (34 units, such as エステル and ブリジット as bosses), 2 monster and dragon bosses (40, such as オーク/BOSS and 地竜バマス/BOSS), 3 the demon gods, the demon lord and the spirit princess (4: 魔神ラテンニール, 魔神ハルファス, 魔王モーヌ, 精霊王女フィファ).
OME’s registry gives it with high confidence, from investigation. The base mod himegari-base exports the name, so Lua and an event’s fields can use it.
Record tables
It is a field of the table unit, as unit.id.boss_class.
Scripts that use it
The game’s scripts whose instructions read, write or index (take as an array’s base) the cell, with how many of their operands do each, from OME’s script index.
| Script | Reads | Writes | Indexes |
|---|---|---|---|
EBINIT | 0 | 112 | 0 |
FIELD | 0 | 0 | 11 |
$1$EBINIT | 0 | 4 | 0 |
CALCDMG | 0 | 0 | 1 |
CALCILL | 0 | 0 | 1 |
MAGIC | 0 | 0 | 1 |
USEMAGIC | 0 | 0 | 1 |