酸蚀,再生回调

This commit is contained in:
ProjectKoi-Kalo\Kalo 2024-08-07 00:07:40 +08:00
parent 169c87bec3
commit 0233610aa6
9 changed files with 86 additions and 11 deletions

Binary file not shown.

Binary file not shown.

View File

@ -207,6 +207,7 @@
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-1</severityPerDay>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
@ -256,16 +257,16 @@
<label>Acid Corrosion</label>
<description>This preson's armor is corroding due acid .</description>
<defaultLabelColor>(1, 1, 0.8)</defaultLabelColor>
<hediffClass>HediffWithComps</hediffClass>
<hediffClass>DragonianMix.HediffCurseFlame</hediffClass>
<comps>
<li Class="HediffCompProperties_SeverityPerDay">
<severityPerDay>-1</severityPerDay>
<severityPerDay>-4</severityPerDay>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
</comps>
<stages>
<li>
<label>minor</label>
<becomeVisible>false</becomeVisible>
</li>
<li>
<label>minor</label>

View File

@ -66,7 +66,7 @@
<stages>
<li>
<minSeverity>0</minSeverity>
<regeneration>1</regeneration>
<regeneration>100</regeneration>
<showRegenerationStat>true</showRegenerationStat>
</li>
</stages>
@ -84,7 +84,7 @@
<stages>
<li>
<minSeverity>0</minSeverity>
<regeneration>300</regeneration>
<regeneration>10000</regeneration>
<showRegenerationStat>true</showRegenerationStat>
<painFactor>0.1</painFactor>
</li>

View File

@ -10,9 +10,9 @@
<DR_BattleStaffBurner.label>火焰喷射</DR_BattleStaffBurner.label>
<DR_BattleStaffBurner.description>使用大地魔法的力量,喷射出一片巨大的锥形火焰。</DR_BattleStaffBurner.description>
<DRM_Deaddustpop.label>释放死灵尘</DRM_Deaddustpop.label>
<DRM_Deaddustpop.label>死灵尘</DRM_Deaddustpop.label>
<DRM_Deaddustpop.description>释放一团死灵尘。死灵尘附着在尸体上后,便会引发混乱而剧烈的反应,使它们重获行动能力。这些活尸只会攻击你的敌人。死灵尘由飘浮在空气中的超凡微械构成,能够穿透细胞并修复坏死的组织。</DRM_Deaddustpop.description>
<DRM_Deaddustpop.verbProperties.label>释放死灵尘</DRM_Deaddustpop.verbProperties.label>
<DRM_Deaddustpop.verbProperties.label>释放死灵尘</DRM_Deaddustpop.verbProperties.label>
<DRM_Toxgaspop.label>释放有毒气体</DRM_Toxgaspop.label>
<DRM_Toxgaspop.description>释放一团毒气。嗯。</DRM_Toxgaspop.description>
@ -23,5 +23,18 @@
<DRM_Skip.label>折跃</DRM_Skip.label>
<DRM_Skip.description>将目标传送到离原点不远的特定位置。太大的物体无法被传送。</DRM_Skip.description>
<DRM_Acidgaspop.label>酸性云雾</DRM_Acidgaspop.label>
<DRM_Acidgaspop.description>释放一团酸性云雾。接触酸性气体后会造成持续的酸蚀伤害附着。</DRM_Acidgaspop.description>
<DRM_Acidgaspop.verbProperties.label>释放酸性云雾</DRM_Acidgaspop.verbProperties.label>
<DRM_Acidgaspop.label>恐惧毒雾</DRM_Acidgaspop.label>
<DRM_Acidgaspop.description>释放一团恐惧毒雾。恐惧气体会灼伤生物的眼睛与肺部,使视觉与呼吸能力暂时降低。持续暴露还会引发生物极度恐惧情绪和诱发暴力行为。</DRM_Acidgaspop.description>
<DRM_Acidgaspop.verbProperties.label>释放恐惧毒雾</DRM_Acidgaspop.verbProperties.label>
<!-- EN: acid spray -->
<DRM_AcidSpray.label>酸液喷吐</DRM_AcidSpray.label>
<!-- EN: Spray a sticky acid substance from glands in the neck up through the mouth and all over the target area. The acid will stick to targets and burn them. -->
<DRM_AcidSpray.description>从颈部的腺体喷出粘稠的酸性物质,通过嘴巴向外喷出。酸性物质附着的目标会被灼烧。</DRM_AcidSpray.description>
</LanguageData>

View File

