I want to check if my target has talented chains of ice
UnitDebuff("target", "Chains of Ice")
But the problem is that there are two Chains of Ice. First is the slow and the second is the root.
How can I change the above code to use the spell ID as if:
UnitDebuff("target", 96294)
thanks