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

Core/Spell: Some non-damage spells should break stealth #14765

Closed

Conversation

pjasicek
Copy link
Contributor

@pjasicek pjasicek changed the title Core/Spell: Some non-damage spells break stealth Core/Spell: Some non-damage spells should break stealth May 25, 2015
@MitchesD
Copy link
Contributor

doesn't it affects more spells than intended? I wonder if it can break something

@robinsch
Copy link
Contributor

#14819

@@ -2821,6 +2822,10 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
case SPELL_AURA_POWER_BURN:
spellInfo->AttributesCu |= SPELL_ATTR0_CU_NO_INITIAL_THREAT;
break;
case SPELL_AURA_PERIODIC_DAMAGE: // DoTs like Shadow Word: Pain
spellInfo->AttributesCu |= SPELL_ATTR0_CU_NO_INITIAL_THREAT;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whaaaaat

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean ? This flag is assigned on master, I did not make this up. I only added the SPELL_ATTR0_CU_AURA_CC flag.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this code was on master (actually 3.3.5) the diff wouldn't show these added lines.

https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Spells/SpellMgr.cpp#L2821

Please revert this change, thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please look at this line on master:

https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/game/Spells/SpellMgr.cpp#L2813

In my commit I only moved the "case SPELL_AURA_PERIODIC_DAMAGE:" so I would be able to add the SPELL_ATTR0_CU_AURA_CC flag. I did not add / modify any other flags besides that flag (SPELL_ATTR0_CU_AURA_CC) compared to master.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are correct, I'm sorry.

@jackpoz
Copy link
Member

jackpoz commented Jun 14, 2015

@pjasicek which spells does this PR affect ?

@Aokromes
Copy link
Member

Any new on this?

@ghost
Copy link

ghost commented Oct 12, 2015

@pjasicek's account page does not show any activity after 2015-05-31.

@jackpoz
Copy link
Member

jackpoz commented Nov 8, 2015

this PR modifies same lines as #14824

@Aokromes Aokromes closed this Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants