• 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

Can you change a feat's prereq fields programatically?

TheIronGolem

Well-known member
So here's a feat that I'm trying to implement, relevant part bolded:

Prodigious Two-Weapon Fighting [Combat]
Prerequisite: Strength 13
Benefit: You may fight with a one-handed weapon in your offhand as if it were a light weapon. In addition, you may use your Strength score instead of your Dexterity score for the purpose of qualifying for Two-Weapon Fighting and any feats with Two-Weapon Fighting as a prerequisite.

Since ability score prereqs are now held in a numeric field, I was hoping I could simply have this feat move any value it sees from the target feats' reqStr field to reqDex. But I need to do this when the feats aren't yet live on the hero, and trying to change field values at that time gets me the "Attempt to assign field values with no pick context" error.

I'm assuming that means I can't just go messing with the fields of non-bootstrapped Things. Okay, fair enough. But is there any other way I can accomplish this? I guess I could replace TWF (and all its numerous spawn) with new versions that have prereqs taking Prodigious into account, but that seems like it'll be a bear to maintain.
 
You could write an eval script on a mechanic which switches the fields, the problem is that eval scripts can only affect picks (things which have been added to a character). Before you selected them, it would still report the error, but after you added it that would go away.

For a full fix, you are correct that replacement would be the right way to go. You are also correct that it would be inconvienent to maintain if future feats reliant on TWF came out.
 
I guess I could replace TWF (and all its numerous spawn) with new versions that have prereqs taking Prodigious into account, but that seems like it'll be a bear to maintain.
Just a heads up we NEVER do this in the community stuff. As you can only have ONE replace meaning if a group is already using houserules with TWF and done a replace the community stuff now fails. Or it prevents anyone from ever doing this in the future.

Best we could do is a put a "note" onto the TWF feats. Or put a note in this ability that says take the feat if they meet the pre-req and then use my adjustment "Feat, Pre-Req Valid" to make the feat valid and not show a warning message on the character.

Best we can do for now... :(
 
Just a heads up we NEVER do this in the community stuff. As you can only have ONE replace meaning if a group is already using houserules with TWF and done a replace the community stuff now fails. Or it prevents anyone from ever doing this in the future.

I'm actually pretty relieved to hear that. Partly because it's entirely logical and practical, but mostly because it gives me an ironclad excuse to avoid dealing with the Goat With A Thousand Young that is Two-Weapon Fighting.
 
I'm actually pretty relieved to hear that. Partly because it's entirely logical and practical, but mostly because it gives me an ironclad excuse to avoid dealing with the Goat With A Thousand Young that is Two-Weapon Fighting.
LOL yeah another reason! Not including the crazy ideas of overriding all the 3PP that is officially in HL that would need to change also. :D

Its a like a bag of rats! ;)
 
Back
Top