Skip to content

Commit

Permalink
Merge pull request #3114 from CombatExtended-Continued/VE-Vikings
Browse files Browse the repository at this point in the history
VE - Vikings DamageDef Fix
  • Loading branch information
N7Huntsman authored Apr 29, 2024
2 parents 6a39cc4 + f8875e8 commit 2208e92
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

<DamageDef ParentName="Frostbite">
<defName>CE_Cryptofuel</defName>
<label>Crypto Burn</label>
<hediff>Frostbite</hediff>
<label>frostbite</label>
<workerClass>DamageWorker_AddInjury</workerClass>
<additionalHediffs>
<li>
Expand All @@ -18,14 +17,12 @@
<makesBlood>false</makesBlood>
<canInterruptJobs>true</canInterruptJobs>
<externalViolence>true</externalViolence>
<deathMessage>{0} has been frozen to death.</deathMessage>
<armorCategory>Heat</armorCategory>
<minDamageToFragment>15</minDamageToFragment>
<defaultArmorPenetration>0.5</defaultArmorPenetration>
<explosionHeatEnergyPerCell>-20</explosionHeatEnergyPerCell>
<soundExplosion>Explosion_Stun</soundExplosion>
<combatLogRules>Damage_Flame</combatLogRules>
<canUseDeflectMetalEffect>false</canUseDeflectMetalEffect>
<explosionColorCenter>(0,1,1,1)</explosionColorCenter>
<explosionColorEdge>(0,0.70,1,1)</explosionColorEdge>
</DamageDef>
Expand Down
6 changes: 6 additions & 0 deletions Patches/Core/DamageDefs/Damages_LocalInjury.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
<value>Bullet</value>
</Operation>

<Operation Class="PatchOperationAttributeSet">
<xpath>Defs/DamageDef[defName="Frostbite"]</xpath>
<attribute>Name</attribute>
<value>Frostbite</value>
</Operation>

<!-- ========== Change Bomb hediff ========== -->

<Operation Class="PatchOperationReplace">
Expand Down

0 comments on commit 2208e92

Please sign in to comment.