Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Bug] Block while shield sheathed. #2157

Closed
Daribon opened this issue Aug 12, 2023 · 6 comments
Closed

🐛 [Bug] Block while shield sheathed. #2157

Daribon opened this issue Aug 12, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@Daribon
Copy link
Contributor

Daribon commented Aug 12, 2023

🐛 Bug report

You can currently block with shield sheathed.

Expected behavior

On classic you have to have shield unsheathed, if you want to block a hit.
Any hit while your shield is not in your hand, will not be possible to block on classic.

The only thing I have from vanilla is from the spell attribute of the block spell in 1.12.1:
SPELL_ATTR_DO_NOT_SHEATH
QSW_0ECwvCnivV
It only exists in SpellDefines.h but nowhere else.

Steps to reproduce

  1. Have your shield sheathed.
  2. Go near any enemy mob.
  3. Hits will be blocked while shield is sheathed.
  4. Profit

Version & Environment

Client Version: 1.12.1.5875

Commit Hash: 4e9b446

OS Client: Windows 11 Pro N 10.0.22621.1413
OS Server: Windows 11 Pro N 10.0.22621.1413

Crashlog

  • None
@Daribon Daribon added the bug Something isn't working label Aug 12, 2023
@Wall-core
Copy link
Contributor

this should actually replace the code that prevents blocking AND parrying while casting, mounted, etc.
The spell being cast should determine whether or not the player is able to block or parry while casting via the automatic sheathing of the weapon/shield. Some spells with cast time do not prevent blocking as they do not sheathe weapon or shield.

@earthw0rmjim
Copy link

https://warcraft.wiki.gg/wiki/Patch_2.1.0_(undocumented_changes)
You can now block attacks while your shield is in the sheathed position. Previously, Warriors, Shamans and Paladins were vulnerable while using instant-cast abilities that caused their shield to momentarily appear on their back.

@ratkosrb
Copy link
Contributor

vid.2024-08-28-1423-34.mp4

I can't reproduce it on classic. I don't have my shield or melee weapon drawn yet I can block and parry attacks.

@ratkosrb
Copy link
Contributor

We'll assume the TBC patch notes to be true, and if someone finds video proof from vanilla of blocking without having shield drawn we'll revert it.

@ratkosrb
Copy link
Contributor

Okay I performed a better test and I understood how it works. It's specifically in unarmed sheath state that you can't block. In ranged state you can still block. Also it does not affect parry.

vid.2024-08-28-1454-05.mp4

@ratkosrb
Copy link
Contributor

707c9c9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants