How to modify perk skill requirement?

myocytebd

First time out of the vault
How to modify perk skill requirement?
sfall only provide api to modify requirement of level and SPECIAL
 
I took a glance at Perk structs' default values, which sfall Perks.ini and set_perk_XXX api modifies.


The fields of SPECIAL 7 stats seems to be requirements:
negative value => test for less
positive value => test for greater or equal

The fields of skill1_mag/skill2_mag seems to be requirements.
Plus skill2=0x40000000 for karma requirement. (Harmless perk)

The field of stat_mag seems unused.


Stats/Skills modifications doesn't appear in the Perk structs.
 
Last edited:
Back
Top