Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old February 21st, 2009, 06:52 AM
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?

Last edited by bodrin; February 21st, 2009 at 07:09 AM.
bodrin is offline   #1 Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:42 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.