@ -6,7 +6,7 @@
<label>BattleStaff burner</label>
<description>Use terra magic to create a massive cone of flame.</description>
<iconPath>UI/Abilities/Burner</iconPath>
<cooldownTicksRange>900</cooldownTicksRange>
<cooldownTicksRange>1800</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<ai_IsIncendiary>true</ai_IsIncendiary>
<warmupStartSound>FireSpew_Warmup</warmupStartSound>
@ -26,11 +26,12 @@
</flammabilityAttachFireChanceCurve>
</verbProperties>
<comps>
<li Class="CompProperties_AbilityFireSpew">
<li Class="DragonianMix.CompProperties_AbilityDRM_FireSpew">
<range>22.9</range>
<lineWidthEnd>5</lineWidthEnd>
<filthDef>Filth_Ash</filthDef>
<damAmount>30</damAmount>
<damageDef>DRM_Flame</damageDef>
<canHitFilledCells>true</canHitFilledCells>
</li>
<li Class="CompProperties_AbilityBurner">

View File

@ -139,4 +139,60 @@
</comps>
</AbilityDef>
<AbilityDef>
<defName>DRM_AcidSpray</defName>
<label>acid spray</label>
<description>Spray a sticky acid substance from glands in the neck up through the mouth and all over the target area. The acid will stick to targets and burn them.</description>
<iconPath>UI/Abilities/AcidSpray</iconPath>
<cooldownTicksRange>1800</cooldownTicksRange>
<aiCanUse>true</aiCanUse>
<displayOrder>300</displayOrder>
<category>Sanguophage</category>
<sendMessageOnCooldownComplete>true</sendMessageOnCooldownComplete>
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<range>22.5</range>
<warmupTime>0.5</warmupTime>
<soundCast>AcidSpray_Resolve</soundCast>
<targetParams>
<canTargetLocations>true</canTargetLocations>
</targetParams>
</verbProperties>
<comps>
<li Class="CompProperties_AbilitySprayLiquid">
<projectileDef>Proj_Acid</projectileDef>
<numCellsToHit>25</numCellsToHit>
<sprayEffecter>AcidSpray_Directional</sprayEffecter>
</li>
</comps>
</AbilityDef>
<ThingDef>
<defName>Proj_Acid</defName>
<label>acid</label>
<thingClass>Projectile_Liquid</thingClass>
<category>Projectile</category>
<tickerType>Normal</tickerType>
<altitudeLayer>Projectile</altitudeLayer>
<useHitPoints>False</useHitPoints>
<neverMultiSelect>True</neverMultiSelect>
<graphicData>
<texPath>Things/Projectile/Acid</texPath>
<graphicClass>Graphic_Random</graphicClass>
<shaderType>MoteGlow</shaderType>
<drawSize>0.85</drawSize>
</graphicData>
<projectile>
<damageDef>DRM_AcidBurn</damageDef>
<speed>25</speed>
<damageAmountBase>30</damageAmountBase>
<arcHeightFactor>0.4</arcHeightFactor>
<armorPenetrationBase>0.8</armorPenetrationBase>
<stoppingPower>1</stoppingPower>
<shadowSize>0</shadowSize>
<filth>Filth_SpentAcid</filth>
<filthCount>1</filthCount>
</projectile>
</ThingDef>
</Defs>

View File

@ -7,11 +7,11 @@
<description>Teleport the target to a desired position not too far from its starting point. Objects which are too large cannot be teleported.</description>
<iconPath>UI/Abilities/Skip</iconPath>
<showPsycastEffects>False</showPsycastEffects>
<cooldownTicksRange>15000</cooldownTicksRange>
<cooldownTicksRange>1800</cooldownTicksRange>
<sendMessageOnCooldownComplete>true</sendMessageOnCooldownComplete>
<verbProperties>
<verbClass>Verb_CastAbility</verbClass>
<label>release deadlife dust</label>
<label>skip</label>
<warmupTime>0.25</warmupTime>
<range>30</range>
<targetParams>

View File

@ -7,6 +7,10 @@
<labelNoun>a Acidifier DragonianOrb.</labelNoun>
<description>An installed Acidifier DragonianOrb.dissolve gear in contact with the user's body.</description>
<priceImpact>false</priceImpact>
<abilities>
<li MayRequire="Ludeon.RimWorld.Biotech">DRM_AcidSpray</li>
<li MayRequire="Ludeon.RimWorld.Biotech">DRM_Acidgaspop</li>
</abilities>
<comps>
<li Class="HediffCompProperties_DissolveGearOnDeath">
<fleck>AcidCloud</fleck>