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

Terrific Health Tonic: the feature checklist

Heroes

Terrific Health Tonic is a Battlefield Heroes widget. 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: 15 of 181 lines checked.

checked

Situations: 1 of 19 checked for what the game does, 0 of 19 for what a player sees. The original's code: 14 of 143 checked (33 functions and 110 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 22:37.

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 50; wait 20 s; not in a vehicle; in water too; the wait is kept through a death

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

the name a player knowsTerrific Health Tonic
kindwidget
in the game's dataInstantHeal (2153)
its row in the sweepsnotes/bfheroes/widget_sweep.md, the row Terrific Health Tonic; notes/bfheroes/abilities_table.md row W01

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
0x00738487the instant heal item's attach: on the server the user alone gets the healwhole
0x00738d09the item's vslot4whole
0x0052c3edthe game logic's heal, a shared step of every healas a part: its calls are not followed
0x00828174the armor's healwhole

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, no recorded pass (scenario bfh_r0105_tonic (no recorded result))open: has a scenario, no recorded pass (scenario bfh_r0105_tonic (no recorded result))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: has a scenario, no recorded pass (scenario bfh_r0105_tonic_wait_suicide (no recorded result))open: has a scenario, no recorded pass (scenario bfh_r0105_tonic_wait_suicide (no recorded result))the wait is kept through a death: played by state: no screenshot is read
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)checked: play with a recorded pass, state asserts (scenario bfh_swim_instant_heal_key (PASS in run 20261118_043738_r19_h10_swim_heal_key on b006961))open: play with a recorded pass, state asserts (scenario bfh_swim_instant_heal_key (PASS in run 20261118_043738_r19_h10_swim_heal_key on b006961))played by state: no screenshot is read
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
bought for valor points at the storeopen: not checkedopen: not checked
ready again only after its waitopen: not checkedopen: not checked
held at the account service, put in a widget slot and carried into a gameopen: not checkedopen: not checked
a pack's uses count down and the key is refused at none (a kept widget takes none)open: not checkedopen: not checked

Recorded plays#

5 more scenarios the ledger names have no row in the records file: bfh_r0105_tonic_wait_water, bfh_swim_instant_heal_key, bfh_r0105_tonic, bfh_r0105_seat_keys_commando, bfh_r0105_tonic_wait_suicide.

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#

