근접전 모듈 추가

This commit is contained in:
Cocopomel
2021-09-29 08:41:09 +09:00
parent e5c7028a2f
commit 1d506509c4
5 changed files with 197 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
<AbilityDef>
<defName>PN_TriggerHappyAbility</defName>
<label>rapid fire</label>
<description>This ability allows users to shoot quickly, but lowers the hit rate.</description>
<description>This ability allows users to shoot quickly, but lowers the shooting accuracy.</description>
<jobDef>CastAbilityOnThing</jobDef>
<targetRequired>False</targetRequired>
<canUseAoeToGetTargets>False</canUseAoeToGetTargets>
@@ -19,7 +19,7 @@
<showPsycastEffects>False</showPsycastEffects>
<displayGizmoWhileUndrafted>True</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>False</disableGizmoWhileUndrafted>
<groupDef>PNModule_6hour</groupDef>
<groupDef>PNModule_1day</groupDef>
<hotKey>Misc12</hotKey>
<uiOrder>3</uiOrder>
<warmupStartSound>CombatCommand_Warmup</warmupStartSound>
@@ -51,4 +51,50 @@
</comps>
</AbilityDef>
<!--==================================== 근접전 모듈 ====================================-->
<AbilityDef>
<defName>PN_CQCAbility</defName>
<label>rapid fire</label>
<description>This ability increases users to close quarters combat stat, but lowers the shooting accuracy.</description>
<jobDef>CastAbilityOnThing</jobDef>
<targetRequired>False</targetRequired>
<canUseAoeToGetTargets>False</canUseAoeToGetTargets>
<iconPath>UI/Abilities/PNCQC</iconPath>
<warmupMoteSocialSymbol>UI/Abilities/PNCQC</warmupMoteSocialSymbol>
<stunTargetWhileCasting>True</stunTargetWhileCasting>
<showPsycastEffects>False</showPsycastEffects>
<displayGizmoWhileUndrafted>True</displayGizmoWhileUndrafted>
<disableGizmoWhileUndrafted>False</disableGizmoWhileUndrafted>
<groupDef>PNModule_1day</groupDef>
<hotKey>Misc12</hotKey>
<uiOrder>3</uiOrder>
<warmupStartSound>CombatCommand_Warmup</warmupStartSound>
<statBases>
<Ability_Duration>84</Ability_Duration>
</statBases>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<warmupTime>0.5</warmupTime>
<range>-1</range>
<drawAimPie>False</drawAimPie>
<requireLineOfSight>False</requireLineOfSight>
<targetParams>
<canTargetSelf>true</canTargetSelf>
<canTargetPawns>false</canTargetPawns>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetHumans>false</canTargetHumans>
<canTargetMechs>false</canTargetMechs>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityGiveHediff">
<compClass>CompAbilityEffect_GiveHediff</compClass>
<hediffDef>PN_CQC</hediffDef>
<onlyApplyToSelf>True</onlyApplyToSelf>
<replaceExisting>true</replaceExisting>
</li>
</comps>
</AbilityDef>
</Defs>