First of all thank you for the time saving application called The Noob Bot!! Now my issue.
It seems that the warlock rotation keeps summoning an infernal or doomguard untill all soulshards are spent before it continues the rotation. And when a soulshard appears it summons an infernal again!?
So I have some coding experience and have looked in the warlock combat file, changed somethings (like enemy amount, available soulshards before summoning, committing the summon infernal part out)
and still it changes nothing to the problem.
Is there a way to exit the part of the rotation that checks and summons?