Skip to main content

Lasthit Marker

A visual marker on the health bar of creeps and towers: shows whether you can last-hit or deny the target with your current attack or spell.


Visual (ะ’ะธะทัƒะฐะปั‹)  โ†’  Lasthit marker (ะ›ะฐัั‚ั…ะธั‚ ะผะฐั€ะบะตั€)

What it doesโ€‹

The script draws a colored bar over the health bars of creeps and towers within a radius of up to 2500 units from your hero. The bar's color instantly tells you whether your minimum damage is enough to last-hit or deny the target with this hit.

In addition, a star indicator is shown above the health bars and, if enabled, icons of spells and items that can also be used to last-hit the enemy.

Bar color logicโ€‹

The bar colors are configured manually in the Colors subsection; by default:

  • ๐ŸŸข Ally (inactive) โ€” dark green: an allied creep within vision range, denying not yet available.
  • ๐ŸŸฉ Ally (active) โ€” bright green: you can deny this allied creep.
  • ๐Ÿ”ด Enemy (inactive) โ€” dark red: an enemy creep within range, but last-hitting not yet available.
  • ๐ŸŸ  Enemy (active) โ€” orange-red: you can last-hit this enemy creep with minimum damage.

If the "Show (avg damage)" mode is enabled and your minimum damage is not yet enough but your average damage already is, the bar is colored yellow.

Indicator (star)โ€‹

The star is shown above the target's health bar and indicates the ability to last-hit in a single hit:

  • Green โ€” minimum damage is enough for a last hit.
  • Yellow โ€” only average damage is enough (if the average damage option is enabled).
  • Red โ€” the target cannot be last-hit with either minimum or average damage.

For towers, the indicator is shown only when you can actually last-hit them (configured separately).

Spells and itemsโ€‹

If the "Show (abilities)" option is enabled, the script analyzes your active nukes (spells and items, excluding ultimates and passives) and shows their icons above the enemy creep's health bar when that spell can last-hit the target. The icons appear automatically when you change hero or items in the lobby.

The display of spells can be disabled by timer: the script stops showing ability icons after the specified number of minutes into the game.


Settingsโ€‹

Mainโ€‹

OptionTypeDefaultDescription
StateToggleOnThe script's main toggle.
Show (abilities)ToggleOnShow icons of spells and items that can last-hit a creep.
Show (avg damage)ToggleOffTake average damage into account (not just minimum) when determining last-hit ability; colors the bar yellow.
Show (indicator)ToggleOffShow the star indicator above the health bar of creeps.
Show (indicator towers)ToggleOnShow the star indicator above the health bar of towers.
Indicator sizeSlider10Size of the star indicator in pixels. Range: 6โ€“20. Visible only if at least one of the indicators is enabled.
SizeSlider0Additional size for ability icons. Range: 0โ€“5. Visible only when "Show (abilities)" is enabled.
RoundingSlider6Corner rounding of ability icons. Range: 0โ€“10. Visible only when "Show (abilities)" is enabled.
Disable abilitiesSlider10Disable the display of ability icons after X minutes into the game. 0 โ€” do not disable. Range: 0โ€“120.

Colorsโ€‹

OptionTypeDefaultDescription
Ally inactiveColor picker๐ŸŸข Dark green (0, 100, 0)Bar color for an allied creep that cannot be denied.
Ally activeColor picker๐ŸŸฉ Bright green (124, 252, 0)Bar color for an allied creep that can be denied.
Enemy inactiveColor picker๐Ÿ”ด Dark red (139, 0, 0)Bar color for an enemy creep that cannot be last-hit.
Enemy activeColor picker๐ŸŸ  Orange-red (255, 69, 0)Bar color for an enemy creep that can be last-hit.
Indicator killColor picker๐ŸŸข Green (0, 255, 0)Star color when minimum damage is enough for a last hit.
Indicator avgColor picker๐ŸŸก Yellow (255, 255, 0)Star color when only average damage is enough (when "Show (avg damage)" is enabled).
Indicator no killColor picker๐Ÿ”ด Red (255, 0, 0)Star color when a last hit is not possible.