Bug Verified

auraremove attachmentmodel not removel

#6574 opened by Unknown 1 year ago

Unknownreported this bug

Summary

auraremove mechanics no attachmentmodel removel

Steps to reproduce

/mm test mechanic - aura{aura=players_range_checkRing_number;d=600;attachmenttype=MEG;attachmentmodel=range_check_effect_red;attachscale=4;cocw=true;bt=true;ms=1;} @self /mm test mechanic - auraRemove{aura=players_range_checkRing_number} @self

Current behavior

Attachments remain visible after using auraremove and only disappear when the aura's original duration timer expires naturally

Intended correct behavior

Describe what you think should happen instead of the bug.

Server log file

Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.

Debug log snippet

Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.

Proposed fixes

This issue could be resolved by either:

  1. Adding an attachment cleanup attribute to auraremove (e.g., cleanupAttachments=true)
  2. Removing the behavior where applying a new aura resets the timer of existing auras, which prevents natural cleanup from occurring
Unknowncommented
PermAuraAttachIssue:
  Skills:
  - aura{aura=attach;d=600;attachmenttype=MEG;attachmentmodel=r2;bt=true} @self
  - delay 40
  - auraRemove{aura=attach} @self

is an easy to test skill, attachment stays even after the aura would normally end

Sign in to join the discussion.