PDA

View Full Version : Craft skills in a prereq


dchoey
March 15th, 2007, 05:54 PM
I am trying to add a prereq on any craft skill being 4 or higher to a feat. The problem that I am having is that it hero.childfound[kCrafOther] will return the first craft: other skill that it finds. Is there a way to check all craft other skills?

kingpaul
March 15th, 2007, 07:18 PM
Can't you mimic how the Loremaster requires 2 different Knowledge skills?

dchoey
March 15th, 2007, 11:07 PM
Can't you mimic how the Loremaster requires 2 different Knowledge skills?

Thanks for the tip

Just looked at the Loremaster requirements in detail. There is a tag Hero.Know10 that is set for each knowledge skill that has 10 ranks. I could set a similar tag for craft skills but I don't know what is setting the knowledge tag.

It is obviously a script that runs in the tasks list but I am not sure when or what it looks like to make something similar. More research is required but this is the correct path.

Colen
March 27th, 2007, 01:44 PM
At 07:54 PM 3/15/2007, you wrote:

>I am trying to add a prereq on any craft skill being 4 or higher to
>a feat. The problem that I am having is that it
>hero.childfound[kCrafOther] will return the first craft: other skill
>that it finds. Is there a way to check all craft other skills?


Are you trying to see whether any craft skill has a rank of 4 or
higher, or whether a specific Craft: Other skill has a rank of 4 or higher?



--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/

dchoey
March 27th, 2007, 06:51 PM
At 07:54 PM 3/15/2007, you wrote:

>I am trying to add a prereq on any craft skill being 4 or higher to
>a feat. The problem that I am having is that it
>hero.childfound[kCrafOther] will return the first craft: other skill
>that it finds. Is there a way to check all craft other skills?


Are you trying to see whether any craft skill has a rank of 4 or
higher, or whether a specific Craft: Other skill has a rank of 4 or higher?


I am trying to determine if any craft skill has a rank of 4 or higher.

rob
March 28th, 2007, 12:58 AM
At 07:51 PM 3/27/2007, you wrote:
Colen wrote:
At 07:54 PM 3/15/2007, you wrote:

>I am trying to add a prereq on any craft skill being 4 or higher to
>a feat. The problem that I am having is that it
>hero.childfound[kCrafOther] will return the first craft: other skill
>that it finds. Is there a way to check all craft other skills?


Are you trying to see whether any craft skill has a rank of 4 or
higher, or whether a specific Craft: Other skill has a rank of 4 or higher?


I am trying to determine if any craft skill has a rank of 4 or higher.
I'm guessing the easiest solution to this might be to leverage something new I'm adding into the engine and that will be available shortly. Using the forthcoming "foreach" mechanism, this would be easy to solve. Unless Colen has a brilliant idea that I can't think of that is already available....

Colen
March 29th, 2007, 10:53 AM
At 02:00 AM 3/28/2007, you wrote:

>At 07:51 PM 3/27/2007, you wrote:
>:
>Colen wrote:
>At 07:54 PM 3/15/2007, you wrote:
>
> >I am trying to add a prereq on any craft skill being 4 or higher to
> >a feat. The problem that I am having is that it
> >hero.childfound[kCrafOther] will return the first craft: other skill
> >that it finds. Is there a way to check all craft other skills?
>
>
>Are you trying to see whether any craft skill has a rank of 4 or
>higher, or whether a specific Craft: Other skill has a rank of 4 or higher?
>
>
>I am trying to determine if any craft skill has a rank of 4 or higher.
>
>I'm guessing the easiest solution to this might be to leverage
>something new I'm adding into the engine and that will be available
>shortly. Using the forthcoming "foreach" mechanism, this would be
>easy to solve. Unless Colen has a brilliant idea that I can't think
>of that is already available....


I could add tags to the hero showing the highest rank in Craft,
Profession, etc skills that you have. For example, if you have 4
ranks in Craft: Alchemy and 7 in Craft: Basketweaving, the hero would
have 7 "Hero.Craft" tags, allowing you to determine "The highest
Craft skill I have is rank 7". If you wanted to do anything more
complicated (for example, if you wanted to verify that 2 skills were
over 4 ranks) you'd have to use foreach.



--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/