Skip to main content
Buffs Movable

Immunity Indicator

This plugin checks a variety of statuses to show you whether or not your character is currently immune to damage. It has a movable countdown bar, and an optional visual hint when your character is under the effects of certain saving graces.

  • Stasis - When you zone into a new area, you are (usually) immune from damage for up to 1 minute if you don't move or perform actions on your character. There are a few situations in which you aren't granted Stasis upon zoning to a new area, so this will help you know for sure whether or not it is in effect.
  • Shield Pylon - This pylon buff's visual effect is so subtle that it is easily overlooked.
  • Generic Invulnerability - When casting certain skills (such as teleports), you are immune to damage during the animation period
  • Combined Damage Reduction - If for whatever reason, your combined damage reduction stat goes to 100%, this plugin will show that you're immune to damage.
    • Land of the Dead: Invigoration + Crimson 3pc - This unintended rune and set-bonus combination that grants immunity has been nerfed as of Season 23, and I verified that the plugin still works (i.e. does NOT show immunity countdown for this combo anymore).
  • Demon Hunter
    • Smoke Screen
  • Monk
    • Serenity
    • Near-Death Experience - Cheat Death secondary effect
  • Necromancer
    • Bone Armor: Limited Immunity
    • Rathma's Shield
    • Final Service - Cheat Death secondary effect
  • Witch Doctor
    • Spirit Walk
    • Spirit Vessel - Cheat Death secondary effect

Customization

To disable the arcs around your character during the immunity effects, change the ShowIndicator value to false (line 35). 

To change the color of the arcs, edit the StyleFont definition on line 47:

Hud.Render.CreateFont("arial", 75, 255, 0, 0, 0, false, false, 75, 98, 247, 252, true);

Installation

ImmunityHelper.cs (Tier 3) - requires the Menu Plugin System to be installed OR the Movable Plugin System + the plugins\Razor\Label\ folder from Menu Plugin System to be installed
ImmunityHelper.cs (Tier 2) - requires the Movable Plugin System to be installed

Put the appropriate tier version of ImmunityHelper.cs into your TurboHUD \ plugins \ Razor folder. If you have the Menu Plugin System installed, this plugin is already included in that package.

(Re)start TurboHUD.

Changelog

September 5, 2021

  • retrofitted the old bar drawing code and removed references to the Label library to make a current version that is compatible with tier 2 (thanks to Glex for pointing out the lapse)
  • the countdown bar is now resizable (the wrong flag set previously)

July 29, 2021

  • fixed the left bracket from shifting during movement (player.FloorCoordinate.ToScreenCoordinate() is not the same thing as player.ScreenCoordinate, apparently)
  • rewrote the draw code to tie all countdown number positions to the CountdownBar movable area and implemented ShowCountdownOthers (off by default)

July 21, 2021

  • added follower Cheat Death immunities (thanks to Jembo for the buff data and testing)

July 19, 2021

  • fixed ShowIndicator = false resulting in not showing Countdown as well

June 26, 2021

  • added teammate immunity indicators and countdown bar

May 3, 2021

  • removed 3pc Crimson Set + Land of the Dead: Invigoration interaction

September 2, 2020

  • rewrite

Works with Diablo 3 patch 2.7.1, TurboHUD v21.9.3.2, API v9.2

Comments

  1. The countdown bar has disappeared. Can this be fixed?

    ReplyDelete
    Replies
    1. I just checked now with the latest version of TurboHUD Free (v 1.3.1.0), and the countdown bar is visible. Is there a specific situation in which this happens unexpectedly?

      Delete
  2. It doesn't show up in the Chinese version TurboHUD_LightningMOD. With the latest update not only in your plugin https://ibb.co/s9HkmK9 - https://ibb.co/XtthTrL

    ReplyDelete
    Replies
    1. Does not display stripes. It is also impossible in most cases to change the position of the plugins. I don't know how to explain correctly - https://imgbb.com/tcBmghj
      Using mousecircle plugin as an example, I set the label values to the center, but the Absoulate label remained in place
      xPos = 830 / 1920f;
      yPos = 513 / 1080f;
      https://ibb.co/hDch2CJ

      Delete
    2. As far as I know, the developers of TurboHUD Lightning removed important functionality from TH Lightning in a recent update, and it breaks almost all of my plugins when used with TH Lightning instead of regular TurboHUD.

      Delete
    3. Thanks for the answer, it's a pity that I couldn't find anything else besides the Chinese

      Delete
  3. Can you please reupload reflectnotification.cs :(

    ReplyDelete
    Replies
    1. Try this? I just repackaged the download with my latest changes, check the readme for information. https://www.dropbox.com/scl/fi/gi33cbxqr1zg5xgqpgkhw/ReflectNotifications_March-18-2024.zip?rlkey=fiwlvkt1x7hd66aow7dn123y5&dl=0

      Delete
    2. (I mention the readme, because I changed the folder structure of the plugin files slightly for organization in my current codebase.)

      Delete

Post a Comment