暂存
This commit is contained in:
Binary file not shown.
60
1.6/1.6/Defs/AbilityDefs/ARA_GuardianPsyField_Abilities.xml
Normal file
60
1.6/1.6/Defs/AbilityDefs/ARA_GuardianPsyField_Abilities.xml
Normal file
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<AbilityDef>
|
||||
<defName>ARA_GuardianPsyField_On</defName>
|
||||
<label>守护者灵能场</label>
|
||||
<description>投射一个强大的灵能防御力场。</description>
|
||||
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_RaceBaseSwarmProduceOn</iconPath>
|
||||
<cooldownTicksRange>601</cooldownTicksRange>
|
||||
<hostile>false</hostile>
|
||||
<showOnCharacterCard>true</showOnCharacterCard>
|
||||
<aiCanUse>false</aiCanUse>
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbility</verbClass>
|
||||
<warmupTime>0</warmupTime>
|
||||
<drawAimPie>false</drawAimPie>
|
||||
<requireLineOfSight>false</requireLineOfSight>
|
||||
<targetable>false</targetable>
|
||||
<targetParams>
|
||||
<canTargetSelf>true</canTargetSelf>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="CompProperties_AbilityGiveHediff">
|
||||
<compClass>ArachnaeSwarm.CompAbilityEffect_GiveSwitchHediff</compClass>
|
||||
<hediffDef>ARA_GuardianPsyField</hediffDef>
|
||||
<applyToSelf>true</applyToSelf>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
|
||||
<AbilityDef>
|
||||
<defName>ARA_GuardianPsyField_Off</defName>
|
||||
<label>守护者灵能场</label>
|
||||
<description>关闭灵能防御力场。</description>
|
||||
<iconPath>ArachnaeSwarm/UI/Abilities/ARA_RaceBaseSwarmProduceOff</iconPath>
|
||||
<cooldownTicksRange>601</cooldownTicksRange>
|
||||
<hostile>false</hostile>
|
||||
<showOnCharacterCard>true</showOnCharacterCard>
|
||||
<aiCanUse>false</aiCanUse>
|
||||
<verbProperties>
|
||||
<verbClass>Verb_CastAbility</verbClass>
|
||||
<warmupTime>0</warmupTime>
|
||||
<drawAimPie>false</drawAimPie>
|
||||
<requireLineOfSight>false</requireLineOfSight>
|
||||
<targetable>false</targetable>
|
||||
<targetParams>
|
||||
<canTargetSelf>true</canTargetSelf>
|
||||
</targetParams>
|
||||
</verbProperties>
|
||||
<comps>
|
||||
<li Class="CompProperties_AbilityRemoveHediff">
|
||||
<compClass>ArachnaeSwarm.CompAbilityEffect_RemoveSwitchHediff</compClass>
|
||||
<hediffDef>ARA_GuardianPsyField</hediffDef>
|
||||
<applyToSelf>true</applyToSelf>
|
||||
</li>
|
||||
</comps>
|
||||
</AbilityDef>
|
||||
|
||||
</Defs>
|
||||
36
1.6/1.6/Defs/HediffDefs/ARA_GuardianPsyField_Hediff.xml
Normal file
36
1.6/1.6/Defs/HediffDefs/ARA_GuardianPsyField_Hediff.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Defs>
|
||||
|
||||
<HediffDef>
|
||||
<defName>ARA_GuardianPsyField</defName>
|
||||
<label>守护者灵能场</label>
|
||||
<description>一个强大的灵能防御力场。它会自动拦截进入其作用范围的敌对飞行物,并能将附近友军受到的伤害转移到施法者身上。每次成功的守护都会消耗施法者的精神力。</description>
|
||||
<hediffClass>ArachnaeSwarm.Hediff_DynamicInterceptor</hediffClass>
|
||||
<isBad>false</isBad>
|
||||
<defaultLabelColor>(0.6, 0.2, 0.9)</defaultLabelColor>
|
||||
<scenarioCanAdd>false</scenarioCanAdd>
|
||||
<comps>
|
||||
<li Class="ArachnaeSwarm.HediffCompProperties_DynamicInterceptor">
|
||||
<guardianProps Class="ArachnaeSwarm.CompProperties_GuardianPsyField">
|
||||
<!-- Basic functionality -->
|
||||
<radius>5.9</radius>
|
||||
<hitPoints>150</hitPoints>
|
||||
<rechargeDelay>3200</rechargeDelay>
|
||||
<rechargeHitPointsIntervalTicks>60</rechargeHitPointsIntervalTicks>
|
||||
|
||||
<!-- Interception types -->
|
||||
<interceptGroundProjectiles>true</interceptGroundProjectiles>
|
||||
<interceptAirProjectiles>true</interceptAirProjectiles>
|
||||
<interceptNonHostileProjectiles>true</interceptNonHostileProjectiles>
|
||||
|
||||
<!-- Visuals and Sound -->
|
||||
<color>(0.3, 0.8, 0.8)</color>
|
||||
<interceptEffecter>Interceptor_BlockedProjectile</interceptEffecter>
|
||||
<breakEffecter>Shield_Break</breakEffecter>
|
||||
<reactivateEffecter>BulletShieldGenerator_Reactivate</reactivateEffecter>
|
||||
</guardianProps>
|
||||
</li>
|
||||
</comps>
|
||||
</HediffDef>
|
||||
|
||||
</Defs>
|
||||
@@ -291,6 +291,8 @@
|
||||
<abilities>
|
||||
<li>ARA_PsychicBrainburn</li>
|
||||
<li>ARA_NeuroSwarm_jump</li>
|
||||
<li>ARA_GuardianPsyField_On</li>
|
||||
<li>ARA_GuardianPsyField_Off</li>
|
||||
<!-- <li>ARA_Ability_Morph</li> -->
|
||||
</abilities>
|
||||
<apparelTags>
|
||||
|
||||
Reference in New Issue
Block a user