• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Bonus Insight on Saving Throws

O'Connell

New member
Adding in the Warblade from Tome of Battle and am currently running into a bit of a snag. I'd like to improve on my eval script but to be honest, trying to figure out things on my own is a little taxing. Currently I'm tying to add an Insight Bonus to my Hero's Reflex saved based on his Intelligence bonus which can not exceed the Warblade's class level. I've also set this as an activate check box so it can be toggle on and off since it isn't applied when flat-footed. I can give further explanation if needed.

So far this is what I've got. Obviously I'm doing something wrong.

Phase: Post-levels Priority: 100 Index: 1

if (field[usrChkText].isempty <> 0) then
~ Apply our Intelligence bonus to our Reflex save
hero.child[vRef].field[vResist].value = hero.child[aINT].field[aModBonus].value
endif
 
Are you creating this as a Class Special or as an integral part of the Warblade class (that is, in the Warblade eval script). I would suggest, if you haven't done so, to make this into a Class Special, and check the box for Show Charge as well as the first Charge Text box, putting Flat-Footed in the entry. Now, I'm working off the top of my head here, so the code might not be completely accurate, but here is likely what you want to do.

Code:
~ If we are flat-footed, get out now.
doneif (field[hIsOn1].value <> 0)

~ Apply our Intelligence bonus to our Reflex save, but no more than our class level.
if (hero.child[aINT].field[aModBonus].value >= 0) then
  var bonus as number
  bonus = minimum (hero.child[aINT].field[aModBonus].value, field[xTotalLev].value)
  #applybonus[BonInsight, hero.child[vRef], bonus]
endif
 
Last edited:
Back
Top