人格武器多重攻击

This commit is contained in:
ProjectKoi-Kalo\Kalo 2025-05-16 16:34:07 +08:00
parent a509c05505
commit 736ad201a6
7 changed files with 203 additions and 68 deletions

Binary file not shown.

Binary file not shown.

View File

@ -3,7 +3,7 @@
<HediffDef>
<defName>DRM_Princess_Mark</defName>
<hediffClass>Hediff_High</hediffClass>
<hediffClass>HediffWithComps</hediffClass>
<label>Dragonian Princess</label>
<description>She is the chosen one Dragonian Princess. How cool! But this means nothing.</description>
<defaultLabelColor>(1,1,1)</defaultLabelColor>

View File

@ -408,19 +408,26 @@
<label>Electric Shock</label>
<description>This preson is got a shock.</description>
<defaultLabelColor>(1, 1, 0.8)</defaultLabelColor>
<hediffClass>HediffWithComps</hediffClass>
<hediffClass>DragonianMix.HediffCurseFlame</hediffClass>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-4</severityPerDay>
</li>
</comps>
<modExtensions>
<li Class="DragonianMix.CurseFlameModExt">
<damageDefName>EMP</damageDefName>
<damageRange>1~5</damageRange>
<damageIntervalTicks>40</damageIntervalTicks>
</li>
</modExtensions>
<injuryProps>
<painPerSeverity>0.02</painPerSeverity>
</injuryProps>
<stages>
<li>
<label>minor</label>
<becomeVisible>false</becomeVisible>
<becomeVisible>true</becomeVisible>
</li>
<li>
<label>minor</label>
@ -621,4 +628,59 @@
</stages>
</HediffDef>
<HediffDef>
<defName>DRM_AwakenHeart</defName>
<label>Awaken Heart</label>
<description>Affected by personality weapons, this individual is urgently attempting to awaken the minds of others.</description>
<defaultLabelColor>(0.52, 1, 0.95)</defaultLabelColor>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-4</severityPerDay>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
<label>minor</label>
<becomeVisible>true</becomeVisible>
<statOffsets>
<MeleeDamageFactor>1.2</MeleeDamageFactor>
</statOffsets>
</li>
<li>
<label>minor</label>
<minSeverity>0.2</minSeverity>
<statOffsets>
<MeleeCooldownFactor>-0.2</MeleeCooldownFactor>
<MeleeDamageFactor>1.4</MeleeDamageFactor>
</statOffsets>
</li>
<li>
<label>moderate</label>
<minSeverity>0.4</minSeverity>
<statOffsets>
<MeleeCooldownFactor>-0.4</MeleeCooldownFactor>
<MeleeDamageFactor>1.6</MeleeDamageFactor>
</statOffsets>
</li>
<li>
<label>serious</label>
<minSeverity>0.6</minSeverity>
<statOffsets>
<MeleeCooldownFactor>-0.6</MeleeCooldownFactor>
<MeleeDamageFactor>1.8</MeleeDamageFactor>
</statOffsets>
</li>
<li>
<label>completely</label>
<minSeverity>0.8</minSeverity>
<statOffsets>
<MeleeCooldownFactor>-0.8</MeleeCooldownFactor>
<MeleeDamageFactor>2.0</MeleeDamageFactor>
</statOffsets>
</li>
</stages>
</HediffDef>
</Defs>

View File

@ -48,6 +48,7 @@
</li>
</extraMeleeDamages>
<cooldownTime>2</cooldownTime>
<chanceFactor>1</chanceFactor>
</li>
<li>
<label>head</label>
@ -55,14 +56,19 @@
<capacities>
<li>Blunt</li>
</capacities>
<power>29</power>
<power>21</power>
<cooldownTime>3</cooldownTime>
<extraMeleeDamages>
<li>
<def>EMP</def>
<amount>15</amount>
</li>
</extraMeleeDamages>
<extraMeleeDamages>
<li>
<def>DRM_Arc</def>
<amount>7</amount>
</li>
<li>
<def>EMP</def>
<amount>15</amount>
</li>
</extraMeleeDamages>
<chanceFactor>10</chanceFactor>
</li>
</tools>
<meleeHitSound>DRHammerSound</meleeHitSound>

