View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old January 6th, 2014, 10:29 AM
Quote:
Originally Posted by TobyFox2002 View Post
That works great for AUTOMATIC languages, but I want to add languages to the bonus languages.
My mistake. In that case, the only change to your code I would make is to combine the two races into one line, as such:

Code:
if (tagis[Race.Human] + tagis[Race.HalfElf] <> 0) then
  perform hero.assign[Language.lChessenta]
  perform hero.assign[Language.lDamaran]
  perform hero.assign[Language.lDraconic]
endif
Also, I noticed you have "Don't generate pre-requisite?" checked on the language Chessentan. I think this is just a mis-click or something. You'll want to remove it, though, or else it will always show up as a possible bonus language.
Sendric is offline   #24 Reply With Quote