passive cooldowns have 2 methods;
1) Make it active then when cast, make a timer to it, when timer runs out, effect will end.
2) Make it normal passive (like evasion) and also make timer to it, this is harder as you need to trigger the ON of this effect.
if you want to entangle units per hit, a damage detection engine should be used...