• 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

Cosmopolitan Feat

Arthurrw

Active member
Ok so I want to make the feat from the Forgotten Realms source book "Cosmopolitan".

What I need the feat to do is let me choose a skill and then after choosing the skill the skill becomes a class skill and also gets +2 to the skill check.

Can someone give me an idea how to get it to do that?
 
Arthurrw wrote:
>
>
> Ok so I want to make the feat from the Forgotten Realms source book
> "Cosmopolitan".
>
> What I need the feat to do is let me choose a skill and then after
> choosing the skill the skill becomes a class skill and also gets +2 to
> the skill check.
>
> Can someone give me an idea how to get it to do that?


When you're creating new stuff in Hero Lab, think about existing
material that works a lot like the effect you want. In this case, the
"Cosmopolitan" feat is a lot like Skill Focus - it gives you a +2
instead of a +3, and you get an extra class skill. So let's start with that.

In the editor, go to the Feats tab and click "New (Copy)", then choose
Skill Focus from the giant list of feats. Change the name to
"Cosmpolitan" and the unique id to something appropriate, then change
the description text so it says the right thing.

Now we have to make two changes:

1) Change the bonus from +3 to +2
2) Force the skill to be a class skill.

For (1), click the "Eval Scripts" button. The first part of the script
is adding 3 to the chosen skill - simply change the "+ 3" to a "+ 2".
(You can delete the rest of the script, since you don't need it - it
does stuff that only applies to skill focus.

Now click the Test button, and make sure your feat is working properly
so far.


For (2), we need to make the skill a class skill. You do this by
"forwarding" the class skill tag to the hero, like so:

var result as number
result = field[fChosen].chosen.forward[ClassSkill.?]

You also need to change the priority of the script to "100", to make it
run at the proper time.

Click Test again, and your Cosmpolitan feat should now be working.


Hope this helps!
 
Thanks that worked great, ? does it tell anywhere what to set the priority at so that you know when to run things?
 
Arthurrw wrote:
>
>
> Thanks that worked great, ? does it tell anywhere what to set the
> priority at so that you know when to run things?


The editor documentation has a list of many phases and priorities stuff
should be run at, and we're working on adding more as time goes on.


--
Colen McAlister, colen@wolflair.com
Chief Engineer, Lone Wolf Development
 
Back
Top