• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Cancelling Bonus laguage

Stormcrow

Member
I'm adding a new race and it is receiving an extra language due to an intelligence bonus and was wondering how to stop it with out lowering the intelligence bonus.
 
I'm adding a new race and it is receiving an extra language due to an intelligence bonus and was wondering how to stop it with out lowering the intelligence bonus.

Here's one I've used:

Code:
  herofield[tLangsSta].value = 0

In a situation like this, it's a good idea to take a look at hero fields. It covers a lot of things like this.
 
Doesn't the Race have a section called "Bonus Languages" and you could just enter -1 or whatever to reduce the number its getting from Int?
 
Here's one I've used:

Code:
  herofield[tLangsSta].value = 0

I could be wrong, but wouldn't this prevent the character from having any bonus starting languages due to high Int?

I'm adding a new race and it is receiving an extra language due to an intelligence bonus and was wondering how to stop it with out lowering the intelligence bonus.

Maybe I'm reading this wrong, but it sounds like Stormcrow is adding a race with a +2 or more to Int, but he doesn't want the race to start with the extra starting language from this bonus. If that is the case, you may want to add an if statement like:

Code:
   if (herofield[tLangsSta].value > XX) then
      herofield[tLangsSta].value -= XX
      elseif (herofield[tLangsSta].value <= XX) then
         herofield[tLangsSta].value = 0
      endif

Replace the XX with the number of bonus languages that the racial bonus to Int would provide.
 
Back
Top