Skills called by OnCooldownSkill have their cooldown reset even when not cast.
Summary
Skills called by OnCooldownSkill have their cooldown reset even if not cast.
Steps to reproduce
Skills:
TestMech-1:
Cooldown: 50
OnCooldownSkill: TestMech-2
Skills:
- message{message="TestMech-1"} @PIR{r=40}
TestMech-2:
Cooldown: 30
OnCooldownSkill: TestMech-3
Skills:
- message{message="TestMech-2"} @PIR{r=40}
TestMech-3:
Cooldown: 90
Skills:
- message{message="TestMech-3"} @PIR{r=40}
TestMech-4:
Skills:
- message{message="TestMech-1 on cooldown. Time remaining <caster.skill.TestMech-1.cooldown>"} @PIR{r=40} ?skilloncooldown{skill=TestMech-1}
- message{message="TestMech-1 not on cooldown"} @PIR{r=40} ?!skilloncooldown{skill=TestMech-1}
- message{message="TestMech-2 on cooldown. Time remaining <caster.skill.TestMech-2.cooldown>"} @PIR{r=40} ?skilloncooldown{skill=TestMech-2}
- message{message="TestMech-2 not on cooldown"} @PIR{r=40} ?!skilloncooldown{skill=TestMech-2}
- message{message="TestMech-3 on cooldown. Time remaining <caster.skill.TestMech-3.cooldown>"} @PIR{r=40} ?skilloncooldown{skill=TestMech-3}
- message{message="TestMech-3 not on cooldown"} @PIR{r=40} ?!skilloncooldown{skill=TestMech-3}
Boss:
Skills:
- skill{s=TestMech-1} @self ~onTimer:200
- skill{s=TestMech-4} @self ~onTimer:20
Current behavior
Every time a spell is cast using OnCooldownSkill, even if a cooldown exists for that skill, the cooldown will start anew. https://pastebin.com/JLP5aLq3
Intended correct behavior
OnCooldownSkills should not have their cooldown reset if they are not cast.
Server log file
No errors in log.
Debug log snippet
No Debug snippet.
Version: MM 4505 dev, 5.2.6 stable, 4510 dev.