DeltaMasterMind
Well-known member
Hi everyone,
I am attempting to get this script to report the proper value:
field[abValue3].value += hero.child[skSleight].field[skTotal].value
field[abValue4].value += hero.child[skUseMagic].field[skTotal].value
also used:
field[abValue3].value += maximum(hero.child[skSleight].field[skTotal].value,0)
field[abValue4].value += maximum(hero.child[skUseMagic].field[skTotal].value,0)
It is running between Post-Attributes 11000 to 110000 and what I keep receiving for values are just my ranks alotted and not the total value as skTotal should be posting. The total script is cut up between timings but it is for a new class I am making which uses a special ability to cast unknown spells, but with a massive arcane spell failure which starts at 75% and drops down based on the totals of Slight of hand and Use magic device. Here is the whole script: (I get the final phase is a bit late but I did it for testing)
Post-Levels 3000
~The remaining calculations should only happen for the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
field[abValue2].value += 75
Post-Attributes 11000
field[abValue3].value += maximum(hero.child[skSleight].field[skTotal].value,0)
field[abValue4].value += maximum(hero.child[skUseMagic].field[skTotal].value,0)
Final Phase 100
field[abValue5].value += field[abValue3].value + field[abValue4].value
field[abValue].value += field[abValue2].value - field[abValue5].value
Final Phase 200
field[livename].text = field[thingname].text & " " & field[abValue].value & "%"
Now it does post to the Class Special that it is being programmed into, but it only changes based on ranks added not total skill value. Am I doing something wrong here?
I am attempting to get this script to report the proper value:
field[abValue3].value += hero.child[skSleight].field[skTotal].value
field[abValue4].value += hero.child[skUseMagic].field[skTotal].value
also used:
field[abValue3].value += maximum(hero.child[skSleight].field[skTotal].value,0)
field[abValue4].value += maximum(hero.child[skUseMagic].field[skTotal].value,0)
It is running between Post-Attributes 11000 to 110000 and what I keep receiving for values are just my ranks alotted and not the total value as skTotal should be posting. The total script is cut up between timings but it is for a new class I am making which uses a special ability to cast unknown spells, but with a massive arcane spell failure which starts at 75% and drops down based on the totals of Slight of hand and Use magic device. Here is the whole script: (I get the final phase is a bit late but I did it for testing)
Post-Levels 3000
~The remaining calculations should only happen for the first copy
doneif (tagis[Helper.FirstCopy] = 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
field[abValue2].value += 75
Post-Attributes 11000
field[abValue3].value += maximum(hero.child[skSleight].field[skTotal].value,0)
field[abValue4].value += maximum(hero.child[skUseMagic].field[skTotal].value,0)
Final Phase 100
field[abValue5].value += field[abValue3].value + field[abValue4].value
field[abValue].value += field[abValue2].value - field[abValue5].value
Final Phase 200
field[livename].text = field[thingname].text & " " & field[abValue].value & "%"
Now it does post to the Class Special that it is being programmed into, but it only changes based on ranks added not total skill value. Am I doing something wrong here?