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

Combat Medicine: the feature checklist

Heroes

Combat Medicine is a Battlefield Heroes ability, Soldier. 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: 0 of 71 lines checked.

checked

Situations: 0 of 16 checked for what the game does, 0 of 16 for what a player sees. The original's code: 0 of 39 checked (4 functions and 35 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#

radius 8 m; heals the user 15 / 21 / 27 / 33 / 40 %, plus 5 % (level 1) for each mate healed; ready again after 20 / 18 / 16 / 14 / 12 s (Soldier)

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

the name a player knowsCombat Medicine
kindability, Soldier
in the game's dataHealArea, levels 1 to 5 (2075 to 2079)
what it acts on (the ledger's tags)affects-mates
its row in the sweepsnotes/bfheroes/ability_sweep.md, the row Combat Medicine; notes/bfheroes/abilities_table.md rows S5-L1 to S5-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
0x0073996fthe area heal's attach, on the server, at once: every alive team mate whose soldier or vehicle lies within the radius is healed; each adds to the user's own heal; the burn and the poison endwhole
0x00738fc3a mate's heal: the victim effect, the HUD's healed bywhole

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 footopen: has a scenario; its recorded pass is on a branch not landed (scenario bfh_heal_area (PASS in run 20261128_113209_verify_b82b444_lane1 on b82b444))open: has a scenario; its recorded pass is on a branch not landed (scenario bfh_heal_area (PASS in run 20261128_113209_verify_b82b444_lane1 on b82b444))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_medicine (no recorded result))open: has a scenario, no recorded pass (scenario bfh_r0105_seat_medicine (no recorded result))played by state: no screenshot is read
team mate sitting in a vehicleopen: has a scenario; its recorded pass is on a branch not landed (scenario bfh_heal_area_jeep (PASS in run 20261128_113209_verify_b82b444_lane3 on b82b444))open: has a scenario; its recorded pass is on a branch not landed (scenario bfh_heal_area_jeep (PASS in run 20261128_113209_verify_b82b444_lane3 on b82b444))the heal's score number stands over the seated mate on the medic's screen
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: has a scenario, no recorded pass (scenario bfh_heal_area_levels (no recorded result))open: has a scenario, no recorded pass (scenario bfh_heal_area_levels (no recorded result))played by state: no screenshot is read
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#

6 more scenarios the ledger names have no row in the records file: bfh_r0105_seat_score, bfh_heal_area_jeep, bfh_heal_area_levels, bfh_r0105_medicine, bfh_heal_area, bfh_r0105_seat_medicine.

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#

15 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
0x0073996f world::HealAreaStatusItem::vslot4Wentry, depth 0crates/bf2-server/src/abilities_heroes.rs:1777 (fn heal_area)scenario bfh_heal_area (PASS in run 20261128_113209_verify_b82b444_lane1 on b82b444) (+1 more)has a scenario; its recorded pass is on a branch not landedopen
0x00738fc3 FUN_00738fc3Sentry, depth 0crates/bf2-client/src/game.rs:9478 (fn chat_event)scenario bfh_client_heal_area (PASS in run 20261127_191044_verify_84a02c4_lane4 on 84a02c4) (+1 more)play with a recorded pass, state assertsopen
0x00428d62 FUN_00428d62W0x0073996f, depth 1engine utility (>= 100 call sites)not a line
0x00462ab5 ~std::_Tree::op_00462ab5W0x0073996f, depth 1small helper: STL tree walk (MSVC std::_Tree: tests or sets the node's _Isnil byte; find / erase / iterate / buy a node) (< 64 bytes)not a line
0x0050e4ff FUN_0050e4ffW0x0073996f, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x006f863f FUN_006f863fW0x0073996f, depth 1thin wrapper (<= 80 bytes, calls only library code)not a line
0x009c0bc8 world::ObjectFlagPredicator::ObjectFlagPredicatorW0x0073996f, depth 1trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x009f0895 __EH_prolog3W0x0073996f, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x009f096d __EH_epilog3W0x0073996f, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x0041b7fd FUN_0041b7fdW0x00738fc3, depth 1engine utility (>= 100 call sites)not a line
0x004edc76 FUN_004edc76W0x00738fc3, depth 1crates/bf2-net/src/join.rs:248 (fn post_remote)crates/bf2-net/tests/net_record_bfh126.rs:1875 (fn post_remote_event_run_flag_senders_write_the_delay_zero_bfh126)not a line: hub (77 callers): not expanded
0x00737afe world::EffectStatusItem::EffectStatusItemW0x00738fc3, 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
0x00737a77 FUN_00737a77W0x00737afe, depth 2crates/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
0x0041b829 FUN_0041b829W0x00737a77, depth 3engine utility (>= 100 call sites)not a line
0x004b3cf5 FUN_004b3cf5W0x00737a77, depth 3engine utility (>= 100 call sites)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: 35 here, 35 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 it does): passed on a branch that has not landed
  • used on foot (what you see): passed on a branch that has not landed
  • 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
  • team mate sitting in a vehicle (what it does): passed on a branch that has not landed
  • team mate sitting in a vehicle (what you see): passed on a branch that has not landed
  • 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): has a scenario, no recorded pass
  • team mates against enemies (who gets it and who does not) (what you see): has a scenario, no recorded pass
  • 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 39 lines about the original's code (the first 25):

  • a step of the original (world::HealAreaStatusItem::vslot4): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (FUN_00738fc3): played and passed, but no test written from the original and nothing read the screen
  • 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_00737a77): in ours; a scenario names it, with no recorded pass; no test written from the original
  • an inner call of the original (in 0x0073996f, slot 0x4) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0xc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x10) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x18) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x4c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x4c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x54) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x5c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x60) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x6c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x7c) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0xcc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x154) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x168) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x168) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x168) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x0073996f, slot 0x178) is not followed yet: nobody has named what it calls

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