Status slots, hit effects and environments in full

Decoded from the Store build 1.3.25854.2 executable and checked against the skill table of the same build (which ids and values the usable records carry; counts only, below). It completes “Status slots”, “Status set”, “Environment” and “Hit effects” under “Skill kinds”. “P” is a character’s combat part (character + 0x40): +0x4 player index, +0xc health, +0x10 health cap, +0x18 aura level, +0x1c aura (f32, kept within 0..level), +0x61a0 back pointer to the character, +0x61b8 the slots. Ticks are 1/30 s. H/M/L as in SYSTEMS.md.

The 47 slots (complete table)

slot cap meaning written by read by conf.
0 9 strength: + damage of own attacks status 4, hit 12, env, copy / invert card power 0x140272400 H
1 90 movement speed % status 5, hit 13, env movement 0x14025c980, 0x140256e80 H
2 90 homing % status 6, hit 14, env shot steering 0x140262798 H
3 90 aura regen % status 7, hit 15, env regen 0x14024de73 H
4 1 bound (no movement) hit 6, defense add-on 4 movement starts 0x14024f9c0, 0x14025ad50, 0x14025b270 H
5 1 skill buttons locked (casts and pickups) hit 7, defense add-on 5 cast check 0x140262d80, pickup 0x1402517d8, HUD H
6 1 a skill press costs 1 health (at the cast and at a pickup) hit 8 cast 0x140262819, pickup 0x140251b9b, HUD H
7 1 unused: no writer and no reader with this slot number — — M
8 1 can’t be locked on to; cleared when hit or KO’d status 12, 13 lock valid 0x1402543e0, character tick 0x14024f21d.. H
9 4 forced target: value = a player index + 1; the holder can lock only that player hit 40 (the attacker’s index + 1, for 0x64 ticks) lock valid 0x1402544af H
10 4 unused (same cap as 9, so a player index + 1 by design; no writer, no reader) — — M
11 1 levitate; cleared when hit or KO’d status 13 movement 0x140254590, 0x140257c70, 0x14025a330.. H
12 1 pickups locked on every button; cleared when hit or KO’d, together with 8 and 11 only hit 16 from an object whose slot index is −1 (13 − 1); no usable record does that pickup 0x14025185e M
13..16 1 button 0..3 locked: no cast and no pickup on that button hit 16 (slot 13 + the attack’s own button index, for 0x64 ticks) cast check 0x140262f9a, pickup 0x14025186e, HUD H
17 1 1 health per cast hit 19, env cast 0x14026288c H
18 1 1 health per capsule picked up hit 20, env pickup 0x140251bca H
19 1 health per aura particle picked up (amount not separated) hit 21, env pickup 0x140251bf9 M
20 1 every attack pierces hit 22, env block 0x140271d9e H
21 / 22 10 attacks with damage ≥ slot 21 / ≤ slot 22 banned (rule below) hit 23 / 24 (value 0x64, ticks 0x66), env cast check 0x140262e76.. H
23 1 attack skills banned (record type 1) hit 25 cast check 0x140262f47 H
24 1 defense skills banned (type 2) hit 26 cast check (slot = type + 22) H
25 1 erase skills banned (type 3) hit 27, env same H
26 1 status skills banned (type 4) hit 28 same H
27 1 special skills banned (type 5) hit 29 same H
28 1 environment skills banned (type 6) hit 30 same H
29 1 no aura regen while moving hit 31, env regen 0x1402523a0 H
30 1 costs doubled (> 0) or halved (< 0) hit 32 (value 0x64), env cost 0x140262149, 0x1402623b0, 0x1402626d0 H
31 1 attack bonuses / pierce off hit 33, env 0x14026f568, 0x140271820, 0x1402723b0 H
32 1 every skill single-use hit 34, env 0x140263100, 0x140263410, 0x1402635b0 H
33 1 hit immunity status 14, hit 35 hit 0x14026fa7f H
34 900 capsule respawn delay + value ticks hit 36 (value 0x64), env capsule refill 0x14014fe48 H
35 1 directional controls inverted hit 37, env movement 0x14024f90f, 0x14025adae.. H
36 1 skill buttons scrambled (the mapping is re-drawn with two rand() values when set on a locally played character, 0x1402568a0) hit 41 0x140256920, 0x14025c7dd, HUD H
37 1 team chat (no gameplay effect) status 17 0x1401871e6, 0x14027b356 M
38 / 39 10 skills with cost ≥ / ≤ the value banned env cast check 0x140262dc3.. H
40 1 school-0 (aura) cards banned: the school rule reads slot 40 + record 0x12, so 41..45 are schools 1..5 and 40 is school 0 no fixed writer (env types 41..45 exist, 40 does not) cast check 0x140262f88 M
41..45 1 one school banned each env same H
46 1 unused: set by hit effect 52 (no record has it); no reader hit 52 — M

