Paniel_the_Automata_temporary/Ideology/Defs/Ideo_Hediffs_Module.xml
2021-09-16 00:54:23 +09:00

107 lines
3.4 KiB
XML

<?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>
<MeleeHitChance>2</MeleeHitChance>
</statOffsets>
<statFactors>
<AimingDelayFactor>0.80</AimingDelayFactor>
</statFactors>
</li>
</stages>
</HediffDef>
<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>40000</disappearsAfterTicks>
<showRemainingTime>True</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.40</offset>
</li>
</capMods>
</li>
</stages>
</HediffDef>
</Defs>