-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Scripts/Battlegrounds: Implement Deephaul Ravine #30393
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
Conversation
2e3bbba to
98a2b36
Compare
268bd30 to
56d227b
Compare
| void OnStart() override | ||
| { | ||
| BattlegroundScript::OnStart(); | ||
| _scheduler.Schedule(15s, [&](TaskContext) |
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.
Small improvement: do you think you can move any timer to its own enum like Timings? You can make them static constexpr std::chrono::seconds, so it's easier to maintain if anything changes rather than having magic numbs:
enum Timings { static constexpr std::chrono::seconds FlagRespawnTime = 15s; static constexpr std::chrono::seconds CartRespawnTime = 5s; }
994e0be to
07dc069
Compare
16c1a17 to
bf469a6
Compare
bf469a6 to
0a70e91
Compare
Changes proposed:
BattlegroundMapScript::OnInitIssues addressed:
Closes: None
Tests performed:
Known issues and TODO list: (add/remove lines as needed)