I affirm:
OS / platform the server is running (if known)
Branch affected by issue
base
Steps to reproduce
Ran into this issue on my local server and was able to reproduce it multiple times on a leech.
- Start casting Sleep on a mob.
- 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.
- See that the mob skill did not fire off.
- The message log should show that sleep took effect but the mob will keep hitting you.
- Attempt to cast sleep again. It will say no effect because the effect is still on the mob.
- See that sleep eventually wears off. The mob has been auto attacking the whole time.
Expected behavior
Mobs should not attack through sleep.
I affirm:
OS / platform the server is running (if known)
Branch affected by issue
baseSteps to reproduce
Ran into this issue on my local server and was able to reproduce it multiple times on a leech.
Expected behavior
Mobs should not attack through sleep.