BF2.US bf2-rsdeveloper wiki Parity Discord bf2.us
Battlefield Heroes
On this page

Elixir: the feature checklist

Heroes

Elixir is a Battlefield Heroes ability, Commando. This page is its checklist from the project's feature ledger: every step of the original's code behind it and every situation it must work in, each with the proof that stands for it, or none. The ledger's status today: 7 of 87 lines checked.

checked

Situations: 1 of 15 checked for what the game does, 0 of 15 for what a player sees. The original's code: 6 of 57 checked (10 functions and 47 inner calls). By the ledger's rule this feature is not called done, fixed or the same as the original. The ledger was written on 2026-11-28 11:55.

What a check is

Every line has a kind: W, what the game does with nothing to see (a number, a speed, a refusal), or S, what a player sees or hears. A W line is checked by a test written from the original's code or by a play with a recorded pass; an S line only by a recorded play whose pixels an assert reads, or that a person looked at and wrote so. A scenario that merely exists, a test that merely calls the Rust function and a read of the listing are not checks. All feature checklists explains the rule.

What it is for a player#

a shield of 10 / 15 / 20 / 25 / 35 and speed x 1.2 for 5 / 7 / 9 / 11 / 13 s; ready again after 15 / 15 / 13 / 13 / 10 s (Commando)

That is this wiki's own line about it, taken at build time from the page that tells it.

the name a player knowsElixir
kindability, Commando
in the game's dataEscape, levels 1 to 5 (2041 to 2045)
its row in the sweepsnotes/bfheroes/ability_sweep.md, the row Elixir; notes/bfheroes/abilities_table.md rows C6-L1 to C6-L5

The original's entry functions#

Where the original starts doing it (BFHeroes.exe 1.126). The code behind the feature is everything these reach.

AddressWhat it is, in the ledger's wordsFollowed
0x00738369the shield item's constructor (the enable 0x007728de makes it with radius -1: no mate)whole
0x00739567the shield item's attachwhole
0x00737b69the movement item's constructor (radius -1)whole
0x0073929ethe movement item's attachwhole

The situations#

Every situation the ledger's matrix names for a feature of this kind, with its two lines side by side. "Has a scenario, no recorded pass" and "passed on a branch not landed" are the ledger's words for a play that is not a check yet.

SituationWhat the game does (W)What a player sees (S)Note
used on footchecked: play with a recorded pass, state asserts (scenario bfh_escape (PASS in run 20261119_123814_verify_d77ca9f_lane3 on d77ca9f))open: play with a recorded pass, state asserts (scenario bfh_escape (PASS in run 20261119_123814_verify_d77ca9f_lane3 on d77ca9f))played by state: no screenshot is read
used at the wheel of a vehicleopen: not checkedopen: not checked
used from a passenger's or a gunner's seatopen: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_commando (no recorded result))open: has a scenario, no recorded pass (scenario bfh_r0105_seat_keys_commando (no recorded result))played by state: no screenshot is read
the user dies while it runsopen: not checkedopen: not checked
after the user respawnsopen: not checkedopen: not checked
the round ends while it runs, and the next round starts cleanopen: not checkedopen: not checked
the map changes while it runsopen: not checkedopen: not checked
a player who joins while it runs sees itopen: not checkedopen: not checked
watching a team mate who uses it (after dying, or as a spectator)open: not checkedopen: not checked
team mates against enemies (who gets it and who does not)open: not checkedopen: not checked
in water (swimming)open: not checkedopen: not checked
on a ladderopen: not checkedopen: not checked
while another effect runs on the same heroopen: not checkedopen: not checked
the effect on a target or user in a vehicle seat is drawn on the vehicleopen: not checkedopen: not checked
triggered in a round's last seconds, the next roundopen: not checkedopen: not checked

Recorded plays#

4 more scenarios the ledger names have no row in the records file: bfh_r0105_elixir, bfh_r0105_elixir_shield, bfh_escape, bfh_r0105_seat_keys_commando.

A recorded pass on a commit that is not in the tree's history counts, in the ledger's words, as "passed on a branch not landed", and is not a check. A run is named by its folder's name; the runs themselves are not published, so a row links to nothing. The ledger also reads run folders that this file does not hold; the tables above carry its verdicts.

The code behind it#