View File

@ -177,6 +177,21 @@
<!-- EN: severe -->
<DRM_FearGas.stages.severe.label>严重</DRM_FearGas.stages.severe.label>
<DRM_AwakenHeart.label>唤醒心灵</DRM_AwakenHeart.label>
<DRM_AwakenHeart.description>受到人格武器影响,这个人正迫切想要唤醒他人的心灵。</DRM_AwakenHeart.description>
<!-- EN: minor -->
<DRM_AwakenHeart.stages.minor-0.label>等级1/5</DRM_AwakenHeart.stages.minor-0.label>
<!-- EN: minor -->
<DRM_AwakenHeart.stages.minor-1.label>等级2/5</DRM_AwakenHeart.stages.minor-1.label>
<!-- EN: moderate -->
<DRM_AwakenHeart.stages.moderate.label>等级3/5</DRM_AwakenHeart.stages.moderate.label>
<!-- EN: serious -->
<DRM_AwakenHeart.stages.serious.label>等级4/5</DRM_AwakenHeart.stages.serious.label>
<!-- EN: extreme -->
<DRM_AwakenHeart.stages.extreme.label>等级5/5</DRM_AwakenHeart.stages.extreme.label>
<!-- EN: extreme -->
<DRM_AwakenHeart.stages.completely.label>等级5/5</DRM_AwakenHeart.stages.completely.label>
<DRM_Stun.label>被震撼</DRM_Stun.label>
<DRM_Stun.description>被强大的外力冲击掀翻在地。需要一点时间振作。</DRM_Stun.description>
<DRM_Stun.battleStateLabel>震撼</DRM_Stun.battleStateLabel>

View File

