Skip to content

fix: reset Mark of Darkness reminder on player death (#17)#11528

Merged
Alexsuperfly merged 2 commits into
runelite:masterfrom
Nick2bad4u:master
Apr 15, 2026
Merged

fix: reset Mark of Darkness reminder on player death (#17)#11528
Alexsuperfly merged 2 commits into
runelite:masterfrom
Nick2bad4u:master

Conversation

@Nick2bad4u
Copy link
Copy Markdown
Contributor

fix: reset Mark of Darkness reminder on player death (#17)

The buff is lost when the player dies, but the timer continued
counting down without showing the recast reminder.

  • Track whether the Mark of Darkness buff is active via isMarkActive
    in the overlay
  • Add resetOnDeath() to the overlay which immediately triggers the
    recast reminder if the buff was active
  • Subscribe to ActorDeath in the plugin and call resetOnDeath()
    when the local player dies

fix: reset Mark of Darkness reminder on player death (#17)

The buff is lost when the player dies, but the timer continued
counting down without showing the recast reminder. 

- Track whether the Mark of Darkness buff is active via `isMarkActive`
  in the overlay
- Add `resetOnDeath()` to the overlay which immediately triggers the
  recast reminder if the buff was active
- Subscribe to `ActorDeath` in the plugin and call `resetOnDeath()`
  when the local player dies
@runelite-github-app
Copy link
Copy Markdown

Internal use only: Reviewer details Maintainer details

@Alexsuperfly Alexsuperfly merged commit e4fb028 into runelite:master Apr 15, 2026
3 checks passed
Infinitay pushed a commit to Infinitay/plugin-hub that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants