Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old February 21st, 2011, 03:43 AM
Mathias,

Thank you very much for your help with this.

This is in a prereq on the feat. I've got the class helper forwarding Hero.Psionic tag and it has the Custom.Manifest tag on itself.

Here's the result from the debug:
Code:
**********  Start Evaluation Cycle  **********

a
b
a
b
a
b
I added a level of my Psion and went to the Feat tab. There, I went to add a feat, and when I scrolled down, my Craft Cognizance Crystal feat was showing as needing manifester level 3. I added two more levels and went back to the feat with the same result:
Code:
**********  Start Evaluation Cycle  **********

a
b
a
b
a
b

**********  Start Evaluation Cycle  **********

a
b
a
b
a
b
I've also attached the files I'm using.
Attached Files
File Type: zip Psionics Unleashed.zip (27.1 KB, 1 views)
TCArknight is offline   #11 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old February 21st, 2011, 09:19 AM
Okay, so its not finding the class. Let's find out why.

Try out:

Code:
 
debug "a"
foreach pick in hero from Class
  debug eachpick.field[name].text
  debug eachpick.tagids[Custom.?]
  nexteach
Mathias is offline   #12 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old February 21st, 2011, 04:21 PM
Ok, I thought there would be something missing, but it does seem to be catching the class and the tags...

Code:
**********  Start Evaluation Cycle  **********

a
Psion
Custom.Psionic,Custom.Manifest
a
Psion
Custom.Psionic,Custom.Manifest
a
Psion
Custom.Psionic,Custom.Manifest
But, this does work:
Code:
debug "a"
foreach pick in hero from Class
  debug eachpick.field[name].text
  debug eachpick.tagids[Custom.?]
  debug eachpick.field[cTotalLev].text
  if (eachpick.field[cTotalLev].value >= 3) then
    @valid = 1
    debug "b"
  endif
  nexteach
Code:
**********  Start Evaluation Cycle  **********

a
Psion
Custom.Psionic,Custom.Manifest
2
a
Psion
Custom.Psionic,Custom.Manifest
2
a
Psion
Custom.Psionic,Custom.Manifest
2

**********  Start Evaluation Cycle  **********

a
Psion
Custom.Psionic,Custom.Manifest
3
b
a
Psion
Custom.Psionic,Custom.Manifest
3
b
a
Psion
Custom.Psionic,Custom.Manifest
3
b
If I do this:
Code:
debug "a"
foreach pick in hero from Class where "Custom.Manifest"
  debug eachpick.field[name].text
  debug eachpick.tagids[Custom.?]
  debug eachpick.field[cTotalLev].text
  if (eachpick.field[cTotalLev].value >= 3) then
    @valid = 1
    debug "b"
  endif
  nexteach
I get this:
Code:
**********  Start Evaluation Cycle  **********

a
a
a
It seems there's something with the where "Custom.Manifest" bit of the check..

thoughts?
TCArknight is offline   #13 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old February 22nd, 2011, 03:21 AM
Well, I got it working.

Instead of using "Custom.Manifest" i used tagids[Custom.Manifest]:
Code:
debug "a"
foreach pick in hero from Class where tagids[Custom.Manifest]
  debug eachpick.field[name].text
  debug eachpick.tagids[Custom.?]
  debug eachpick.field[cTotalLev].text
  if (eachpick.field[cTotalLev].value >= 3) then
    @valid = 1
    debug "b"
  endif
  nexteach
And this is the result:
Code:
**********  Start Evaluation Cycle  **********

a
Psion
Custom.Psionic,Custom.Manifest
3
b
a
Psion
Custom.Psionic,Custom.Manifest
3
b
a
Psion
Custom.Psionic,Custom.Manifest
3
b
I guess it needs the specific callout to the tagids?
TCArknight is offline   #14 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 05:58 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.