• 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

Allow to take more than 1 advance in attributes

jbearwillis

Well-known member
Is there a way to allow a character to take more than 1 Attribute Advancement after the first one in the same rank after the character is locked and have it not throw an error.
 
OK I figured it out, it took me a lot of trial and error, but at long last I got it to work. I made a mechanic that allows you to take more Attribute Advancements per level then allowed because the starship creation works a lot differently then character creation does. So here is the mechanic.

Name: Increased Attribute Advance

Phase: Traits

Priority: 5000

Index: 1

if (hero.tagis[mode.creation] = 0) then
~make sure the tag we're adding isn't already present - we don't want
~to double it up
if (hero.tagis[Advance.Increase] >= 1) then
if (hero.child[advAttrib].tagis[Helper.NoMaxBound] = 0) then
perform hero.child[advAttrib].assign[Helper.NoMaxBound]
endif
endif
endif

I set it at 5000 because it didn't seem to work before then. If there is a better way to write the script, any help will be most appreciated.

Thanks JBear
 
Thanks for posting how you figured it out! You never know when it might be useful for someone else, too.
 
Back
Top