어빌리티 추가

This commit is contained in:
Cocopomel
2021-09-17 19:38:17 +09:00
parent 35063f0ff1
commit a6a4fac0b7
10 changed files with 371 additions and 68 deletions

View File

@@ -0,0 +1,179 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!--==================================== 전투 지휘 모듈 ====================================-->
<HediffDef ParentName="RoleStatBuff">
<defName>PN_OfficerCommand</defName>
<label>module active (officer)</label>
<description>By encouraging and commanding nearby allies, this person can enhance their focus in combat and thus their battle performance.</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>True</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
<li Class="HediffCompProperties_GiveHediffsInRange">
<range>9.9</range>
<mote>Mote_CombatCommand</mote>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<hediff>PN_OfficerCommandBuff</hediff>
</li>
<li Class="MoharHediffs.HediffCompProperties_PostRemoveTrigger_HediffAdd">
<triggeredHediff>
<li>PN_OfficerCommandOverload</li>
</triggeredHediff>
</li>
</comps>
<stages>
<li>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.40</offset>
</li>
</capMods>
<statOffsets>
</statOffsets>
<statFactors>
</statFactors>
</li>
</stages>
<isBad>false</isBad>
</HediffDef>
<HediffDef ParentName="RoleStatBuff">
<defName>PN_OfficerCommandBuff</defName>
<label>officer command</label>
<description>Combat abilities are boosted thanks to being near someone who is using the officer command ability.</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>false</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
<li Class="HediffCompProperties_Link">
<requireLinkOnOtherPawn>false</requireLinkOnOtherPawn>
<maxDistance>10</maxDistance>
<customMote>Mote_CombatCommandLinkLine</customMote>
</li>
</comps>
<isBad>false</isBad>
<stages>
<li>
<statOffsets>
<ShootingAccuracyPawn>2</ShootingAccuracyPawn>
</statOffsets>
<statFactors>
<AimingDelayFactor>0.80</AimingDelayFactor>
</statFactors>
</li>
</stages>
</HediffDef>
<ThoughtDef>
<defName>PN_OfficerCommandThought</defName>
<workerClass>ThoughtWorker_Hediff</workerClass>
<hediff>PN_OfficerCommandBuff</hediff>
<validWhileDespawned>true</validWhileDespawned>
<stages>
<li>
<label>command from automaton</label>
<description>I can't believe I have to follow the commands of an automaton.</description>
<baseMoodEffect>-5</baseMoodEffect>
</li>
</stages>
</ThoughtDef>
<ThoughtDef>
<defName>PN_OfficerCommandThoughtforPN</defName>
<workerClass>MoharThoughts.RaceBPHediff</workerClass>
<stages>
<li>
<label>command from officer</label>
<description>The officer is with us. We will be able to win this battle under the officer's command.</description>
<baseMoodEffect>5</baseMoodEffect>
</li>
</stages>
</ThoughtDef>
<MoharThoughts.MTWDef>
<defName>PNMTW_OfficerCommandThoughtforPN</defName>
<thought>PN_OfficerCommandThoughtforPN</thought>
<race>Paniel_Race</race>
<hediff>PN_OfficerCommandBuff</hediff>
<bodyPart>PNBrain</bodyPart>
<bpNum>1</bpNum>
</MoharThoughts.MTWDef>
<HediffDef>
<defName>PN_OfficerCommandOverload</defName>
<label>module overloaded</label>
<labelNoun>module overloaded</labelNoun>
<description>module overloaded</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_Disappears">
<disappearsAfterTicks>97500</disappearsAfterTicks>
<showRemainingTime>True</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.40</offset>
</li>
<li>
<capacity>Moving</capacity>
<offset>-0.20</offset>
</li>
<li>
<capacity>Sight</capacity>
<offset>-0.20</offset>
</li>
<li>
<capacity>Manipulation</capacity>
<offset>-0.20</offset>
</li>
</capMods>
</li>
</stages>
</HediffDef>
<!--==================================== 마이스터 모듈 ====================================-->
<HediffDef ParentName="RoleStatBuff">
<defName>PN_meisteradvice</defName>
<label>meister's advice</label>
<description>The sense of being got advice from the meister.</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>True</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<isBad>false</isBad>
<stages>
<li>
<statFactors>
<GeneralLaborSpeed>1.20</GeneralLaborSpeed>
<MiningSpeed>1.20</MiningSpeed>
<DeepDrillingSpeed>1.20</DeepDrillingSpeed>
<SmoothingSpeed>1.20</SmoothingSpeed>
<ConstructionSpeed>1.20</ConstructionSpeed>
</statFactors>
</li>
</stages>
</HediffDef>
</Defs>

View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!--
[모듈 목록]
근접 버프
사격 버프
의료 버프
생산 버프
농업 버프
채굴 버프
-->
<!--==================================== 난사광 모듈 ====================================-->
<HediffDef ParentName="RoleStatBuff">
<defName>PN_Triggerhappy</defName>
<label>module active (rapid fire)</label>
<description>...</description>
<hediffClass>HediffWithComps</hediffClass>
<stages>
<li>
<statOffsets>
<ShootingAccuracyPawn>-5</ShootingAccuracyPawn>
</statOffsets>
<statFactors>
<AimingDelayFactor>0.5</AimingDelayFactor>
</statFactors>
</li>
</stages>
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>True</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
<li Class="MoharHediffs.HediffCompProperties_PostRemoveTrigger_HediffAdd">
<triggeredHediff>
<li>PN_TriggerhappyOverload</li>
</triggeredHediff>
</li>
</comps>
<isBad>false</isBad>
</HediffDef>
<HediffDef>
<defName>PN_TriggerhappyOverload</defName>
<label>module overloaded</label>
<labelNoun>module overloaded</labelNoun>
<description>module overloaded</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_Disappears">
<disappearsAfterTicks>112500</disappearsAfterTicks>
<showRemainingTime>True</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.20</offset>
</li>
<li>
<capacity>Moving</capacity>
<offset>-0.30</offset>
</li>
<li>
<capacity>Sight</capacity>
<offset>-0.30</offset>
</li>
<li>
<capacity>Manipulation</capacity>
<offset>-0.30</offset>
</li>
</capMods>
<statOffsets>
<ShootingAccuracyPawn>-3</ShootingAccuracyPawn>
</statOffsets>
<statFactors>
<AimingDelayFactor>1.3</AimingDelayFactor>
</statFactors>
</li>
</stages>
</HediffDef>
</Defs>