Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10417] Fix Battle/Guardian elixirs stacking
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "10416" | ||
#define REVISION_NR "10417" | ||
#endif // __REVISION_NR_H__ |
bc54ac8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to see you're back.
bc54ac8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this part:
you are checking effect of spell 1 with counter from spell 2, it's also unnecessary if it was supposed to check for zero values in spell 2 because there is already check if those effects from spell 1 and spell 2 are equal at the beggining (so if spell 1 effect is not zero, then spell 2 effect can't be zero).
I think it's enough to check it the way I posted on forums: http://getmangos.com/community/showthread.php?t=14822
bc54ac8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this part:
you are checking effect from spell 1 with counter from spell 2...
if it was supposed to check effect from spell 2, then it's also unnecessary because there is already check if effects from spell 1 and spell 2 are equal (so if spell 1 effect is not zero, then spell 2 effect can't be zero as well)
it's enough to check it the way I posted in forums: http://getmangos.com/community/showthread.php?t=14822
bc54ac8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea maybe unnecessary to check second spell..