Looky here. When you go through that list, you will find out why the first list works and the second doesn't. Namely, everything on the first list
is a weapon and they have their own id numbers. The Enslave Mind weapon, for example, is a ranged weapon with a precision of 100 and damage of death, but what it really does is the effect of the Enslave Mind spell, i.e. it makes the unit change sides. That means effective death from the point of view of the original owner.
The second list is a list of spells and they do not work as weapons because they have not been defined into the game as such.
Edi