vmangos / core

Progressive Vanilla Core aimed at all versions from 1.2 to 1.12
GNU General Public License v2.0
663 stars 479 forks source link

🐛 [Bug] Many mobs can cast instant spells even when stunned #2201

Open Marcelo20XX opened 11 months ago

Marcelo20XX commented 11 months ago

🐛 Bug report

Many mobs can still cast abilities while stunned: disarm spells, stun spells and mostly insta heal over time spells...

Expected behavior

They shouldn't cast instant abilities if they are stunned

Steps to reproduce

  1. Create a rogue and learn cheapshot and kidney shot
  2. .go creature 41639 (Ice Thistle Patriarch) or .go creature 24130 (Tar Lurker)
  3. engage the mobs and do a stunlock combo
  4. they will still freeze you or disarm you through stun
  5. Profit?

Version & Environment

Client Version:

Commit Hash:
beb58852b034272f20e1eaa19be9630de8b93e27

Operating System:

ratkosrb commented 11 months ago

The creatures with the guids you cited do not even have any abilities that are cast on the player.

Guid 7460 is Entry 433 which has no spell list, and EventAI is used only to say text on aggro and to flee at low health. Guid 7100 is Entry 2728 which casts only Thrash on itself, giving it an extra attack next time it attacks.

Marcelo20XX commented 11 months ago

Sorry my fault, somehow I got mixed and typed the NPC entries instead of their guids, edited my first post with the correct info...