Modding Chastic Burst ability
Okay, so i want to mod the chastic burst ability by adding a 200 shield point restoration to surrounding friendly ships, but not self WHILE also damaging enemies.
Here's the BuffChasticBurstTarget. entity file. how do i make it differentiate what effect to apply to who?
TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
buffInstantActionType "ApplyBuffToTargetsInRadius"
instantActionTriggerType "OnDelay"
delayTime 0.000000
buffType "BuffChasticBurstAOE"
targetFilter
numOwnerships 1
ownership "Enemy"
numObjects 5
object "CapitalShip"
object "Frigate"
object "PlanetModule"
object "Titan"
object "Corvette"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 2000.000000
Level:1 2500.000000
Level:2 3000.000000
Level:3 3500.000000
maxTargetCount
Level:0 -1.000000
Level:1 -1.000000
Level:2 -1.000000
Level:3 -1.000000
effectInfo
effectAttachInfo
attachType "Center"
smallEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
mediumEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Medium"
largeEffectName "TitanAbility_Cherubim_ChasticBurst_Target_Large"
soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "AllOnDelayInstantActionsDone"
Here's the AoE buff file for it. I won't need to change the ability file will I?
TXT
entityType "Buff"
onReapplyDuplicateType "PrioritizeOldBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 2
instantAction
buffInstantActionType "DoDamage"
instantActionTriggerType "OnDelay"
delayTime 0.000000
damage
Level:0 500.000000
Level:1 715.000000
Level:2 915.000000
Level:3 1115.000000
damageAffectType "AFFECTS_SHIELDS_AND_HULL"
damageType "ENERGY"
isDamageShared TRUE
instantAction
buffInstantActionType "PlayAttachedEffect"
instantActionTriggerType "OnDelay"
delayTime 0.000000
effectInfo
effectAttachInfo
attachType "Center"
smallEffectName "TitanAbility_Cherubim_ChasticBurst_Hit_Small"
mediumEffectName "TitanAbility_Cherubim_ChasticBurst_Hit_Medium"
largeEffectName "TitanAbility_Cherubim_ChasticBurst_Hit_Large"
soundID ""
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "AllOnDelayInstantActionsDone"