RayPrancer
Well-known member
Okay, I've found the main hitpoint script in thing_traits.dat (the block beginning id=trHealth). Fudge by default has it as 9+Damage Capacity Attribute. As I think I mentioned before, I've downgraded Damage Capacity to a skill.
What I need the health trait to actaully calculate is 9+Damage Capacity+Armour Class (the setting uses British English spellings) - so is this a safe script to change the current calculate script to (assuming trDefense and skDamCap are valid ids)?
<script>
<!-- Calculate the Health trait as appropriate -->
<eval value="1" phase="Traits" priority="4000">
<before name="Derived trtFinal"/>
<after name="Calc trtFinal"/><![CDATA[
field[trtBonus].value = field[trt.Final].value+linkage[trDefense]+linkage[skDamCap]
]]></eval>
</thing>
</script>
What I need the health trait to actaully calculate is 9+Damage Capacity+Armour Class (the setting uses British English spellings) - so is this a safe script to change the current calculate script to (assuming trDefense and skDamCap are valid ids)?
<script>
<!-- Calculate the Health trait as appropriate -->
<eval value="1" phase="Traits" priority="4000">
<before name="Derived trtFinal"/>
<after name="Calc trtFinal"/><![CDATA[
field[trtBonus].value = field[trt.Final].value+linkage[trDefense]+linkage[skDamCap]
]]></eval>
</thing>
</script>