A way for having the air units get affected to is "DamageAirThreshold=" from Ares. Is there a way to disable land units from getting affected by the AttachEffect?
Here's the code of the weapon:
Code:
[Spitter]
Damage=40
ROF=15
Burst=3
Range=12
Projectile=SpitterP
Speed=100
Report=FlakCannonAttack
Warhead=SpitterWH
Anim=GUNFIRE
Burst.Delays=1
[SpitterWH]
CellSpread=1.0
PercentAtMax=.1
Verses=150%,80%,50%,100%,100%,20%,0%,0%,0%,100%,100%
AnimList=SMKPUFF
InfDeath=3
AttachEffect.SpeedMultiplier=.90
AttachEffect.Animation=STAT_SPEEDUP
AttachEffect.Duration=350
[SpitterP]
Image=none
Inviso=yes
AA=yes
AG=no
Inaccurate=yes
FlakScatter=yes
BallisticScatter.Min=0.25
BallisticScatter.Max=1.25
SubjectToCliffs=no
SubjectToElevation=yes
SubjectToWalls=no
Damage=40
ROF=15
Burst=3
Range=12
Projectile=SpitterP
Speed=100
Report=FlakCannonAttack
Warhead=SpitterWH
Anim=GUNFIRE
Burst.Delays=1
[SpitterWH]
CellSpread=1.0
PercentAtMax=.1
Verses=150%,80%,50%,100%,100%,20%,0%,0%,0%,100%,100%
AnimList=SMKPUFF
InfDeath=3
AttachEffect.SpeedMultiplier=.90
AttachEffect.Animation=STAT_SPEEDUP
AttachEffect.Duration=350
[SpitterP]
Image=none
Inviso=yes
AA=yes
AG=no
Inaccurate=yes
FlakScatter=yes
BallisticScatter.Min=0.25
BallisticScatter.Max=1.25
SubjectToCliffs=no
SubjectToElevation=yes
SubjectToWalls=no