Suggestions please with mutating tag ID
I'm trying to code up a home-brew Faction. One vanity is challenging me:
Quote:
Code:
perform field[usrChosen1].chosen.assign[Helper.ClassSkill] How do I do a 'perform' operation assigning a tag whose name depends on usrChosen1? Or would it be better to manually do the Skill Specialization work myself? |
Please define "specialisation"? What effect does it have?
If you mean you want the skill to become a Class Skill, then you can copy the scripts from most traits. Example using Perception skill (making it a class skill, and adding a +1 bonus): Code:
~ If we're disabled, do nothing |
Quote:
Quote:
The Skill Specialization examples I saw all apply to a fixed skill. vanEagKnight (Knight of the Eagle Knights), vanEagCapt (Rank: Captain in the same org), and vanLionBla (Lion's Blade) are examples I found of this. I think vanEagCapt has a bug as it makes Perform (Oratory) a class skill, but does nothing if it already was a class skill. |
Yes, all the traits I've seen do both.
So, what you want is: 1. Choose skill 2. If chosen skill is not a class skill apply +1 bonus 3. make class skill For step 2, you might try something like: if tagis[ClassSkill.userchosen1] <> 1 then #applybonus No guarantee this is the correct script. Also, if you've found an existing 'prestige award' that doesn't work properly I'd report it as a bug. |
when using field[usrChosen1].chosen you are selecting whatever is in the usrChosen1 box, and is chosen. Id throw a tagis to see if its a class skill, and then add the appropriate bonus by either giving a +1 untyped or making it a class skill.
|
its actually far easier than you expected:
Code:
~ If we're disabled, do nothing I grabbed that from Continuing Bardic Education, from Inner Sea Intrigue |
Wow! Cool!!!!
Thank you! I clearly don't understand Helper enough. :-) |
All times are GMT -8. The time now is 04:25 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.