@ -1,63 +1,115 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BaseWeapon_Bladelink">
<defName>DR_BattleHammerBladelink</defName>
<label>persona battle hammer</label>
<description>A warhammer with an embedded EMP capacitor. Upon impact, Electrical shock temporarily paralyzes the circuit.
<ThingDef ParentName="BaseWeapon_Bladelink">
<defName>DR_BattleHammerBladelink</defName>
<label>persona battle hammer</label>
<description>A warhammer with an embedded EMP capacitor. Upon impact, Electrical shock temporarily paralyzes the circuit.
\nThis weapon has an onboard persona that can bond to only a single person. The wielder and intelligent weapon can synchronize their reflexes and attack with frightening speed, accuracy, and creativity. Once bonded to a wielder, the weapon's persona will refuse to be wielded by anyone else.</description>
<statBases>
<MarketValue>3000</MarketValue>
<Mass>2</Mass>
</statBases>
<soundInteract>Interact_BladelinkZeusHammer</soundInteract>
<meleeHitSound>DRHammerSound</meleeHitSound>
<smeltable>false</smeltable>
<equippedAngleOffset>0</equippedAngleOffset>
<graphicData>
<texPath>Dragonian/Things/Weapon/DR_BattleHammer</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
</graphicData>
<uiIconScale>1</uiIconScale>
<weaponTags>
<li>DR_BattleHammer</li>
</weaponTags>
<tools>
<li>
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>17</power>
<extraMeleeDamages>
<li>
<def>EMP</def>
<amount>5</amount>
</li>
</extraMeleeDamages>
<cooldownTime>1.5</cooldownTime>
</li>
<li>
<label>head</label>
<labelUsedInLogging>false</labelUsedInLogging>
<capacities>
<li>Blunt</li>
</capacities>
<power>25</power>
<cooldownTime>2.5</cooldownTime>
<extraMeleeDamages>
<li>
<def>DRM_Arc</def>
<amount>14</amount>
</li>
<li>
<def>EMP</def>
<amount>15</amount>
</li>
</extraMeleeDamages>
</li>
</tools>
</ThingDef>
<statBases>
<MarketValue>3000</MarketValue>
<Mass>2</Mass>
</statBases>
<soundInteract>Interact_BladelinkZeusHammer</soundInteract>
<meleeHitSound>DRHammerSound</meleeHitSound>
<smeltable>false</smeltable>
<equippedAngleOffset>0</equippedAngleOffset>
<graphicData>
<texPath>Dragonian/Things/Weapon/DR_BattleHammer</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shaderType>CutoutComplex</shaderType>
</graphicData>
<uiIconScale>1</uiIconScale>
<weaponTags>
<li>DR_BattleHammer</li>
</weaponTags>
<tools>
<li>
<label>handle</label>
<capacities>
<li>Poke</li>
</capacities>
<power>17</power>
<extraMeleeDamages>
<li>
<def>EMP</def>
<amount>5</amount>
</li>
</extraMeleeDamages>
<cooldownTime>1.5</cooldownTime>
<chanceFactor>1</chanceFactor>
</li>
<li>
<label>head</label>
<labelUsedInLogging>false</labelUsedInLogging>
<capacities>
<li>DRM_HummerSmash</li>
</capacities>
<power>25</power>
<cooldownTime>2.5</cooldownTime>
<extraMeleeDamages>
<li>
<def>DRM_Arc</def>
<amount>14</amount>
</li>
<li>
<def>EMP</def>
<amount>15</amount>
</li>
</extraMeleeDamages>
<chanceFactor>10</chanceFactor>
</li>
</tools>
<comps>
<li>
<compClass>CompQuality</compClass>
</li>
<li Class="DragonianMix.CompPropertiesScarletSickle_Data">
<sputteringRange>2</sputteringRange>
<sputteringNumber>5</sputteringNumber>
<sputteringDamageAmount>25</sputteringDamageAmount>
<sputteringDamage>DRM_Arc</sputteringDamage>
<hitHediff>DRM_AwakenHeart</hitHediff>
<hitHediffSeverity>0.1</hitHediffSeverity>
</li>
<li Class="CompProperties_Biocodable"/>
<li Class="CompProperties_Art">
<nameMaker>NamerArtWeaponMelee</nameMaker>
<descriptionMaker>ArtDescription_WeaponMelee</descriptionMaker>
<minQualityForArtistic>Excellent</minQualityForArtistic>
</li>
</comps>
<costList>
<Shard MayRequire="Ludeon.RimWorld.Anomaly">1</Shard>
<WoolDragonian>400</WoolDragonian>
<Bioferrite MayRequire="Ludeon.RimWorld.Anomaly">400</Bioferrite>
<Steel MayNotRequire="Ludeon.RimWorld.Anomaly">400</Steel>
<ComponentSpacer>5</ComponentSpacer>
</costList>
<recipeMaker>
<researchPrerequisite>Electricity</researchPrerequisite>
<skillRequirements>
<Crafting>10</Crafting>
</skillRequirements>
</recipeMaker>
</ThingDef>
<ManeuverDef>
<defName>Smash_DR_BattleHammer</defName>
<requiredCapacity>DRM_HummerSmash</requiredCapacity>
<verb>
<verbClass>DragonianMix.Verb_MeleeAttack_ScarletSickle</verbClass>
<meleeDamageDef>Blunt</meleeDamageDef>
</verb>
<logEntryDef>MeleeAttack</logEntryDef>
<combatLogRulesHit>Maneuver_Smash_MeleeHit</combatLogRulesHit>
<combatLogRulesDeflect>Maneuver_Smash_MeleeDeflect</combatLogRulesDeflect>
<combatLogRulesMiss>Maneuver_Smash_MeleeMiss</combatLogRulesMiss>
<combatLogRulesDodge>Maneuver_Smash_MeleeDodge</combatLogRulesDodge>
</ManeuverDef>
<ToolCapacityDef>
<defName>DRM_HummerSmash</defName>
<label>Blunt</label>
</ToolCapacityDef>
</Defs>