• 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

Bonus Languages

blzbob

Well-known member
I need to add an ability that adds bonus languages from Wisdom in addition to what the character normally starts with. I looked at Cosmopolitan for an idea of how to do it I don't think that's the right way for this ability.

I know (I'm pretty sure anyway) that I need to use:

~bonus languages = WIS mod
field[trkMax].value += hero.child[aWIS].field[aModBonus].value

for the number of additional languages.

I just don't know how to write the second half.

Here is the exact wording of the ability I need:
{b}Granted Powers{/b}: You learn the power of the First Language. You gain bonus languages known equal to your wisdom bonus, in addition to those gained from your Int bonus. You may choose any languages as your bonus languages.

I was also going to put it as Post Attributes 10000. I was mimicking other cleric abilities so I hope that's right.
 
On the adjustment tab there are 2 different adjustment for affecting the number of Languages your character has. One adjusts the ones you get from a high Intelligence and one is when you get bonus languages do to things like the Skill.

So to make the above work copy the code from the adjustment that adds additional languages that you add on the "Personal" tab instead of on the "Racial" tab. The "Personal" tab does not have any restrictions on which language gets picked.

Sorry I can't be more exact but not near HL...
 
Cosmopolitan does sound like the right way to implement this ability - instead of the fixed +2 languages from Cosmopolitan, you give a number equal to the wisdom bonus.
 
I see how to combine them now. I was confused with part of how Cosmopolitan was written. I don't need the last half of the eval script. Thanks!
 
Back
Top