I'm trying to modify some blood tap code to properly pool charges and expend them when soul reaper is off cd. I think it's having issues properly using blood tap, though, because it can't measure the cooldown because the game adds rune cooldown to the ability cooldown, so PE doesn't think the ability is off cooldown when it actually is. This is the code I am currently using.
Code:
{ "Blood Tap", {
"player.buff(Blood Charge).count >= 5",
"!player.spell(Soul Reaper).cooldown",
"target.health <= 45",
"!lastcast(Blood Tap)",
}},
Is there any other way to track the cooldown without using custom functions?
I'm sorry if I didn't explain it properly. It might be hard to understand for non-DK players.