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? |
You'll want to alter the resHinder number. That's the total being displayed there. Example:
Code:
if (field[abilActive].value <> 0) then |
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. ;)
|
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. |
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. |
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.
|
Quote:
|
Quote:
|
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 |
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.