On this page
+10 hit points item: the feature checklist
+10 hit points item is a Battlefield Heroes item. 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: 1 of 39 lines checked.
Situations: 0 of 14 checked for what the game does, 0 of 14 for what a player sees. The original's code: 1 of 11 checked (3 functions and 8 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.
The ledger names the owner's open report on this feature: R-0108.
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#
An item a hero can own: while it is among his kit's abilities his hit point limit is 10 above his class's, and he is set to the new limit when he gets it (a Soldier's 110 becomes 120)
That is this wiki's own line about it, taken at build time from the page that tells it.
| the name a player knows | +10 hit points item |
| kind | item |
| in the game's data | IncreaseHPLimit (9040): statModifier.value 10, operation Add |
| the owner's report | R-0108 |
| its row in the sweeps | notes/bfheroes/widget_sweep.md, the row The increase-HP item (R-0108) |
The original's entry functions#
Where the original starts doing it (BFHeroes.exe 1.126). The code behind the feature is everything these reach.
| Address | What it is, in the ledger's words | Followed |
|---|---|---|
0x007212b7 | the soldier's hit point limit: worked out again each time he is given a generic ability | whole |
0x0071f75d | the component by its name | whole |
0x00723d91 | the soldier takes one of his kit's generic abilities: it goes on his list and the limit is worked out again | whole |
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.
| Situation | What the game does (W) | What a player sees (S) | Note |
|---|---|---|---|
| used on foot | open: not checked | open: not checked | |
| used at the wheel of a vehicle | open: not checked | open: not checked | |
| used from a passenger's or a gunner's seat | open: not checked | open: not checked | |
| the user dies while it runs | open: not checked | open: not checked | |
| after the user respawns | open: not checked | open: not checked | |
| the round ends while it runs, and the next round starts clean | open: not checked | open: not checked | |
| the map changes while it runs | open: not checked | open: not checked | |
| a player who joins while it runs sees it | open: not checked | open: not checked | |
| watching a team mate who uses it (after dying, or as a spectator) | open: not checked | open: not checked | |
| team mates against enemies (who gets it and who does not) | open: not checked | open: not checked | |
| in water (swimming) | open: not checked | open: not checked | |
| on a ladder | open: not checked | open: not checked | |
| while another effect runs on the same hero | open: not checked | open: not checked | |
| bought at the workbench and used in a played game, not only in a test | open: not checked | open: not checked |
Recorded plays#
The ledger names no played scenario for this feature.
The code behind it#
6 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 function | Kind | Reached | Ours | Proof | Its kind | Checked |
|---|---|---|---|---|---|---|
0x007212b7 FUN_007212b7 | S | entry, depth 0 | crates/bf2-client/app/src/client/heroes_hud.rs:2804 (fn kit_abilities) | scenario bfh_booster_hp (PASS in run 20261022_162726_bfheroes) (+1 more) | play with a recorded pass, state asserts | open |
0x0071f75d FUN_0071f75d | W | entry, depth 0 | crates/bfh-game/src/abilities/generic.rs:454 (fn stat_modifier) | bfh_server_refresh_entitlement | the counter's weaker proof | open |
0x00723d91 FUN_00723d91 | W | entry, depth 0 | crates/bfh-game/src/uncalled.rs:2947 (fn soldier_add_generic_ability) | crates/bfh-game/tests/uncalled_bfh126.rs:6655 (fn soldier_add_generic_ability_lists_it_and_adds_it_as_a_child_only_when_its_dword_34_is_zero) | test from the original's code | yes |
0x009f0895 __EH_prolog3 | W | 0x007212b7, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x009f096d __EH_epilog3 | W | 0x007212b7, depth 1 | CRT / compiler name (scope_rules.LIBNAME) | not a line | ||
0x004faa7e FUN_004faa7e | W | 0x00723d91, depth 1 | 1.89 twin 0x0050f813 is library code (coverage_bfh boilerplate) | 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: 8 here, 8 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): not checked
- used on foot (what you see): not checked
- 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): not checked
- used from a passenger's or a gunner's seat (what you see): not checked
- 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
- bought at the workbench and used in a played game, not only in a test (what it does): not checked
- bought at the workbench and used in a played game, not only in a test (what you see): not checked
And 10 lines about the original's code:
- a step of the original (FUN_007212b7): played and passed, but no test written from the original and nothing read the screen
- a step of the original (FUN_0071f75d): in ours, but no test written from the original's code holds it
- an inner call of the original (in 0x007212b7, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007212b7, slot 0x38) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007212b7, slot 0xb8) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x007212b7, slot 0x144) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0071f75d, slot 0xc) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x0071f75d, slot 0x10) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00723d91, slot 0x54) is not followed yet: nobody has named what it calls
- an inner call of the original (in 0x00723d91, slot 0xf0) is not followed yet: nobody has named what it calls
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#
| What | Where |
|---|---|
| this feature's ledger | notes/bfheroes/features/item/hp_limit.toml (its ticks: the folder notes/bfheroes/features/item/hp_limit.ticks) |
| the ledger's rule | notes/bfheroes/features/README.md |
| the recorded results | notes/bfheroes/features/records/<run>.tsv |
| the tool that walks the original's call graph and computes the status | tools/bfheroes/feature_ledger.py |
| the counter the ledger was made with | bfheroes e7ed773 2026-11-28T11:50:06 |
| this page's maker | tools/devwiki/features.py |
tools/devwiki/features.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.