27 functions of the original reachable from the entries, as the ledger's tool walked them: each with its kind, the port's place, the proof that stands for it and that proof's kind. "Checked" is the ledger's tick; a row that is no line of the checklist (library code, shared engine code that is tested in its own game) says so.

The original's functionKindReachedOursProofIts kindChecked
0x00738369 world::ShieldStatusItem::ShieldStatusItemWentry, depth 0crates/bfh-game/src/abilities/shield.rs:3scenario bfh_elixir (PASS in run 20261119_123814_verify_d77ca9f_lane1 on d77ca9f) (+2 more)play with a recorded pass, state assertsyes
0x00739567 FUN_00739567Wentry, depth 0crates/bf2-server/src/field_heroes.rs:1053 (fn give_shields)crates/bf2-server/tests/shield_end_tick_heroes.rs:98 (fn the_tank_shield_is_the_driven_tanks_armors_and_takes_the_hits_first), crates/bf2-server/tests/shield_seated_mate_heroes.rs:2 (fn a_seated_team_mate_gets_no_hero_shield)test from the original's codeyes
0x00737b69 world::MovementStatusItem::MovementStatusItemWentry, depth 0crates/bfh-game/src/abilities/mod.rs:569 (fn item_kinds)scenario bfh_elixir (PASS in run 20261119_123814_verify_d77ca9f_lane1 on d77ca9f) (+8 more)play with a recorded pass, state assertsyes
0x0073929e world::MovementStatusItem::vslot4Sentry, depth 0crates/bf2-client/app/src/client/heroes_hud.rs:3132 (fn heroes_weapon_bar)crates/bfh-game/src/abilities/tests.rs:215 (fn spread_speed_gives_the_victim_effect), crates/bfh-game/src/abilities/victim.rs:598 (fn a_movement_item_ends_the_slow_and_its_effect_before_it_sets_the_speed)test from the original's codeyes
0x00737a77 FUN_00737a77W0x00738369, depth 1crates/bfh-game/src/abilities/mod.rs:709 (fn is_set)scenario bfh_client_browser_seated_widget_sound (no recorded result)has a scenario, no recorded passopen
0x0041b7fd FUN_0041b7fdW0x00739567, depth 1engine utility (>= 100 call sites)not a line
0x00428d62 FUN_00428d62W0x00739567, depth 1engine utility (>= 100 call sites)not a line
0x0048eeba FUN_0048eebaW0x00739567, depth 1engine utility (>= 100 call sites)not a line
0x0049d8df FUN_0049d8dfW0x00739567, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0049e84f FUN_0049e84fW0x00739567, depth 1crates/bf2-python/src/host_state.rs:606 (fn dispatch_event)crates/bfh-server/src/tests_script_events.rs:7 (fn BFHeroes)not a line: hub (57 callers): not expanded
0x0050e4cb FUN_0050e4cbW0x00739567, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0050e4ff FUN_0050e4ffW0x00739567, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00533dab FUN_00533dabW0x00739567, depth 1crates/bf2-server/src/damage.rs:9301 (fn server_resurrect)crates/bf2-server/tests/two_player_event_heroes.rs:45 (fn heroes_two_player_event_gives_a_handler_the_first_player_and_then_the_second)test from the original's codeyes
0x00737afe world::EffectStatusItem::EffectStatusItemW0x00739567, depth 1crates/bf2-server/src/abilities_heroes.rs:741 (fn add_status_effect)scenario bfh_client_prestige_hud (PASS in run 20261128_113209_verify_b82b444_lane4 on b82b444)has a scenario; its recorded pass is on a branch not landedopen
0x0073a631 FUN_0073a631W0x00739567, depth 1crates/bf2-server/src/field_heroes.rs:1095 (fn give_shields)bfh_client_itembar_vehicle, bfh_client_victim_slow_escapethe counter's weaker proofopen
0x009bd22c FUN_009bd22cW0x00739567, depth 1engine utility (>= 100 call sites)not a line
0x009c0bc8 world::ObjectFlagPredicator::ObjectFlagPredicatorW0x00739567, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x009f0895 __EH_prolog3W0x00739567, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x009f096d __EH_epilog3W0x00739567, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x004f34e9 FUN_004f34e9W0x0073929e, depth 1forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor)not a line
Show all 27 functions (the other 7)
The original's functionKindReachedOursProofIts kindChecked
0x00707d97 FUN_00707d97W0x0073929e, depth 1crates/bfh-game/src/abilities/victim.rs:330 (fn kit_class)crates/bfh-game/tests/small_helpers_bfh126.rs:4 (fn heroes)test from the original's codeyes
0x0041b829 FUN_0041b829W0x00737a77, depth 2engine utility (>= 100 call sites)not a line
0x004b3cf5 FUN_004b3cf5W0x00737a77, depth 2engine utility (>= 100 call sites)not a line
0x0049da3a FUN_0049da3aW0x00533dab, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0049db1d FUN_0049db1dW0x00533dab, depth 2NOT PORTEDNot retail (crates/bf2-server/src/pyhost.rs:724)noneopen
0x0052a594 FUN_0052a594W0x0073a631, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x004f34d6 FUN_004f34d6W0x004f34e9, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line

