dcsobral
Survivor
- Version
- 2.1 b7
- Platform
- Windows
This is not an in-game bug report, and both logs and screenshot links are bogus (copied from a previous bug report).
I was looking at what skills lead to an increased chance in book series (which is not as well documented in-game as Crafting Skill Magazines) when I noticed that the mechanism used to "turn off" the increased chance when the series is completed is different than the one used by CSM. Book series use a "perc_add" operation and CSM use a "base_set" operation, even though both use "perc_add" to increase the chance.
Here's an example:
I was looking at what skills lead to an increased chance in book series (which is not as well documented in-game as Crafting Skill Magazines) when I noticed that the mechanism used to "turn off" the increased chance when the series is completed is different than the one used by CSM. Book series use a "perc_add" operation and CSM use a "base_set" operation, even though both use "perc_add" to increase the chance.
Here's an example:
XML:
<!-- Increase the chance to find rifle crafting skill magazines with each perk rank up to crafting skill 100 -->
<passive_effect name="LootProb" operation="perc_add" level="1,5" value="2,10" tags="riflesCSM">
<requirement name="ProgressionLevel" progression_name="craftingRifles" operation="LT" value="100"/>
</passive_effect>
<!-- Once rifle crafting skill reaches 100, set the probability bonus of finding rifle crafting skill magazines to 0 -
<passive_effect name="LootProb" operation="base_set" level="1,5" value="1,1" tags="riflesCSM">
<requirement name="ProgressionLevel" progression_name="craftingRifles" operation="Equals" value="100"/>
</passive_effect>
<!-- Increase the chance to find Sniper books until each book is read -->
<passive_effect name="LootProb" operation="perc_add" level="1,5" value="2,10" tags="sniperProb">
<requirement name="ProgressionLevel" progression_name="perkSniperComplete" operation="LT" value="1"/>
</passive_effect>
<!-- When all Sniper books have been read, set the probability bonus of finding them to 0 -->
<passive_effect name="LootProb" operation="perc_add" level="1,5" value="1,1" tags="sniperProb">
<requirement name="ProgressionLevel" progression_name="perkSniperComplete" operation="Equals" value="1"/>
</passive_effect>
- Reproduction Steps
- Not applicable. Check progression.xml.
- Link to Logs
- https://pastebin.com/cdXkR4j5
- Link to Screenshot/Video
- https://imgur.com/a/uK9EKYN