You are viewing a potentially older version of this package. View all versions.
gameimprovement-HeroStats-1.0.0 icon

HeroStats

HUD panel with your survivor's stats: damage, attack speed, crit, regen, armor, speed, jumps, kills, DPS, biggest single hit, items per tier. Extra item tooltip info. Works with modded items.

Date uploaded 11 hours ago
Version 1.0.0
Download link gameimprovement-HeroStats-1.0.0.zip
Downloads 116
Dependency string gameimprovement-HeroStats-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2122

README

HeroStats

A compact panel on the HUD with your survivor's stats, extra info in item tooltips, and a fix for gold above 2 billion.

Labels are in Russian by default; set English = true in the config for English. / Подписи по умолчанию на русском. Описание на русском — ниже.

Panel

  • Damage, attack speed, crit chance (and crit multiplier), bleed chance
  • Health / max health (+ shield), regen
  • Armor and the damage reduction it gives
  • Movement speed, jumps left / max, level, luck
  • Kills this run
  • DPS over the last 5 seconds
  • Max hit — the biggest single hit you dealt this run
  • Total item count; optionally (ItemTiers) the count for every tier in its color, including tiers added by DLC and other mods

Big numbers are shortened: thousand, million, billion … up to septillion (K, M, B, T, Qa, Qi, Sx, Sp in English).

The panel sits right under the gold and lunar coin counters and grows downward. F2 shows/hides it (configurable). Every line can be switched off separately in the [Lines] config section.

Gold above 2 billion

In vanilla the gold counter turns negative past ~2.15 billion and gold wraps back to 0 past ~4.29 billion. HeroStats keeps at most 2 billion in your wallet and puts the rest into a bank; when you spend and the wallet drops below 1 billion it is refilled from the bank automatically. The HUD gold counter and the panel show wallet + bank, shortened (1.5 трлн, 3.2 Qa…).

The bank runs on the host. In multiplayer the host needs HeroStats for it; players who also have it see their full total.

Item tooltips

Hover an item in your inventory to see, under the game's description, the total for all your stacks: the full description with every stacking value already added up (e.g. Lens-Maker's Glasses x7: 70% crit chance).

  • Read from the description itself, so it works for modded items that write their stacking like the base game.
  • Items with diminishing returns use their real formula: hyperbolic for Tougher Times, Old Guillotine and Stun Grenade; exponential for Alien Head, Fuel Cell, Gesture of the Drowned and Light Flux Pauldron. Other non-linear items (Bandolier, some modded items) are shown as if linear.
  • Luck (57 Leaf Clover, Purity…): every chance also shows its value with your luck, using the game's roll (1 + |luck| rolls, best one kept; worst one for negative luck). Items marked "Unaffected by luck" are left alone.
  • Sale Star shows its real mechanic: 2 items from the first chest of a stage, and with 2+ stars the chance of a 3rd, 4th and 5th item (30% / 15% / 1%, raised by every star from the 3rd and by luck), plus the average number of items.

Configuration

BepInEx/config/com.proigryfedorov.herostats.cfg

Section Key Default Meaning
Panel Show true Show the panel
Panel ToggleKey F2 Show/hide key
Panel English false English labels
Panel AttachToCoins true Place the panel right under the gold / lunar coin counters
Panel PositionX 0.01 Horizontal position of the top-left corner when not attached (0 = left, 1 = right)
Panel PositionY 0.62 Vertical position of the top-left corner when not attached (0 = bottom, 1 = top)
Panel FontSize 18 Font size
Lines Title, Damage, AttackSpeed, Crit, Bleed, Health, Regen, Armor, Speed, Jumps, Level, Gold, Luck, Kills, Dps, MaxHit, ItemCounts true Show or hide each line of the panel
Lines ItemTiers false Item count for every tier, in its color
Stats DpsWindow 5 DPS averaging window, seconds
Stats IncludeMinions false Count drones/minions in DPS and max hit
Tooltips StackTotals true Full description with totals for all stacks

Описание на русском

Панель на экране со статистикой героя:

  • урон, скорость атаки, шанс и множитель крита, кровотечение;
  • здоровье и щит, реген;
  • броня и процент снижения урона;
  • скорость, прыжки, уровень, удача;
  • убийства, DPS;
  • максимальный урон одним ударом за забег;
  • общее количество предметов; по желанию (ItemTiers) — по каждой редкости, включая редкости из DLC и других модов.

Большие числа сокращаются: тыс., млн, млрд, трлн … до септиллиона. F2 — показать или спрятать панель. Каждую строку можно отдельно выключить в конфиге, раздел [Lines].

Золото больше 2 млрд. В игре счётчик золота уходит в минус после ~2,15 млрд, а после ~4,29 млрд золото сбрасывается в 0.

Как HeroStats это обходит:

  • на руках остаётся не больше 2 млрд, остальное лежит в банке;
  • когда тратишь и на руках становится меньше 1 млрд, банк сам доливает;
  • счётчик золота и панель показывают всё золото вместе с банком, в сокращённом виде.

Банк работает у хоста: в онлайне мод нужен хосту.

В подсказке предмета дописывается итог за все стаки — полное описание с уже сложенными числами. Например, очки ×7 — 70% шанс крита.

  • У предметов с убывающей полезностью считается по настоящей формуле игры: крепкий орех, гильотина, светошумовая граната, голова пришельца, топливный элемент, жест утопленника, наплечник светового потока.
  • Удача: у каждого шанса показано значение с вашей удачей, по формуле броска игры. Предметы с пометкой «показатель удачи не учитывается» не трогаются.
  • Выгодная звезда: первый сундук на уровне даёт 2 предмета; с 2+ звёздами показан шанс на 3-й, 4-й и 5-й предмет и среднее число предметов.
  • Работает и для предметов из модов.

Changelog

  • 1.0.0 — first release.