关于技能:每个技能都有两个文档
一个是Ability,另一个是Buff
前者是本身属性,另一个是目标属性。(可能说的不太准确,看看例子就懂了。)
我们那后勤旗舰的遥修盾来做解释,首先找到:
Ability内容:
TXT
entityType "Ability"
buffInstantActionType "ApplyTargettedBuffToSelf"
instantActionTriggerType "AlwaysPerform"
buffType "BuffShieldRestoreActivate"
targetFilter
numOwnerships 1
ownership "Friendly"
numObjects 6
object "CapitalShip"
object "Frigate"
object "PlanetModule"
object "StarBase"
object "Titan"
object "Corvette"
numSpaces 1
space "Normal"
numConstraints 2
constraint "NotSelf"
constraint "HasShieldDamage"
range
Level:0 25000.000000
Level:1 25000.000000
Level:2 25000.000000
Level:3 25000.000000
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
mediumEffectName ""
largeEffectName ""
soundID ""
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 4
levelSourceType "Intrinsic"
minExperienceLevelRequired
Level:0 0.000000
Level:1 2.000000
Level:2 4.000000
Level:3 6.000000
aiUseTime "Anytime"
aiUseTargetCondition "ShieldDamageExceedsAmount"
onlyAutoCastWhenTargetShieldDamageExceedsAmount
Level:0 1.000000
Level:1 1.000000
Level:2 1.000000
Level:3 1.000000
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "AntiMatter"
antiMatterCost
Level:0 2.500000
Level:1 2.500000
Level:2 2.500000
Level:3 2.500000
cooldownTime
Level:0 1.000000
Level:1 1.000000
Level:2 1.000000
Level:3 1.000000
orderAcknowledgementType "ONGENERALORDERISSUED"
researchPrerequisites
NumResearchPrerequisites 0
RequiredFactionNameID ""
RequiredCompletedResearchSubjects 0
nameStringID "IDS_ABILITY_SHIELDRESTORE_NAME"
descStringID "IDS_ABILITY_SHIELDRESTORE_DESCRIPTION"
hudIcon "HUDICON_ABILITY_SHIELDRESTORE"
smallHudIcon "HUDICON_ABILITY_SHIELDRESTORE"
infoCardIcon ""
明显发现,里面有冷却时间cooldownTime,反物质消耗antiMatterCost,最低技能点数minExperienceLevelRequired,作用范围range,作用对象(上面一长条上面的都是)
还有这最重要的,自动开启的情况:
aiUseTime "Anytime"
aiUseTargetCondition "ShieldDamageExceedsAmount"
onlyAutoCastWhenTargetShieldDamageExceedsAmount
这个意思是说,当目标的盾量低于某一数值时不开启,其他都可以遥修。