Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
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 Code:
Damage Reduction ability required. @valid = pickexists[cBbnDR] + pickexists[cPfPTaDam1] + pickexists[cDwDDR1] Last edited by bodrin; February 21st, 2009 at 07:09 AM. |
#1 |
|
|