TobyFox2002
Well-known member
I am trying to create an wondrous item that allows its daily use castable spells to be added ONLY when it is both equipped and it has a minimum number of skill ranks in one of two skills.
So far I've gotten it to work if its only checking for one skill but when it checks for two skills something breaks.
I am using this code at Post-Attr/3000
	
	
	
		
And attaching a Bootstrap condition of
	
	
	
		
But it doesn't seem to want to function. I suspect there is a timing issue that I am not seeing, but I have run through the full range of timings and nothing seems to work. I could have sworn I've seen code like this somewhere but I cant recall where.
Any thoughts as to what I'm doing wrong?
EDIT: Yes I know there is no Perform (harp) in the game. That is why I am checking for either STRINGS or HARP. Because of cross-comparability.
				
			So far I've gotten it to work if its only checking for one skill but when it checks for two skills something breaks.
I am using this code at Post-Attr/3000
		Code:
	
	      ~ If is not equipped, Get out Now!
      doneif (field[gIsEquip].value = 0)
      
      ~ Check if we have 2 ranks in either perform HARP or STRINGS
      if (#skillranks[skPerfStr] >= 1) then
          field[abValue5].value += 1
      endif
      if (#skillranks[skPerfHarp] >= 1) then
          field[abValue5].value += 1
      endif
      ~ If don't have 1 ranks in HARP or STRINGS, Get out Now!
      doneif (field[abValue5].value  >= 1)
      ~ Assign conditions based on the number of ranks they posses in perform
	And attaching a Bootstrap condition of
		Code:
	
	fieldval:abValue5].value >= 1
	But it doesn't seem to want to function. I suspect there is a timing issue that I am not seeing, but I have run through the full range of timings and nothing seems to work. I could have sworn I've seen code like this somewhere but I cant recall where.
Any thoughts as to what I'm doing wrong?
EDIT: Yes I know there is no Perform (harp) in the game. That is why I am checking for either STRINGS or HARP. Because of cross-comparability.