Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Savage Worlds (http://forums.wolflair.com/forumdisplay.php?f=59)
-   -   Making a bootstrapped Hindrance not yield a Reward. (http://forums.wolflair.com/showthread.php?t=58053)

Paragon April 1st, 2017 01:55 PM

Making a bootstrapped Hindrance not yield a Reward.
 
Currently I've got the Racial Ability for Simians bootstrap a version of Illiterate (with some mechanisms to let you remove it later). Unfortunately its still giving them a Reward point for that. I'm sure there's a way to include some code not to do that, but I can't find an example of how (or even what value is used for Rewards).

Anyone want to enlighten me?

CapedCrusader April 3rd, 2017 02:58 PM

You'll want to alter the resHinder number. That's the total being displayed there. Example:

Code:

      if (field[abilActive].value <> 0) then
        #resmax[resHinder] -= 2
        endif


zarlor April 3rd, 2017 03:05 PM

Hey Paragon, you actually have a post about exactly this (although CC encases it in the newly required activation code here) in the Common Code thread! Even crediting CC with giving you the code in the first place. ;)

Paragon April 3rd, 2017 03:57 PM

I think I poorly explained what I needed here; I already knew how to change the number of permitted Hindrances--because I used it in that very bootstrapped Hindrance, having as you noted, got an answer from CC in the past for it.

The problem is, though, its still yielding a Reward point. I need it to not do that, and I don't know what the id for a Reward point is, or if there's any quirks about subtracting one.

zarlor April 3rd, 2017 05:21 PM

I found this thread, about halfway down Myridden uses the following to do an offset of a known value:
Code:

~ Fix the hindrance and reward point numbers.
hero.child[resHinder].field[resMax].value -= 1
herofield[acMaxMinor].value += 1
herofield[acMaxHindP].value += 1

Would something like that get you closer to what you're looking for?

SeeleyOne April 3rd, 2017 05:45 PM

Where is it being bootstrapped? That is, what is being added that has the bootstrap code? Is it put directly in the race? Or is it a Racial Ability or Racial Property? I cannot recall ever seeing a case where it counts as a Hindrance (and gives reward points) when it is put inside a Racial Property, which is what I usually use.

Paragon April 3rd, 2017 06:22 PM

Quote:

Originally Posted by SeeleyOne (Post 247318)
Where is it being bootstrapped? That is, what is being added that has the bootstrap code? Is it put directly in the race? Or is it a Racial Ability or Racial Property? I cannot recall ever seeing a case where it counts as a Hindrance (and gives reward points) when it is put inside a Racial Property, which is what I usually use.

Its a Racial Ability, but I set it up specifically to also Bootstrap the Hindrance, since that's the way its specifically characterized in the book (and I thought it would be less likely to confuse people that they were supposed to take it separately in addition.

Paragon April 3rd, 2017 06:23 PM

Quote:

Originally Posted by zarlor (Post 247317)
I found this thread, about halfway down Myridden uses the following to do an offset of a known value:
Code:

~ Fix the hindrance and reward point numbers.
hero.child[resHinder].field[resMax].value -= 1
herofield[acMaxMinor].value += 1
herofield[acMaxHindP].value += 1

Would something like that get you closer to what you're looking for?

Hmmm. You'd think from what the comment says, but I actually can't tell what part of that is addressing the Reward Points; maybe the last line? Maybe Rewards are acMaxHindP? I guess I can experiment and find out.

Paragon April 4th, 2017 07:18 AM

Well, I tried this as an eval-script at Pre-Traits 5000, but it doesn't seem to work; I'm still getting a Reward point for the Hindrance. I'd guess I have the positioning wrong.

Code:

hero.child[resHinder].field[resMax].value += 1
herofield[acMaxMinor].value += 1
herofield[acMaxHindP].value -= 1

(I used the whole code because I realized that the bootstrapped Hindrance might still be counting against the available ones--which I don't think it should be--and against the number of minor hindrances you can have. I thought about putting it on the racial trait instead, but I thought that might get messed up if you take the feat that buys off the Hindrance in play).

Paragon April 4th, 2017 07:25 AM

Nope. Moving around the phase doesn't seem to do anything. I must be doing something fundamentally wrong here, or I can't put this on the Hindrance itself.


All times are GMT -8. The time now is 05:39 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.