Skip to content

Commit

Permalink
Social decay rework
Browse files Browse the repository at this point in the history
social now decays rather slowly, but its daily threshold is much lower than vanilla (2500)
  • Loading branch information
masakitenchi committed Jul 19, 2024
1 parent 4400ee4 commit 7856e42
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion Mods/Core_SK/Patches/Core/Skills.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
defName="Crafting" or
defName="Artistic" or
defName="Medicine" or
defName="Social" or
defName="Intellectual"]
</xpath>
<value>
Expand Down Expand Up @@ -69,6 +68,34 @@
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/SkillDef[defName="Social"]</xpath>
<value>
<li Class="SK.SkillDecayExtension">
<xpThresholdPerDay>2500</xpThresholdPerDay>
<decayCurve>
<points>
<li>(7,0)</li>
<li>(8,0)</li>
<li>(9,0)</li>
<li>(10,0)</li>
<li>(11,0)</li>
<li>(12,0)</li>
<li>(13,0)</li>
<!-- Vanilla consider lvl 14 as master skill-->
<li>(14,0)</li>
<li>(15,-0.7)</li>
<li>(16,-0.9)</li>
<li>(17,-1.2)</li>
<li>(18,-1.3)</li>
<li>(19,-1.4)</li>
<li>(20,-1.5)</li>
</points>
</decayCurve>
</li>
</value>
</Operation>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/SkillDef[defName="Shooting" or defName="Melee"]</xpath>
<value>
Expand Down

0 comments on commit 7856e42

Please sign in to comment.