feat(Core/Scripts): Allow scheduling multiple hp checks at once for i… (#15897)

feat(Core/Scripts): Allow scheduling multiple hp checks at once for identical phases
This commit is contained in:
Skjalf
2023-04-09 15:37:04 -03:00
committed by GitHub
parent d167781576
commit d47e93830f
3 changed files with 21 additions and 25 deletions

View File

@@ -470,6 +470,7 @@ public:
void UpdateAI(uint32 diff) override;
void ScheduleHealthCheckEvent(uint32 healthPct, std::function<void()> exec);
void ScheduleHealthCheckEvent(std::initializer_list<uint8> healthPct, std::function<void()> exec);
// Hook used to execute events scheduled into EventMap without the need
// to override UpdateAI