I think it only works for "autoattacks", so melee spells shouldnt benefit from it either.