im trying to make a self destruct ability for the kol battleship,i made the ability with the argonev star bases self destruct as a template,but whenever i start the game it minidumps and crashes,heres my coding:
AbilityLastResort
entityType "Ability"
buffInstantActionType "ApplyBuffToSelf"
instantActionTriggerType "AlwaysPerform"
buffType "BuffLastResortSelf"
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID "EFFECT_LASTRESORT"
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility TRUE
maxNumLevels 1
levelSourceType "Intrinsic"
minExperienceLevelRequired
Level:0 5.000000
Level:1 0.000000
Level:2 0.000000
aiUseTime "OnlyWhenTakingDamage"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.950000
useCostType "None"
cooldownTime
Level:0 60.000000
Level:1 0.000000
Level:2 0.000000
orderAcknowledgementType "ONGENERALORDERISSUED"
researchPrerequisites
NumResearchPrerequisites 0
nameStringID "IDS_ABILITY_SELFDESTRUCT_NAME"
descStringID "IDS_ABILITY_SELFDESTRUCT_DESCRIPTION"
hudIcon "HUDICON_ABILITY_SELFDESTRUCT"
smallHudIcon "HUDICON_ABILITY_SELFDESTRUCT"
infoCardIcon ""
BuffLastResortSelf
entityType "Buff"
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit 1
allowFirstSpawnerToStack FALSE
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 3
instantAction
buffInstantActionType "PlayAttachedEffect"
instantActionTriggerType "OnDelay"
delayTime 0.000000
effectInfo
effectAttachInfo
attachType "Above"
smallEffectName "CapitalShip0"
largeEffectName "CapitalShip0"
soundID ""
instantAction
buffInstantActionType "MakeDead"
instantActionTriggerType "OnDelay"
delayTime 3.000000
instantAction
buffInstantActionType "ApplyBuffToTargetsInRadiusWithTravel"
instantActionTriggerType "OnDelay"
delayTime 3.000000
buffType "BuffLastResortTarget"
targetFilter
numOwnerships 2
ownership "Friendly"
ownership "Enemy"
numObjects 4
object "CapitalShip"
object "Frigate"
object "PlanetModule"
object "StarBase"
numSpaces 1
space "Normal"
numConstraints 0
range
Level:0 6000.000000
Level:1 0.000000
Level:2 0.000000
maxTargetCount
Level:0 -1.000000
Level:1 0.000000
Level:2 0.000000
effectInfo
effectAttachInfo
attachType "Center"
smallEffectName "Buff_CannonShellPhaseImpactWave"
largeEffectName "Buff_CannonShellPhaseImpactWave"
soundID ""
travelSpeed 5000.000000
effectStaggerDelay 0.000000
hasWeaponEffects FALSE
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "AllOnDelayInstantActionsDone"
BuffLastResortTarget
entityType "Buff"
onReapplyDuplicateType "PrioritizeNewBuffs"
buffStackingLimitType "ForAllPlayers"
stackingLimit -1
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 1
instantAction
buffInstantActionType "DoDamage"
instantActionTriggerType "OnDelay"
delayTime 0.000000
damage
Level:0 3500.000000
Level:1 0.000000
Level:2 0.000000
damageAffectType "AFFECTS_SHIELDS_AND_HULL"
damageType "ENERGY"
isDamageShared TRUE
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 0
numFinishConditions 1
finishCondition
finishConditionType "AllOnDelayInstantActionsDone"
this is a replacement ultimate ability for last stand,cus i hate last stand (a.k.a finest hour)
i dont exactly know what intrinsic means,but i put it there because thats what other abilities said