Ok, I know this is probably something really simple that I'm just too dense to figure out, but working on the Pirates of the Spanish Main setting I've hit a wall on implementing the Admiral/General Edge. What I need to do is check if they have the Noble Edge (edgPMNoble, I have a setting specific version) and if they have it to give them 15 Fame. If they d not have it then I want to Bootstrap it in for them and add 10 Fame.
So it seems the code should look something like this:
Where edgPMNoble is the Noble Edge and trPMFame is the Fame trait.
I know I'm missing something on how to actually code that, though, so I thought I'd check and see if anyone here has some ideas.
So it seems the code should look something like this:
Code:
if (valid hero#Edge.edgPMNoble <> 0)
perform #traitadjust[trPMFame,+,15,"Admiral"]
else
perform #traitadjust[trPMFame,+,10,"Admiral"]
hero#Edge.edgPMNoble
endif
Where edgPMNoble is the Noble Edge and trPMFame is the Fame trait.
I know I'm missing something on how to actually code that, though, so I thought I'd check and see if anyone here has some ideas.