Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
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 Code:
********** Start Evaluation Cycle ********** a b a b a b ********** Start Evaluation Cycle ********** a b a b a b |
#11 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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 |
#12 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
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 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 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 Code:
********** Start Evaluation Cycle ********** a a a thoughts? |
#13 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
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 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 |
#14 |
|
|