Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797
|
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.
|
#1 |
Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797
|
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 |
#2 |
Senior Member
Join Date: Nov 2010
Location: Metairie, LA, USA
Posts: 1,819
|
Thanks for posting how you figured it out! You never know when it might be useful for someone else, too.
Lenny Zimmermann Metairie, LA, USA Data files authored (please let me know if you see any issues with any of these if you have/use them): Official (In the downloader) 50 Fathoms, Deadlands: Hell On Earth, Deadlands: Noir, East Texas University, Necessary Evil (requires Super Powers Companion), Pirates of the Spanish Main, Space 1889 (original file by Erich), Tour of Darkness, Weird War II, Weird Wars: Rome Coming Eventually Evernight (LWD has completed their review but I have some fixes to make first... although Pinnacle mentioned this might get an overhaul to SWADE so I may just wait for that first. If you just HAVE to have this now, though, just PM me) |
#3 |
|
|