Skip to content

🐛 Mobs can attack through sleep effect in certain conditions. #9782

@UmeboshiXI

Description

@UmeboshiXI

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Branch affected by issue

base

Steps to reproduce

Image

Ran into this issue on my local server and was able to reproduce it multiple times on a leech.

  1. Start casting Sleep on a mob.
  2. Before you finish casting make a mob use a skill with !exec target:useMobAbility(421, player). Basically you want sleep to land during the skills prepare phase but before it fires off.
  3. See that the mob skill did not fire off.
  4. The message log should show that sleep took effect but the mob will keep hitting you.
  5. Attempt to cast sleep again. It will say no effect because the effect is still on the mob.
  6. See that sleep eventually wears off. The mob has been auto attacking the whole time.

Expected behavior

Mobs should not attack through sleep.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions