Hmm, wouldn't using laser fence post logic make more sense? Is there any way changing its height?
Have you tried every building? I mean like different height buildings. The pill box is a lot lower to the ground than a psychic sensor. If it even hits the low pill box and not any units (which are set to height=0 on default) then perhaps the warhead is only set to harm buildings.
Lol, I just checked your code. It does appear to be the warhead, simply make all of the versus= values above 2% like the buildings!
That's also a very original concept

seems people are straining for them thesedays!