diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-14 20:46:18 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-23 16:00:27 +0100 |
commit | d62b7c1e352e76f35490c22b2ab291ed299f4fa4 (patch) | |
tree | 7b53c5225e4830958d9f11d1880165181f3cb410 /src/server/game/AI/CreatureAIImpl.h | |
parent | b27c70aff2ec6ec872fa149e7853d95876104dfe (diff) |
Core/CombatAI: Use std::chrono::duration overloads of EventMap (#25037)
Contributes to #25012
(cherry picked from commit bd837d4c3dc61e7817ccb14071108e97db86f1f5)
Diffstat (limited to 'src/server/game/AI/CreatureAIImpl.h')
-rw-r--r-- | src/server/game/AI/CreatureAIImpl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/CreatureAIImpl.h b/src/server/game/AI/CreatureAIImpl.h index c8425fb08eb..c50d2a2eb33 100644 --- a/src/server/game/AI/CreatureAIImpl.h +++ b/src/server/game/AI/CreatureAIImpl.h @@ -78,8 +78,8 @@ struct AISpellInfoType , cooldown(AI_DEFAULT_COOLDOWN), realCooldown(0), maxRange(0.0f){ } AITarget target; AICondition condition; - uint32 cooldown; - uint32 realCooldown; + Milliseconds cooldown; + Milliseconds realCooldown; float maxRange; uint8 Targets; // set of enum SelectTarget |