Spanksh Posted January 24, 2015 Share Posted January 24, 2015 (edited) Hey fellow modders, I have recently run into an issue which I haven't been able to find a solution for. Hopefully you can give me some insight on possible solutions. What I'm trying to achieve is quite simple: I want a Perk, which sets the chance to recover arrows to 0, when a certain kind of arrow is equipped. Basically it is exactly identical to the DLC1AurielsArrowsBlocker. This hasn't been a problem, since I could simply copy what said perk does. When doing so everything works perfectly fine until you get the Hunter's Discipline Perk, since it apparently "overwrites" my perk. DLC1AurielsArrowsBlocker seems to always have a higher priority than Hunter's Discipline, so if both perks are active, the chance is first set to 66 (Hunters) and then multiplied by 0 (Auriels), which returns a chance of 0.My perk on the other hand seems to always have a lower priority than Hunter's Discipline, so if both are active, the chance is first multiplied by 0 (mine) and then set to 66 (Hunters) which nullifies the previous multiplication. Same happens when I set the value to 0 instead of multiplying with 0 (obviously). The issue lies in the fact that Hunter's Discipline directly SETS the value and doesn't alter it by multiplication. I would really like to know if there is any way to forcefully prioritize one perk over another. Sadly the actual "priority" settings you can choose within a perk only applies for multiple effects within one single perk.I was able to work around this whole issue by simply adding my arrows to the conditions of the Hunter's Discipline and by that disabling the perk whenever my arrows are equipped, or changing the "set value to 66.6" to "multiply value by 2", but I would rather find a solution, which doesn't involve altering vanilla perks. The best solution would be to know how and why DLC1AurielsArrowsBlocker is prioritized in the first place, since I could simply apply the same logic to my perk. Some input on that issue would be highly appreciated. Thanks! :smile: Edited January 24, 2015 by White Shadow Link to comment Share on other sites More sharing options...
lofgren Posted January 24, 2015 Share Posted January 24, 2015 The priority setting is global, not just for entries within the current perk. There's your solution. Link to comment Share on other sites More sharing options...
Spanksh Posted January 24, 2015 Author Share Posted January 24, 2015 (edited) The priority setting is global, not just for entries within the current perk. There's your solution. It isn't. At least I tried that and it didn't work. So either it is not global or the issue is something completely different, which I can't figure out by testing.Also DLC1AurielsArrowsBlocker and Hunter's Discipline both have priority 0 but still Auriels is prioritized every single time. So why is that? Edited January 24, 2015 by White Shadow Link to comment Share on other sites More sharing options...
lofgren Posted January 24, 2015 Share Posted January 24, 2015 What's the priority of Hunter's Discipline? Link to comment Share on other sites More sharing options...
Spanksh Posted January 24, 2015 Author Share Posted January 24, 2015 What's the priority of Hunter's Discipline? Ok just to be sure I just tried it again and it turns out you were right. The priority is indeed global, however the order of priority is inverted to what I initially thought. When my perk is priority 0 and Hunter's Discipline is 1 it works perfectly fine. The initial problem is still the same though. I can't apply a negative priority to my perk and the aim is to not alter vanilla perks :/ Link to comment Share on other sites More sharing options...
lofgren Posted January 25, 2015 Share Posted January 25, 2015 I haven't tested this, but I read someone else's tip that when two perks have the same priority, they are applied in the order that they were added to the character. It's kind of kludgy, but you could either remove and reapply your perk after the character gets Hunter's disciple or give a second version of your perk. Again I haven't tested this so if it works I would be very interested to know. Link to comment Share on other sites More sharing options...
Spanksh Posted January 25, 2015 Author Share Posted January 25, 2015 I had the same thought and tested this idea before, but it sadly didn't change anything. I also tested changing the ID, in case the name decides which one is prioritized, but that didn't work either (choosing a name for the perk which is before "H" in the alphabet or after "H"). I really don't understand how the the Hunter's Discipline has an absolutely consistent priority over AurielsArrowBlocker without any visible reason and the same for my perk over the Hunter's Discipline. Link to comment Share on other sites More sharing options...
Recommended Posts