Negative values in Lookup

Hey all,

I've just bought The Keep, and am trying to get a grip on it. For the moment, I've started creating the character sheet for the system I'll be using, and I'm meeting an issue with a lookup.

First, I want to let you know that I'm not a Javascript guru at all ! Maybe there is a solution for my issue in Javascript, but I have no clue about it. So here is what I did so far, and what doesn't work as intended.

So, I created a CSV file with the base value a character can chose upon creation. When he choose a value, there is a base modificator that happens. So I put in the second column of my CSV those numbers that modify, ranging from -4 up to +5. I followed the help for the lookup. A third field will add all the different values together to give the total amount of point that character has.

So... I could have the following :
Base value of 16 gives a +3 bonus which brings the total to 19
Base value of 8 gives a -1 bonus which brings the total to 7
Base value of 11 gives a 0 bonus which brings the total to 11

I have no issue with my positive lookup, such as the first and last example. But I can't bring those negative numbers to appear and therefore are not calculated.

How should I do to make a lookup with negative numbers ? Many thanks !

Leave a Comment