“hit n” = hit effect n, “status n” = status-set effect n, “env” = an environment record of that type exists in the data. Besides those, any slot can be read and added to by two script built-ins (0x14020e880 read, 0x140211080 add; story scripts), and every slot’s on/off state goes out as one bit of a 64-bit mask at the start of each position message (builder 0x1402502a0), so remote peers know which slots are active. Only slots 0..3 are sent with their numbers (below).

Status set effects (switch 0x140270b00), the open ids

Arguments: target P, the skill object, id, value, ticks. All 23 ids:

id effect used by usable records conf.
1 / 2 / 3 aura level / aura / health + value yes H
4..7 slots 0..3 + value for ticks yes H
8 status reset (above) yes H
9 aura + (value − 1) × aura, when aura > 0 (so “aura × value”) no M
10 aura level + the current level yes H
11 stance A: only on a locally played character. The skill’s cast profile (record 0x14 → profile row of 0x72 bytes; tag 1) supplies the animation (0x4C) and three values (0x56, 0x52, 0x54) for the action start 0x1402573e0; the character goes to action state 0x15; a voice / cue picked by 0x1401272b0 (profile, skill) plays through 0x140259800 yes (2) M
12 slot 8 = 1 for ticks (0 = permanent) yes H
13 slots 8 and 11 = 1 for ticks, both notified, then the float start 0x140257b90 (value as a float, the skill’s button index, constant at 0x1402f7ce4); only on a locally played character yes (1) M
14 slot 33 = 1 for ticks yes H
15 stance B: as 11, with action state 0x16 yes (1) M
16 give cards: needs the skill’s target. Every card in the caster’s four buttons, except the button this skill was cast from, is written into the same button of the target (the slot card routine 0x140261a00). In the net modes a 4-byte “card into slot” message per card is sent instead {card id u16, target player, button} no M
17 slot 37 = 1 yes H
18 copy the target’s slots 0..3 onto the caster’s yes H
19 take back the last used card: pops the newest entry of the caster’s used pile (deck block + 0x640 + p·0x190, count at + 0xC90 + p·4) and writes it into the button this skill was cast from yes (1) M
20 deck view: only for a local human player. Opens the routine 0x1401582f0 over the undrawn part of the deck (30 − draw pointer cards, from deck[draw pointer]) with this skill’s button; if that succeeds the character goes to action state 0x18 yes (1) L
21 used cards back into the deck, value times: while the draw pointer > 0 and the used pile is not empty, take a random used card (index = (rand() & 0x7FFF) · count >> 15), close the gap in the pile, and insert it into the undrawn part at a random place (k = (rand() & 0x7FFF) · (30 − pointer) >> 15 positions after the new front); the draw pointer goes down by one yes (2) M
22 strip id-0 cards: every undrawn deck entry with card id 0 (the aura card) is taken out (the entries before it move up one, the draw pointer goes up one), until none is left yes (1) M
23 invert own stat changes: when any of slots 0..3 is set, base and timed value of each are negated (ticks kept) no M

