Shino Posted December 17, 2021 Share Posted December 17, 2021 I'm trying to modify a perk to basically reduce the hunger/thirst threshold by about 75% but instead of scaling with the perk rank it goes by level. Yes, By level, capping at 100. Basically rank 3 of that perk adds two lines at progression.xml in /progression/level that say <setattribute xpath="/buffs/triggered_effect[ @name='buffStatusThirsty01' or @name='buffStatusThirsty02' or @name='buffStatusThirsty03'] /requirement[@name='StatComparePercCurrentToMax']/@value" level="1,100" operation="perc_subtract">.01, .75</setattribute> <setattribute xpath="/buffs/triggered_effect[ @name='buffStatusHungry01' or @name='buffStatusHungry02' or @name='buffStatusHungry03'] /requirement[@name='StatComparePercCurrentToMax']/@value" level="1,100" operation="perc_subtract">.01, .75</setattribute> Is this the correct way to lower thresholds? Is there any other better way? I thought at first I could just raise FoodMax and WaterMax but since hunger works of percentages it would still trigger at 50%. More over doing that would reduce the efficiency of ALL food by 75% since now they have to fill 35 / [100 + level] instead of just 35 / 100. Link to comment Share on other sites More sharing options...
Shino Posted December 17, 2021 Author Share Posted December 17, 2021 I am a moron and don't know how to do basic maths. Even if it's percentage, a sheer increase in Food/WaterMax is an increase in the threshold. Ignore this question tyvm Link to comment Share on other sites More sharing options...
BFT2020 Posted December 17, 2021 Share Posted December 17, 2021 3 minutes ago, Shino said: I am a moron and don't know how to do basic maths. Even if it's percentage, a sheer increase in Food/WaterMax is an increase in the threshold. Ignore this question tyvm Morons don't figure out problems on their own, nice job Link to comment Share on other sites More sharing options...
Shino Posted December 17, 2021 Author Share Posted December 17, 2021 What's more, It seems that already happens in vanilla. I never noticed the increase on max food and water per level I swear! Now, to remove the +1 on health and stamina and boom, back to a17 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now