Junior Member
Join Date: Feb 2007
Posts: 15
|
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?
|
#1 |
Member
|
Can't you mimic how the Loremaster requires 2 different Knowledge skills?
|
#2 |
Junior Member
Join Date: Feb 2007
Posts: 15
|
Quote:
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. |
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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/ |
#4 |
Junior Member
Join Date: Feb 2007
Posts: 15
|
Quote:
|
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
At 07:51 PM 3/27/2007, you wrote:
Quote:
|
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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/ |
#7 |
|
|