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

Bandage: the feature checklist

Heroes

Bandage is a Battlefield Heroes ability, every class. 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: 12 of 87 lines checked.

checked

Situations: 2 of 15 checked for what the game does, 0 of 15 for what a player sees. The original's code: 10 of 57 checked (15 functions and 42 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#

heals 6 / 7 / 8 / 9 / 12 % of the maximum every 1.5 s for 12 s; ready again after 3 s (every class)

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

the name a player knowsBandage
kindability, every class
in the game's dataBandage, levels 1 to 5 (2001 to 2005)
its row in the sweepsnotes/bfheroes/ability_sweep.md, the row Bandage; notes/bfheroes/abilities_table.md rows A1-L1 to A1-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
0x00738ecathe heal item's update: once, if the hero burns or is poisoned, every damage item ends and the Bandage heals nothing morewhole
0x007381e8the heal step: the percent of the maximumwhole
0x00736cdbthe base stepwhole

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_r0105_bandage_whole (PASS in run 20261119_122835_h16_r0105_bwhole_g1 on b13bdfb))open: play with a recorded pass, state asserts (scenario bfh_r0105_bandage_whole (PASS in run 20261119_122835_h16_r0105_bwhole_g1 on b13bdfb))played by state: no screenshot is read
used at the wheel of a vehicleopen: has a scenario, no recorded pass (scenario bfh_tank_driver_bandage (no recorded result))open: has a scenario, no recorded pass (scenario bfh_tank_driver_bandage (no recorded result))a Bandage started on foot gives a tank's hidden driver no step while he drives: played by state: no screenshot is read
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 herochecked: play with a recorded pass, state asserts (scenario bfh_bandage_cures_burn (PASS in run 20261022_162726_bfheroes))open: play with a recorded pass, state asserts (scenario bfh_bandage_cures_burn (PASS in run 20261022_162726_bfheroes))a burning hero's Bandage ends the burn and heals nothing more: played by state: no screenshot is read
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#

5 more scenarios the ledger names have no row in the records file: bfh_r0105_bandage_whole, bfh_r0105_bandage_levels, bfh_tank_driver_bandage, bfh_r0105_seat_keys_commando, bfh_bandage_cures_burn.

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#

