I've just entered the Greater Resiliency feat from the Complete Warrior this Eval Script for checking for Damage reduction works up to the point where it adds +1 to the Damage reduction
Code:
~ Check for Damage Reductiion as a Class or Innate Ability
hero.childfound[cBbnDR].field[hTotal].value += 2
hero.childfound[cPfPTaDam1].field[hTotal].value += 2
hero.childfound[cDwDDR1].field[hTotal].value += 2
~ We passed, so add +1 to our total Damage Reduction.
hero.child[xDamRd].field[hTotal].value = hero.child[xDamRd].field[hTotal].value + hero.child[xDamRd].field[hTotal].value + 1
done
hero.child[cBbnDR].field[hTotal].value = hero.child[cBbnDR].field[hTotal].value + hero.child[xDamRd].field[hTotal].value + 1
done
hero.child[cPfPTaDam1].field[hTotal].value = hero.child[cPfPTaDam1].field[hTotal].value + hero.child[xDamRd].field[hTotal].value + 1
done
hero.child[cDwDDR1].field[hTotal].value = hero.child[cDwDDR1].field[hTotal].value + hero.child[xDamRd].field[hTotal].value + 1
done
This Pre-Req script also works
Code:
Damage Reduction ability required.
@valid = pickexists[cBbnDR] + pickexists[cPfPTaDam1] + pickexists[cDwDDR1]
However it won't add +1 to the total Damage Reduction. Any ideas?