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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [Bug Report]Warrior die shouldn't change his action bar to No.0 #2556

Closed
Cnzjs opened this issue Sep 15, 2021 · 0 comments
Closed

馃悰 [Bug Report]Warrior die shouldn't change his action bar to No.0 #2556

Cnzjs opened this issue Sep 15, 2021 · 0 comments
Labels
Info: Needs Replication Issue needs replication before further action.

Comments

@Cnzjs
Copy link

Cnzjs commented Sep 15, 2021

馃悰 Bugreport

If a warrior die,his action bar will change to 'No.0' action bar,and he will change to a non-stance status.this is wrong,a warrior should always in one stance even if he is dead.

I figured how to fix this:
\src\game\Entities\Player.cpp
line 1648:RemoveSpellsCausingAura(SPELL_AURA_MOD_SHAPESHIFT);
add this line before it:
if (getClass() != CLASS_WARRIOR)

Version & Environment

2.4.3
Client Version:
2.4.3

CMaNGOS Repo & Commit Hash:
Newest
Database Repo & Commit Hash:
Newest

@Cnzjs Cnzjs added the Info: Needs Replication Issue needs replication before further action. label Sep 15, 2021
killerwife added a commit to cmangos/mangos-classic that referenced this issue Sep 15, 2021
Already handled by remove auras on death
Closes cmangos/issues#2556
killerwife added a commit to cmangos/mangos-wotlk that referenced this issue Sep 15, 2021
Already handled by remove auras on death
Closes cmangos/issues#2556
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Info: Needs Replication Issue needs replication before further action.
Projects
None yet
Development

No branches or pull requests

1 participant