I am modding the disrupter ability for RUS. Here is the modded ability:
UID = 145
Name = $abi_nam_Disrupter
Alias = Disrupter
Kind = $abiBattleBonus
Text = $abi_txt_Disrupter
ImageID = abi_SiegeExpert.png
Color = $colAbi_Green
Appliance = Self
Family = 0
Level = 1
ProgRate = 0
Param1 = 90
Param2 = -1
Param3 = -1
Param5 = -1
Param9 = -1
StrParam6 = *Disrupt*
StrParam7 = *Panic1*
Tanks receive the "disrupter ability" and the "disrupt" attribute, while the target troops receive the "panic" attribute. My objective is to reflect the panic of certain troops when facing tanks by imposing the negative Param penalties. But now I am wondering who do the penalties actually apply to? It is not clear to me whether the negative "battlebonus" penalties will apply to the tanks or the troops facing the tanks. The way "battlebonuses" are designed, I think the penalty will apply to the tanks with the "ability" rather than the troops without an "ability". Can anyone tell for sure?
If I understand "battlebonus" correctly, all penalties can only apply to units possessing an "ability" and cannot impact the parameters of an enemy unit opposing that unit. Is that correct?
If so, it seems I need to reverse the ability. I need to give units facing tanks the negative "battle bonus ability" which is then triggered when facing opposing tanks.
Cannot anyone clarify?