View Single Post
Shifty-eyes
Junior Member
 
Join Date: Oct 2012
Location: Maine
Posts: 20

Old March 24th, 2014, 01:03 PM
Why do I bang my head against the wall? Because it feels so good when I stop.

I'm trying to create a feat for a special circumstance in our game. What is stumping me is how to add the Charisma bonus on top of the existing save DC for a wizard. (in other words, the DC will be 10+INT+CHA+spell level; it'll only be for enchantments, btw).

I'm sure this will come as a shock, but I'm no coder. At best, I pilfer what I can, rewrite, and insert. So, while the hard-core coders can have a big laugh at my expense, this is what I'm coming up with to do what I want:


~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)

~ set our focus to the selected pick
call fTargetFoc
doneif (state.isfocus = 0)

field[abValue].value += #attrbonus[aCHA]
focus.field[schDC].value += field[abValue].value

Obviously, this isn't working, otherwise I wouldn't be posting. But at least its not screwing anything else up, either.

So, for my Wizard, is there a way of add that CHA bonus?

Thanks!
Shifty-eyes is offline   #1 Reply With Quote