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/Arenas/Dalaran Sewers] Fix waterFallKnockbackTimer typo and set more blizzlike values #5992
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 |
---|---|---|
|
@@ -66,9 +66,9 @@ enum BattlegroundDSData | |
{ // These values are NOT blizzlike... need the correct data! | ||
BG_DS_WATERFALL_TIMER_MIN = 30000, | ||
BG_DS_WATERFALL_TIMER_MAX = 60000, | ||
BG_DS_WATERFALL_WARNING_DURATION = 7000, | ||
BG_DS_WATERFALL_DURATION = 10000, | ||
BG_DS_WATERFALL_KNOCKBACK_TIMER = 500, | ||
BG_DS_WATERFALL_WARNING_DURATION = 5000, | ||
BG_DS_WATERFALL_DURATION = 30000, | ||
BG_DS_WATERFALL_KNOCKBACK_TIMER = 1500, | ||
|
||
BG_DS_PIPE_KNOCKBACK_FIRST_DELAY = 5000, | ||
BG_DS_PIPE_KNOCKBACK_DELAY = 3000, | ||
|
@@ -118,7 +118,7 @@ class BattlegroundDS : public Battleground | |
void setWaterFallStatus(uint8 status) { _waterfallStatus = status; }; | ||
uint32 getWaterFallTimer() { return _waterfallTimer; }; | ||
void setWaterFallTimer(uint32 timer) { _waterfallTimer = timer; }; | ||
uint32 getWaterFallKnockbackTimer() { return _waterfallTimer; }; | ||
uint32 getWaterFallKnockbackTimer() { return _waterfallKnockbackTimer; }; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a good change |
||
void setWaterFallKnockbackTimer(uint32 timer) { _waterfallKnockbackTimer = timer; }; | ||
uint8 getPipeKnockBackCount() { return _pipeKnockBackCount; }; | ||
void setPipeKnockBackCount(uint8 count) { _pipeKnockBackCount = count; }; | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Do not remove theese lines or the knockback wont work
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.
The first knockback must be retarded 1 cycle, because the colision of the waterfall takes about 2 seconds to take effect.
If we cast the nockback here, ingame you see the knockback first, and about 2 seconds later the colission take effect, and this is not blizzlike.
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.
On line 96: setWaterFallKnockbackTimer(BG_DS_WATERFALL_KNOCKBACK_TIMER);
Is activated the timer to perform first knockBack