• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Encumbrance Problems

sablevarg

Active member
I have a problem with a feat I'm trying to make called Background - Laborer
What I want it to do is give a 25% bonus on weight carried (a 10 strength would be 41/83/125 instead of 33/66/100), I've built the following code:

(Post-Attributes[User] P:100, I:1)

hero.child[Totals].field[tEncumLgt].value = round(hero.child[Totals].field[tEncumLgt].value * 1.25, 0, 0)

hero.child[Totals].field[tEncumMed].value = round(hero.child[Totals].field[tEncumMed].value * 1.25, 0, 0)

hero.child[Totals].field[tEncumHvy].value = round(hero.child[Totals].field[tEncumHvy].value * 1.25, 0, 0)

I get the weights I want for each encumbrance category, but when I give him a 35 lb item he goes to medium encumbrance...
Now I'm stuck, can anyone help?


BTW: I have moved phase around [post-attr (user)] is the earliest the code works
I've changed the priority (though, admittedly, I don't know exactly what I'm doing there)
 
How late have you moved the phase? Have you tried Final Phase or Render? Usually for user stuff, priority is going to be 10000 or later, but it depends on what you are doing. I haven't done anything with encumbrance yet, but I can take a look at it later if you are still having trouble.
 
Question: I had tried Post-Attribute already, can someone tell me where to find more info on priority; I'm still fuzzy on the concept.
Maybe if I understood it better I could have gotten this without bothering anybody.

Thanks again
 
Back
Top