Back to Deadlock External Scripts
Home Lua Script Library Deadlock External Counter Item Helper
Counter Item Helper

Counter Item Helper

A Deadlock counter-item helper that recommends and ranks defensive items against the enemy team or a selected hero, including effectiveness ratings and matchup-specific explanations.

nomadiano Uploaded Sep 10, 2026 Updated Sep 10, 2026 5 downloads 12 subscribers 68.3 KiB

Counter-Item Helper

A counter-item recommendation script for Deadlock built for the TSUKI framework.

The script analyzes enemy heroes and displays useful defensive or counter items directly in an in-game overlay. Recommendations can be generated for the entire enemy team or for a specific hero selected from the menu.

Features

Team Composition Recommendations

The script scans all enemy heroes currently in the match and aggregates their recommended counter items.

Items are ranked based on:

The overlay also shows how many enemy heroes each item is useful against.

Hero-Specific Counters

Select any available hero from the menu to display counter items specifically recommended against that hero.

Each recommendation can include:

Effectiveness Ratings

Counter items use the following recommendation levels:

An optional setting allows the overlay to display only items rated as Recommend.

Item Categories

Items are visually differentiated by their category:

Configurable Overlay

The in-game panel can be customized through the script menu.

Available settings include:

How It Works

The script maintains a counter-item database for individual heroes.

For team recommendations, it checks every enemy hero and counts how many distinct heroes recommend each item. Items that counter the largest portion of the enemy team are displayed first.

The ranking uses the following priority:

  1. Number of enemy heroes countered
  2. Effectiveness rating
  3. Lower item tier
  4. Alphabetical item name

The team recommendation list is recalculated approximately once per second.

For hero-specific recommendations, the script uses the selected hero's counter list directly and displays the highest-priority items first.

Data Source

The hero-specific counter items, recommendation ratings, and matchup explanations are based on counter information from LockBlaze hero counter pages.

Each stored counter contains:

Heroes without dedicated counter data fall back to a small list of generic defensive recommendations.

Generic Fallback Counters

When no specific counter data exists for a hero, the script falls back to general-purpose options such as:

This ensures the overlay can still provide basic recommendations for newly added or unsupported heroes.

Dynamic Hero List

The hero selection menu is generated from the framework's hero_id table.

This allows the dropdown to stay synchronized with the heroes available to the game/framework instead of relying on a manually maintained hero list.

Special display-name overrides are included for heroes whose internal IDs do not translate cleanly into readable names.

Performance

Team counter calculations are cached and recomputed at most once per second.

The overlay also measures text dynamically and wraps longer explanations so they stay within the configured panel width.

Panel coordinates are automatically clamped to the screen boundaries to prevent the overlay from being rendered off-screen.

Limitations

Usage

  1. Load the script through TSUKI.
  2. Open the Counters tab.
  3. Enable Counter-Item Helper.
  4. Configure whether you want:

  5. Team-wide recommendations

  6. Hero-specific recommendations
  7. Matchup explanations
  8. Select a hero from the dropdown if you want individual matchup recommendations.
  9. Adjust the overlay size, position, and appearance as needed.

The recommendation panel will then appear in-game and update automatically.

Credits

Counter-item recommendations and matchup explanations are based on information from LockBlaze hero counter pages.

Disclaimer

Deadlock is actively developed and balance changes can make item recommendations outdated over time. Keep the script's counter database updated when heroes, items, or game mechanics change.