Custom code that pots the casting time of Aimed Shot and global cooldown factoring haste. The green/yellow region represents time spent on future/current Aimed Shots, while the pink region represents the global cooldown in proportion to the 7 second debuff duration. The floating Aimed Shot prediction will turn red when its cast time exceeds the remaining time on Vulnerable.
Size and position of the bar can be changed as desired.