Well, this may be complicated if you feel up to the challenge but you can try out this idea.
Have the trigger select all the units that would be in the cone manually. Use some equation that gets the area of the cone's effect.
Then have the trigger create a dummy unit for each of the selected unit's owners. To be precise, if the trigger selects an enemy unit, have it create a dummy that is allied with that enemy unit.
Make sure the dummy's model is set to .mdl so it has no model. Also give it the locust ability so it can't be selected and is invincible.
Then make sure the dummy's abilities can target allied units and have it cast the spells on the allied unit.
Doing all that makes it so that you don't have to worry about what you can see and can't see. You can also have the trigger deal the damage to the selected units rather than depend on the spell itself (in which case you might want to make the spell deal no damage at all, it would just be for looks and triggering this trigger).
As I said, it could be a little complicated, but manageable. Hardest part is selecting the units in the cone's area without depending on buffs or anything. I know you're new to World Editor but usually getting a tough task like this done really advances your knowledge and helps with experience. Also you can post the code somewhere if you want for others to use and give credit.
As for how to set something's model to .mdl:
Go to the unit you want to set the model of.
Open up it's Art - Model File.
Go to the bottom line you can type into. It should be labeled Custom.
Type into that bar only this:
.mdl
Then make sure the selection circle next to the label is checked (has a black dot in it).
Hit OK then you're done. That removes any visual model from it.
Hope this helps at least a little.
Have the trigger select all the units that would be in the cone manually. Use some equation that gets the area of the cone's effect.
Then have the trigger create a dummy unit for each of the selected unit's owners. To be precise, if the trigger selects an enemy unit, have it create a dummy that is allied with that enemy unit.
Make sure the dummy's model is set to .mdl so it has no model. Also give it the locust ability so it can't be selected and is invincible.
Then make sure the dummy's abilities can target allied units and have it cast the spells on the allied unit.
Doing all that makes it so that you don't have to worry about what you can see and can't see. You can also have the trigger deal the damage to the selected units rather than depend on the spell itself (in which case you might want to make the spell deal no damage at all, it would just be for looks and triggering this trigger).
As I said, it could be a little complicated, but manageable. Hardest part is selecting the units in the cone's area without depending on buffs or anything. I know you're new to World Editor but usually getting a tough task like this done really advances your knowledge and helps with experience. Also you can post the code somewhere if you want for others to use and give credit.
As for how to set something's model to .mdl:
Go to the unit you want to set the model of.
Open up it's Art - Model File.
Go to the bottom line you can type into. It should be labeled Custom.
Type into that bar only this:
.mdl
Then make sure the selection circle next to the label is checked (has a black dot in it).
Hit OK then you're done. That removes any visual model from it.
Hope this helps at least a little.