88 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
0x00738487 FUN_00738487Wentry, depth 0crates/bf2-server/src/abilities_heroes.rs:1832 (fn instant_heal)scenario bfh_consumable_use_count (PASS in run 20261119_064502_harden4i1 on 67a6e69) (+1 more)play with a recorded pass, state assertsyes
0x00738d09 world::InstantHealStatusItem::vslot4Wentry, depth 0crates/bf2-server/src/abilities_heroes.rs:1831 (fn instant_heal)bfh_ability_overload, bfh_client_heal_areathe counter's weaker proofopen
0x0052c3ed ServerGameLogic::healWentry, depth 0crates/bf2-server/src/cone_heroes.rs:324 (fn give_heal)scenario bfh_eats_grenades (PASS in run 20261111_020023_t1_bfh_eats_grenades) (+2 more)play with a recorded pass, state assertsyes: PART: entered without its calls (expand = false)
0x00828174 world::ArmorGLComp::vslot19Sentry, depth 0crates/bf2-client/src/game.rs:9533 (fn chat_event)scenario bfh_ability_bandage (PASS in run 20261128_211013_h25_r35b_bfh_ability_bandage on c2aa16b) (+4 more)play with a recorded pass, state assertsopen
0x0041b7fd FUN_0041b7fdW0x00828174, depth 1engine utility (>= 100 call sites)not a line
0x004edc76 FUN_004edc76W0x00828174, 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
0x0069b277 FUN_0069b277W0x00828174, depth 1crates/bf2-net/src/netstate.rs:1193 (fn read_ghost_state_in)crates/bfh-game/tests/uncalled_client_bfh126.rs:515 (fn the_heroes_value_is_one_of_two_only_when_the_first_or_the_second_has_it)test from the original's codeyes
0x0069bd79 FUN_0069bd79S0x00828174, depth 1crates/bf2-client/app/src/client.rs:5632 (fn event_manager_ticks)crates/bf2-world/tests/capture_ghosts.rs:142, crates/bf2-world/tests/demo_ghosts.rs:158not a line: hub (54 callers): not expanded
0x00757518 FUN_00757518W0x00828174, depth 11.89 twin 0x006fdf20 is library code (coverage_bfh boilerplate)not a line
0x00827c17 FUN_00827c17S0x00828174, depth 1crates/bf2-client/src/armor_effects.rs:391 (enum RadioObjectMessage)crates/bf2-gameplay/src/damage/armor.rs:687 (fn heroes_never_passes_below_zero_in_one_step), crates/bf2-server/tests/thrown_armor_heroes.rs:40 (fn a_bullet_meets_a_thrown_mesh_projectile_where_it_is_in_heroes)test from the original's codeyes
0x009f0895 __EH_prolog3W0x00828174, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x009f096d __EH_epilog3W0x00828174, depth 1CRT / compiler name (scope_rules.LIBNAME)not a line
0x009f1206 FUN_009f1206W0x00828174, depth 1crates/bf2-net/src/bitstream.rs:522 (fn write_unit_float)crates/bfh-game/tests/ftol2_bfh126.rs:1 (fn heroes)not a line: tested in every game: bf2142 0x008c9694, bf2 0x0083d84c
0x0082a9af world::ArmorGLComp::vslot16W0x00828174 vt+0x40, depth 1tiny stub (<= 5 bytes)not a line
0x00825410 world::ArmorGLComp::vslot45S0x00828174 vt+0xb4, depth 1crates/bf2-client/src/game.rs:10467 (fn hud_inputs)crates/bf2-client/tests/heroes_hp_bonus_store_bfh126.rs:7 (fn files)test from the original's codeyes
0x00825448 world::ArmorGLComp::vslot82W0x00828174 vt+0x148, depth 1crates/bfh-game/src/extra_health.rs:65 (fn set_cap)bfh_alt_fire_ammo_pool, bfh_client_alt_ammo_barthe counter's weaker proofopen
0x0069b25a FUN_0069b25aW0x0069b277, depth 2forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor)not a line
0x006fe319 FUN_006fe319W0x0069b277, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x009bd22c FUN_009bd22cW0x0069b277, depth 2engine utility (>= 100 call sites)not a line
0x0041ade0 FUN_0041ade0W0x00827c17, depth 2engine utility (>= 100 call sites)not a line
Show all 88 functions (the other 68)
The original's functionKindReachedOursProofIts kindChecked
0x0045c8f1 FUN_0045c8f1W0x00827c17, 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
0x00462ab5 ~std::_Tree::op_00462ab5W0x00827c17, depth 2small 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
0x00496df4 FUN_00496df4W0x00827c17, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x004a575f FUN_004a575fW0x00827c17, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x008266ba FUN_008266baW0x00827c17, depth 2crates/bf2-server/src/damage.rs:127 (fn invulnerable_after_wreck)crates/bf2-server/tests/seated_kill_heroes.rs:10 (fn a_seated_heros_kill_ends_at_zero_hit_points), crates/bf2-server/tests/thrown_armor_heroes.rs:3 (fn run)test from the original's codeyes
0x00826eef FUN_00826eefW0x00827c17, depth 21.89 twin 0x007d44e4 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')crates/bf2-client/tests/titan_white_out.rs:20the counter's weaker proofopen
0x0082542e world::ArmorGLComp::vslot46W0x00825410 vt+0xb8, depth 2trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0041ad9b FUN_0041ad9bS0x00825448, depth 2crates/bf2-client/src/heroes_teleport.rs:175 (fn heroes_teleport_clock)crates/bf2-client/tests/client_events_bfh126.rs:1146 (fn heroes_game_time_getter_hands_back_the_stored_double)not a line: tested in every game: bf2142 0x00666070, bf2 0x004c4400
0x0069b0bc FUN_0069b0bcW0x0069b25a, depth 3forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor)not a line
0x004073a5 FUN_004073a5W0x008266ba, depth 3not a line: engine utility (653 call sites, the counter's rule of 100); the counter has no row for it
0x00533b17 FUN_00533b17W0x008266ba, depth 3crates/bf2-game/src/game_logic_uncalled_bf2.rs:369 (fn float_min_client)crates/bfh-game/tests/uncalled_rounds_bfh126.rs:550 (fn the_float_min_answers_the_first_only_when_it_is_below)not a line: hub (74 callers): not expanded
0x0071c6ca FUN_0071c6caW0x008266ba, depth 3trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x008265eb FUN_008265ebW0x008266ba, depth 31.89 twin 0x007d3be8 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')crates/bf2-world/src/strategic_object.rs:378the counter's weaker proofopen
0x00829f11 FUN_00829f11S0x008266ba, depth 3crates/bf2-client/src/game.rs:17695 (fn titan_part_wrecks_update)scenario bfh_client_browser_seated_widget_sound (no recorded result)has a scenario, no recorded passopen
0x0088f213 FUN_0088f213W0x008266ba, depth 3engine utility (>= 100 call sites)not a line
0x004073ce ~animationSystem::setCameraSpring.amplitudeW0x00826eef, depth 3engine utility (>= 100 call sites)not a line
0x00460d7b FUN_00460d7bW0x00826eef, depth 3engine utility (>= 100 call sites)not a line
0x004821ae FUN_004821aeW0x00826eef, depth 3engine utility (>= 100 call sites)not a line
0x00497864 FUN_00497864W0x00826eef, depth 3crates/bf2-physics/src/soldier.rs:866 (fn add_acceleration_in)crates/bf2-physics/tests/heroes_movement_matrix.rs:94 (fn heroes_vec3_add_assign_adds_each_component_into_the_nodes_acceleration)not a line: hub (74 callers): not expanded
0x0050403a FUN_0050403aW0x00826eef, depth 3crates/bf2-core/src/euler.rs:155 (fn from_ypr)crates/bfh-game/tests/engine_uncalled_bfh126.rs:312 (fn heroes_the_matrix_of_three_angles_is_the_euler_setters_of_their_negatives_last_first)test from the original's codeyes
0x0051371e FUN_0051371eW0x00826eef, depth 3crates/bf2-net/src/netrecord.rs:1601 (fn initial)bfh_ability_overload, bfh_alt_fire_ammo_poolthe counter's weaker proofopen
0x0069ea7f FUN_0069ea7fW0x00826eef, depth 3crates/bfh-game/src/abilities/stomp.rs:297 (fn soldier_push)bfh_stomp, bfh_stomp_grenadethe counter's weaker proofopen
0x0082505b FUN_0082505bW0x00826eef, depth 31.89 twin 0x007d27d3 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')crates/bf2-client/tests/titan_white_out.rs:20the counter's weaker proofopen
0x00826ce0 FUN_00826ce0W0x00826eef, depth 31.89 twin 0x007d42d7 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')crates/bf2-client/src/armor_effects.rs:1175, crates/bf2-client/src/armor_effects.rs:1244the counter's weaker proofopen
0x008294dc FUN_008294dcW0x00826eef, depth 3trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x008294f4 FUN_008294f4W0x00826eef, depth 3trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0082950d FUN_0082950dW0x00826eef, depth 3trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0088f16a FUN_0088f16aW0x00826eef, depth 3crates/bf2-gameplay/src/camera/heroes_math.rs:53 (fn axis_frame)crates/bfh-client/tests/turn_helpers_bfh126.rs:8 (fn rows)test from the original's codeyes
0x00890993 FUN_00890993W0x00826eef, depth 3crates/bf2-world/src/vehicle_ray.rs:526 (fn vehicle_exit_ray_start)bfh_client_itembar_vehicle, bfh_client_kubel_seatthe counter's weaker proofopen
0x006fea05 FUN_006fea05W0x0069b0bc, depth 41.89 twin 0x006f1d51 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')bfh_ability_overload, bfh_alt_fire_ammo_poolthe counter's weaker proofopen
0x00511039 FUN_00511039W0x008265eb, depth 4not portednoneopen
0x009f08fe __EH_prolog3_GSW0x008265eb, depth 4CRT / compiler name (scope_rules.LIBNAME)not a line
0x009f0981 FUN_009f0981W0x008265eb, depth 4engine utility (>= 100 call sites)not a line
0x00527c6f world::PlayerManager::getLocalHumanPlayerW0x008265eb vt+0x30, depth 4tiny stub (<= 5 bytes)not a line
0x008250e4 FUN_008250e4W0x00829f11, depth 41.89 twin 0x007d285c pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')crates/bf2-client/tests/wreck_wake.rs:15the counter's weaker proofopen
0x008262d9 FUN_008262d9W0x00829f11, depth 41.89 twin 0x007d38d9 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')crates/bf2-world/src/vehicle_armor.rs:866, crates/bf2-world/src/vehicle_armor.rs:879the counter's weaker proofopen
0x00890216 FUN_00890216W0x0050403a, depth 4crates/bf2-core/src/euler.rs:49 (fn set_euler)bfh_set_euler, gen_bfh_set_eulertest from the original's codeyes
0x0088f817 FUN_0088f817S0x0069ea7f, depth 4crates/bf2-anim/src/pose.rs:189 (fn mat_mul)crates/bf2-anim/tests/quat_normalize_bfh126.rs:90 (fn bfh126_affine_product_of_the_pose_sums_x_and_y_then_z_bit_for_bit), crates/bf2-gameplay/tests/fire_comps_bfh126.rs:895 (fn heroes_affine_product_sums_x_and_y_then_z_and_adds_the_translation_last_bit_for_bit)test from the original's codeyes
0x0045d160 FUN_0045d160S0x0082505b, depth 4crates/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
0x007d8ac0 ~std::_Tree::op_007d8ac0W0x00826ce0, depth 4small 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
0x00826010 FUN_00826010S0x00826ce0, depth 4crates/bf2-client/src/armor_effects.rs:1115 (fn apply)crates/bf2-client/tests/armor_effects.rs:389 (fn heroes_clearing_a_vehicles_attached_damage_effects_destroys_them_and_no_other_vehicles)test from the original's codeyes
0x00829d21 FUN_00829d21W0x00826ce0, depth 4forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor)not a line
0x009f11d0 FUN_009f11d0W0x00826ce0, depth 4crates/bf2-gameplay/src/tools/replenish.rs:588 (fn max_nr_of_mags)bfh_client_cdm_late_events, bfh_client_chat_eornot a line: hub (180 callers): not expanded
0x004a580f FUN_004a580fW0x0088f16a, depth 4crates/bf2-core/src/fmath.rs:63 (fn normalize3_heroes)crates/bf2-core/tests/normalize_bfh126.rs:1 (fn hold)not a line: hub (132 callers): not expanded
0x00702bd1 FUN_00702bd1W0x0088f16a, depth 4crates/bfh-game/src/abilities/stomp.rs:246 (fn cross)bfh_stomp_cross, gen_bfh_stomp_crosstest from the original's codeyes
0x0072b76b FUN_0072b76bW0x0088f16a, depth 4crates/bf2-physics/src/vecmath.rs:34 (fn zero_tiny)crates/bf2-physics/tests/zero_tiny_bfh126.rs:1 (fn heroes)not a line: hub (40 callers): not expanded
0x00890bfd FUN_00890bfdW0x00890993, depth 41.89 twin 0x00877477 pairs with a 2142 / BF2 function bf2-rs ports (coverage_bfh 'via')bfh_ability_overload, bfh_alt_fire_ammo_poolthe counter's weaker proofopen
0x00428d62 FUN_00428d62W0x006fea05, depth 5engine utility (>= 100 call sites)not a line
0x004fa975 FUN_004fa975W0x006fea05, depth 5STL container code, READ: a container's own member by its listing; it calls a body that holds a Dinkumware error string (a stl-read: row of parity_denominator.yaml, H7762)not a line
0x006a6f6e FUN_006a6f6eW0x006fea05, depth 5thin wrapper (<= 80 bytes, calls only library code)not a line
0x00701ec7 FUN_00701ec7W0x006fea05, depth 5not portednoneopen
0x0050f9d2 ~std::_Tree::_Lbound_0050f9d2W0x00511039, depth 5small 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
0x008909ff FUN_008909ffW0x008250e4, depth 5crates/bf2-effects/src/math.rs:113 (const ZERO)crates/bf2-effects/src/math.rs:241 (fn heroes_zero_matrix_is_sixteen_floats_of_bit_pattern_zero)test from the original's codeyes
0x009619fc FUN_009619fcS0x008250e4, depth 5crates/bf2-client/src/armor_effects.rs:1046 (fn destroyed_geom)scenario bfh_client_browser_seated_widget_sound (no recorded result)has a scenario, no recorded passopen
0x009c0cbd world::ObjectInterfacePredicator::ObjectInterfacePredicatorW0x008262d9, depth 5trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x0088f40a FUN_0088f40aW0x00890216, depth 5trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00890ae1 FUN_00890ae1W0x00890216, depth 5trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00890b06 FUN_00890b06W0x00890216, depth 5thin wrapper (<= 80 bytes, calls only library code)not a line
0x00890b36 FUN_00890b36W0x00890216, depth 5thin wrapper (<= 80 bytes, calls only library code)not a line
0x00893eeb FUN_00893eebW0x00890216, depth 5crates/bf2-core/src/euler.rs:23 (fn mul3)bfh_mul3, gen_bfh_mul3test from the original's codeyes
0x00825008 FUN_00825008W0x00826010, depth 5trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00890b99 FUN_00890b99W0x00890bfd, depth 5by design: constructor copying four vectors (0x0040742d each), a matrix by rows; Rust array copynot a line
0x00701c83 FUN_00701c83W0x00701ec7, depth 6forwarder (<= 40 bytes, one call: default arguments, argument order, a constructor's fill, a deleting destructor)not a line
0x00701c98 FUN_00701c98W0x00701ec7, depth 6thin wrapper (<= 80 bytes, calls only library code)not a line
0x00535f88 FUN_00535f88W0x009619fc, depth 6by design: a static pool of scratch std::vector<16-byte> (the next one cleared, grown by one when used up) for query results; Rust uses localsnot a line
0x009c0bc8 world::ObjectFlagPredicator::ObjectFlagPredicatorW0x009619fc, depth 6trivial leaf (<= 40 bytes, no calls: a field accessor / vector op / clamp)not a line
0x00893fea FUN_00893feaW0x00893eeb, depth 6crates/bf2-core/src/euler.rs:25 (fn mul3)crates/bf2-anim/src/ik.rs:1384, crates/bf2-core/src/euler.rs:221link line onlyopen
0x004fa9a7 FUN_004fa9a7W0x00701c83, depth 7thin wrapper (<= 80 bytes, calls only library code)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: 115 here, 110 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): has a scenario, no recorded pass
  • used on foot (what you see): has a scenario, no recorded pass
  • 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): has a scenario, no recorded pass
  • the user dies while it runs (what you see): has a scenario, no recorded pass
  • 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 you see): played and passed, but no assert read the screen and nobody wrote that they looked
  • 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
  • bought for valor points at the store (what it does): not checked
  • bought for valor points at the store (what you see): not checked
  • ready again only after its wait (what it does): not checked
  • ready again only after its wait (what you see): not checked
  • held at the account service, put in a widget slot and carried into a game (what it does): not checked
  • held at the account service, put in a widget slot and carried into a game (what you see): not checked
  • a pack's uses count down and the key is refused at none (a kept widget takes none) (what it does): not checked
  • a pack's uses count down and the key is refused at none (a kept widget takes none) (what you see): not checked

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

  • a step of the original (world::InstantHealStatusItem::vslot4): in ours, but no test written from the original's code holds it
  • a step of the original (world::ArmorGLComp::vslot19): played and passed, but no test written from the original and nothing read the screen
  • a step of the original (world::ArmorGLComp::vslot82): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00826eef): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_008265eb): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00829f11): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (FUN_0051371e): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_0069ea7f): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_0082505b): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00826ce0): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00890993): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_006fea05): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00511039): this part of the original is in no count of ours: nobody has placed it
  • a step of the original (FUN_008250e4): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_008262d9): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00890bfd): in ours, but no test written from the original's code holds it
  • a step of the original (FUN_00701ec7): this part of the original is in no count of ours: nobody has placed it
  • a step of the original (FUN_009619fc): in ours; a scenario names it, with no recorded pass; no test written from the original
  • a step of the original (FUN_00893fea): in ours, but no test written from the original's code holds it
  • an inner call of the original (in 0x00738487, slot 0xb4) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738487, slot 0xcc) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738487, slot 0x178) is not followed yet: nobody has named what it calls
  • an inner call of the original (in 0x00738487, slot 0x1b4) is not followed yet: nobody has named what it calls
  • a large shared step of the original (0x0052c3ed) is on the list by itself: what it calls for this feature is not followed yet
  • an inner call of the original (in 0x00828174, slot 0xc) is not followed yet: nobody has named what it calls

The other 104 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/widget/health_tonic.toml (its ticks: the folder notes/bfheroes/features/widget/health_tonic.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 83706c0 2026-11-28T22:37:11
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.