After any id the cue routine 0x140271590 plays a character cue at the target (0x140276330, cue id, volume and pitch 0x1000, at P + 0xa0): id 1 → 0x59 (value > 0) or 0x5a; ids 4..7 → 0x5f (value > 0) or 0x60; id 8 → 0x62; id 10 → 0x59; ids 18 and 23 → 0x61; nothing for the rest.

The 52 hit effects (switch 0x140272bc0)

Arguments: the target’s P (“T”), the attack’s skill object, and the health the hit just took (third argument, from the hit routine 0x14026f870). “A” is the attacker’s P (object + 0x40), v = record 0x64, w = record 0x66, “dmg” = the attack’s carried value (object + 0x60), “btn” = the attack’s own button index (object + 0xc). The routine returns 1 when something was applied. “n” = usable records with the id.

id what it does n conf.
1 T aura − v 2 H
2 T aura level − v 4 H
3 T aura ÷ v (v > 0) or × −v (v ≤ 0), capped at the level; nothing at level 0 0 M
4 T aura level ÷ v (v > 0) or × −v (v ≤ 0), through the level-set routine 0x14024d8b0 5 H
5 explode (handled before the switch) 7 H
6 / 7 / 8 T slot 4 / 5 / 6 + 1 for v ticks 8 / 6 / 8 H
9 health steal: T health − v, or with v = 0 the health this hit took; A health + the same amount 5 (all v = 0) M
10 aura steal: T aura − v (v = 0: dmg); A aura + what T lost (whole points) 1 H
11 level steal: T level − v (v = 0: dmg); A level + what T lost 2 H
12..15 T slot 0..3 + v for w ticks (0 = permanent) 3 / 3 / 1 / 1 H
16 T slot 13 + btn + 1 for v ticks: the target’s button with the same index as the one the attack was cast from is locked 2 H
17 status reset of T (when it has any) 2 H
18 no case code (falls to the common end); the records that carry it get their behaviour elsewhere, not followed 3 L
19..22 T slot 17..20 = 1 for v ticks (0 = permanent) 0 M
23 / 24 T slot 21 / 22 = v for w ticks 0 M
25..31 T slot 23..29 = 1 for v ticks (0 = permanent) 0 M
32 T slot 30 = v for w ticks 0 M
33 / 34 / 35 T slot 31 / 32 / 33 = 1 for v ticks 0 M
36 T slot 34 = v for w ticks 0 M
37 T slot 35 = 1 for v ticks 2 H
38 erase the active environment (0x14017ba00, below); first an effect from the attack’s cast profile is played at the environment’s place (0x1402729c0) 3 M
39 38, then 17 1 M
40 T slot 9 = A’s player index + 1 for v ticks (forced target) 1 H
41 T slot 36 = 1 for v ticks, notify, and the button mapping is re-drawn when T is locally played 1 H
42 T’s field P + 0x61b4 = btn (its reader was not followed) 1 L
43 T health + v 2 H
44 T aura level + v 3 H
45 forced action: only when T is locally played. The attack record’s 0x74 picks an action-table row, whose 0x52 goes with the skill id to the action start 0x140257e90 on T. This is the “follow-up reaction” field 3 M
46 health equalised: both get (A health + T health) / 2 (toward zero) 1 H
47 T aura level = the lowest level among the living players; aura capped to it 1 M
48 / 49 n = T’s capsule slots (of 3) in state 2 that hold card id 0; T health (48) or aura level (49) − n × v 0 / 1 M
50 A’s cards are written into T’s buttons (all but btn), as status effect 16 1 M
51 T’s slots 0..3 inverted (as status effect 23) 3 H
52 T slot 46 = 1 for v ticks (0 = permanent) 0 M

Environments (set 5): which one counts, how they end

One global list (0x14058bd30): +0 the handle of the ambient cue, +8 a visual object, +0x10 four entries of 0x1C, one per player: {+0 position f32[3], +0xC skill id (−1 none), +0x10 start tick, +0x14 end tick (−1 = no end), +0x18 change stamp}.