32 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
0x00738eca world::HealSoldierStatusItem::vslot2Wentry, depth 0crates/bf2-server/src/abilities_heroes.rs:780 (fn cure_status_effects)crates/bfh-game/src/abilities/tests.rs:1975 (fn bandage_cures_burns_and_poison_once), crates/bfh-game/src/abilities/tests.rs:2853 (fn wrench_item_cures_once_and_keeps_repairing)test from the original's codeyes
0x007381e8 world::HealSoldierStatusItem::vslot3Wentry, depth 0crates/bf2-server/src/abilities_heroes.rs:2917 (fn update_soldier_items)scenario bfh_ability_bandage (PASS in run 20261118_021754_r5_ability_bandage on 4f055a4) (+5 more)play with a recorded pass, state assertsyes
0x00736cdb world::StatusItem::vslot2Wentry, depth 0crates/bfh-game/src/abilities/eats_grenades.rs:11scenario bfh_r0105_bandage_levels (PASS in run 20261119_111020_h16_r0105_blevels_p2 on 40a0a89) (+6 more)play with a recorded pass, state assertsyes
0x0050e4ff FUN_0050e4ffW0x00738eca, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x006f863f FUN_006f863fW0x00738eca, depth 1thin wrapper (<= 80 bytes, calls only library code)not a line
0x009f0895 __EH_prolog3W0x00738eca, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x009f096d __EH_epilog3W0x00738eca, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x009bd22c FUN_009bd22cW0x007381e8, depth 1engine utility (>= 100 call sites)not a line
0x00736d9d world::EffectStatusItem::vslot3W0x00736cdb vt+0xc, depth 1crates/bf2-server/src/abilities_heroes.rs:744 (fn add_status_effect)scenario bfh_client_browser_seated_widget_sound (no recorded result)has a scenario, no recorded passopen
0x00736e59 world::DamageStatusItem::vslot3W0x00736cdb vt+0xc, depth 1tiny stub (<= 5 bytes)not a line
0x00736e5a world::DamageVehicleStatusItem::vslot3W0x00736cdb vt+0xc, depth 1tiny stub (<= 5 bytes)not a line
0x00737021 world::VehicleSpawnItem::vslot3W0x00736cdb vt+0xc, depth 1tiny stub (<= 5 bytes)not a line
0x0073706e world::ObjectBlinkStatusItem::vslot3W0x00736cdb vt+0xc, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x007370c7 world::ParentBlinkStatusItem::vslot3W0x00736cdb vt+0xc, depth 1thin wrapper (<= 80 bytes, calls only library code)not a line
0x007370f2 world::SoldierBlinkStatusItem::vslot3W0x00736cdb vt+0xc, depth 1thin wrapper (<= 80 bytes, calls only library code)not a line
0x00737133 world::WeaponBlinkStatusItem::vslot3S0x00736cdb vt+0xc, depth 1crates/bfh-client/src/weapon_blink.rs:105 (fn toggle)bfh_client_alt_ammo_bar, bfh_client_boomer_trailthe counter's weaker proofopen
0x0073745d world::VehicleRammingItem::vslot3W0x00736cdb vt+0xc, depth 1crates/bf2-server/src/ramming_heroes.rs:2scenario bfh_ability_jeep_ramming (PASS in run 20261110_024941_h3425_heroes_before)play with a recorded pass, state assertsyes
0x007382b0 world::RepairVehicleStatusItem::vslot3W0x00736cdb vt+0xc, depth 1crates/bf2-server/src/repair_item_heroes.rs:2crates/bf2-server/src/repair_item_heroes.rs:219 (fn the_wrenchs_step_every_arm)test from the original's codeyes
0x00738936 world::rocketPackItem::vslot3W0x00736cdb vt+0xc, depth 1crates/bf2-server/src/rocket_heroes.rs:90 (fn drawn_push)scenario bfh_ability_rocket_jump (PASS in run 20261110_053325_h3574_b)play with a recorded pass, state assertsyes
0x0073aac0 world::StatusItem::vslot3W0x00736cdb vt+0xc, depth 1crates/bfh-game/src/abilities/eats_grenades.rs:11scenario bfh_r0105_leg_it_hit (PASS in run 20261119_132712_h7g5 on bfc1cc4) (+3 more)play with a recorded pass, state assertsyes
Show all 32 functions (the other 12)
The original's functionKindReachedOursProofIts kindChecked
0x0045d160 FUN_0045d160S0x00736d9d, depth 2crates/bfh-client/src/sound_comp.rs:88 (fn init)bfh_client_ctf_sounds, bfh_client_footstepsnot a line: tested in every game: bf2142 0x0042b800, bf2 0x00440510
0x00736dda world::EffectStatusItem::vslot7S0x00736d9d vt+0x1c, depth 2crates/bf2-client/src/fx/client.rs:996 (fn owner)scenario bfh_client_ability_chain (no recorded result) (+1 more)has a scenario, no recorded passopen
0x0045c8f1 FUN_0045c8f1W0x00737133, depth 2crates/bf2-server/src/abilities_heroes.rs:1564 (fn attacker_active_ability)bfh_ability_overload, bfh_alt_fire_ammo_poolnot a line: hub (241 callers): not expanded
0x004821ae FUN_004821aeW0x0073745d, depth 2engine utility (>= 100 call sites)not a line
0x0045c8d4 FUN_0045c8d4W0x00738936, depth 2crates/bf2-server/src/bots.rs:2007 (const GLOBAL_RANDOM_STATIC)bfh_client_itembar_vehicle, bfh_client_jeep_gunner_movingthe counter's weaker proofopen
0x007377c6 FUN_007377c6W0x00738936, depth 2crates/bf2-server/src/global_random_runs.rs:106 (fn run_heroes_draws)crates/bf2-server/tests/global_random_heroes.rs:4 (fn the_heroes_sites_draw_from_the_global_generator)test from the original's codeyes
0x0045c8ae FUN_0045c8aeS0x0045c8d4, depth 3crates/bf2-client/src/predict.rs:2361 (fn dist)crates/bf2-client/tests/client_events_bfh126.rs:1119 (fn heroes_shared_generators_unit_draw_is_k_over_two_to_the_24)test from the original's codeyes
0x004073ce ~animationSystem::setCameraSpring.amplitudeW0x007377c6, depth 3engine utility (>= 100 call sites)not a line
0x009f127c MSVCR90.DLL::_CIsqrtS0x007377c6, depth 3crates/bf2-anim/src/x87.rs:413 (fn crt_sqrt)bfh_ability_overload, bfh_apparel_ingamenot a line: hub (253 callers): not expanded
0x009f1544 MSVCR90.DLL::_CIcosS0x007377c6, depth 3crates/bf2-anim/src/x87.rs:397 (fn crt90_op)bfh_ability_overload, bfh_apparel_ingamethe counter's weaker proofopen
0x009f154a MSVCR90.DLL::_CIsinS0x007377c6, depth 3crates/bf2-anim/src/x87.rs:397 (fn crt90_op)bfh_ability_overload, bfh_apparel_ingamenot a line: hub (40 callers): not expanded
0x0045c829 FUN_0045c829W0x0045c8ae, depth 4crates/bfh-game/src/crit.rs:25 (struct FireRng)crates/bfh-game/tests/small_helpers_bfh126.rs:8 (fn heroes)test from the original's codeyes

Inner calls#

A call through a virtual table has no line in the call graph; the ledger lists every one it met: 44 here, 42 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): has a scenario, no recorded pass
  • used at the wheel of a vehicle (what you see): has a scenario, no recorded pass
  • 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 you see): played and passed, but no assert read the screen and nobody wrote that they looked
  • 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 47 lines about the original's code (the first 25):

  • a step of the original (world::EffectStatusItem::vslot3): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (world::WeaponBlinkStatusItem::vslot3): in ours, but no test written from the original's code holds it
  • a step of the original (world::EffectStatusItem::vslot7): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (FUN_0045c8d4): in ours, but no test written from the original's code holds it
  • a step of the original (MSVCR90.DLL::_CIcos): in ours, but no test written from the original's code holds it
  • an inner call of the original (in 0x00738eca, slot 0x4) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738eca, slot 0x48) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738eca, slot 0x4c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738eca, slot 0xcc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738eca, slot 0x154) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738eca, slot 0x1b4) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x007381e8, slot 0xcc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x007381e8, slot 0x178) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x007381e8, slot 0x1b4) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00737133, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00737133, slot 0x18) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00737133, slot 0x80) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0xc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0xc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0x18) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0x34) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0x54) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073745d, slot 0x60) is not followed yet: nobody has named what it calls

The other 22 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/bandage.toml (its ticks: the folder notes/bfheroes/features/ability/bandage.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.