Proposed engine change to ApplyTargettedBuffToSelf
This is a proposed engine change for Diplomacy to solve the targetting/auto-cast issues with most targetted chanelled abilities.
Basically, my assumption is if the targetting/auto-cast worked like the ApplyBuffToTarget then ships would stop targetting the same unit with non-stacking abilities.
In this suggestion ApplyTargettedBuffToSelf would use the buffTypeToQuery as part of the targetting/auto-cast parameters and then would apply buffType to self once a targettable unit is selected. Not sure if it is doable or not for ironclad but just wanted to throw out a suggestion.
entityType "Ability"
buffInstantActionType "ApplyTargettedBuffToSelf"
instantActionTriggerType "AlwaysPerform"
buffTypeToQuery "BuffSuppressionTarget"
buffType "BuffSuppressionCaster"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 1
object "Frigate"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 6000.000000
Level:1 6000.000000
Level:2 6000.000000
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID "EFFECT_SUPPRESSION"