How a status shows

Not decoded

Hit effect 18’s real handler; the reader of P + 0x61b4 (hit effect 42); what a button holds after an environment capture; action states 0x15 / 0x16 / 0x18 of the stances and the deck view (state machine 0x140256f53) and the deck view routine 0x1401582f0; the float start 0x140257b90; slot 19’s amount; the draw side of the HUD button flash; the remote side of the status bit mask (decoder 0x14018f940); the draw countdown.

Implementation notes for the rebuild

  1. pd_status.gd: name the new slots (9 forced target, 12 pickups locked, 13..16 button locks, 23/24/26/27/28 type bans, 40 school-0 ban); treat 7, 10, 46 as unused. Clear 8, 11 and 12 on every hit taken and on KO.
  2. One skill-allowed function in the order above (slot 5, cost bans, type rule with the damage-ban exemptions, school slot, button slot); pickups check 5, 12, 13 + button.
  3. Health costs: slots 6 and 17 at a cast, 6 and 18 at a capsule pickup, 1 health each.
  4. Hit effects: converter emits one decoded action per id from the table (aura / level / health changes with the v = 0 → dmg rule, steals paid to the attacker, slot writes with value v or 1, reset, invert, forced target, button lock by the attack’s button index, equalise, lowest level, card copy, environment erase, forced action). Fix the two wrong classes (ids 1, 2, 11, 44 and 4, 47 are aura / level, not health).
  5. Status set: add ids 19, 21, 22 (they need the used pile: every spent card appended, in order) and 9, 16, 23; stances 11 / 15 and the deck view 20 wait for their action states.
  6. Environments: one entry per player, cast ignored while one is active, 0x5A end, the oldest-first rule, erase by hit effects 38 / 39, capture as pickup kind 3 within 15 units after 0x56 ticks, owner-gone end (start + 60), cues 0x5d / 0x5e / 0x58 / 0x57.
  7. Show: cues by id as listed, character effects 518 / 519 / 521 for slots 8 / 11 / 33, HUD icons and stat numbers from the two sprite tables, the 16-tick button flash.
  8. Netplay: our host-authoritative protocol needs the steal amounts, the environment entry and the capture as events; slots 0..3 by value, the rest as a mask is what the game sends.

Built (hitfx 11-10): notes 1..4 (the 52-row table in pd_hit_effect.gd, applied after a shot’s damage with the health it took, its carried value and its button; the skill-allowed check PdStatus.refuses, the pickup check PdStatus.refuses_pickup, the health costs, the 8 / 11 / 12 clear). Our protocol is host-authoritative, so steals reach the attacker through the normal health / aura / level sync instead of the 4-byte steal message. Not built: see the PLACEHOLDERS rows “Hit effects beyond status slots” and “Skill button scramble”.

Built (envs 11-10): note 6 and the environment cues of note 7. PdEnvironment (godot/scripts/combat/pd_environment.gd, one per match, Match.env) keeps the four entries in match ticks; the data template “environment” (DataSkill) stores the caster’s entry at the release (refused while one is active, the card spent all the same); PdStatus.value adds the active entry’s value to its slot for every character, so every reader of a slot sees it. Ends: the end tick, hit effects 38 / 39 (PdHitEffect, 39 then resets), capture (Player.use_slot after the capsule search: within 15 u, guard over, the pickup refusals of slots 5 / 12 / 13 + button), the owner freed or knocked out (end = start + 60), and the game’s net rule 5 run on the host for any later live entry. Our protocol is host-authoritative, so instead of messages 9 / 10 / 11 the host sends the whole list, the active index and the cue played (event ENV, net version 13) on every change; the client only mirrors it. Not built: the forced environment of mode 5, the visual object and flashes, what a captured button holds (PLACEHOLDERS rows “Environments (set 5)”, “Environment capture”, “Environment visual object”).