Inner calls#

A call through a virtual table has no line in the call graph; the ledger lists every one it met: 47 here, 47 of them open lines (nobody has named what they call, or what they call is not checked).

What is open#

In a player's words, as the ledger writes them:

  • used on foot (what you see): played and passed, but no assert read the screen and nobody wrote that they looked
  • used at the wheel of a vehicle (what it does): not checked
  • used at the wheel of a vehicle (what you see): not checked
  • used from a passenger's or a gunner's seat (what it does): has a scenario, no recorded pass
  • used from a passenger's or a gunner's seat (what you see): has a scenario, no recorded pass
  • the user dies while it runs (what it does): not checked
  • the user dies while it runs (what you see): not checked
  • after the user respawns (what it does): not checked
  • after the user respawns (what you see): not checked
  • the round ends while it runs, and the next round starts clean (what it does): not checked
  • the round ends while it runs, and the next round starts clean (what you see): not checked
  • the map changes while it runs (what it does): not checked
  • the map changes while it runs (what you see): not checked
  • a player who joins while it runs sees it (what it does): not checked
  • a player who joins while it runs sees it (what you see): not checked
  • watching a team mate who uses it (after dying, or as a spectator) (what it does): not checked
  • watching a team mate who uses it (after dying, or as a spectator) (what you see): not checked
  • team mates against enemies (who gets it and who does not) (what it does): not checked
  • team mates against enemies (who gets it and who does not) (what you see): not checked
  • in water (swimming) (what it does): not checked
  • in water (swimming) (what you see): not checked
  • on a ladder (what it does): not checked
  • on a ladder (what you see): not checked
  • while another effect runs on the same hero (what it does): not checked
  • while another effect runs on the same hero (what you see): not checked
  • the effect on a target or user in a vehicle seat is drawn on the vehicle (what it does): not checked
  • the effect on a target or user in a vehicle seat is drawn on the vehicle (what you see): not checked
  • triggered in a round's last seconds, the next round (what it does): not checked
  • triggered in a round's last seconds, the next round (what you see): not checked

And 51 lines about the original's code (the first 25):

  • a step of the original (FUN_00737a77): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (world::EffectStatusItem::EffectStatusItem): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (FUN_0073a631): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_0049db1d): this part of the original is not in ours
  • an inner call of the original (in 0x00739567, slot 0xc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0xc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x18) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x34) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x40) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x4c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x54) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x54) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x58) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x58) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x6c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x74) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00739567, slot 0x74) is not followed yet: nobody has named what it calls

The other 26 stand in the ledger's file.

How it is tested#

This page is the answer: the tables above name each test and each played scenario that stands for a line, with its kind. The ledger's own tool refuses a status that disagrees with its rows, a tick the rule does not give, and a proof that is not in the tree (feature_ledger.py --check). The wiki's test checks that this page says done only where the ledger does.

In the code#

WhatWhere
this feature's ledgernotes/bfheroes/features/ability/elixir.toml (its ticks: the folder notes/bfheroes/features/ability/elixir.ticks)
the ledger's rulenotes/bfheroes/features/README.md
the recorded resultsnotes/bfheroes/features/records/<run>.tsv
the tool that walks the original's call graph and computes the statustools/bfheroes/feature_ledger.py
the counter the ledger was made withbfheroes e7ed773 2026-11-28T11:50:06
this page's makertools/devwiki/features.py
Source: tools/devwiki/features.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.