View Single Post
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old June 27th, 2008, 11:53 AM
dartnet wrote:
>
>
> How do I script the feat Speed of Thought?
>
> The feat makes Intelligence the sat that modifies Initiative.
>
> Like how Grappling Finesse works.

Easiest way would be to subtract out your dexterity bonus, and add your
Intelligence bonus. Like so:

~ Subtract dex bonus from initiative
hero.child[Initiative].field[Permanent].value -= hero.child[aDEX].field[aBonus].value

~ Add int bonus to initiative
hero.child[Initiative].field[Permanent].value += hero.child[aINT].field[aBonus].value

You'd need to do this after attributes are finished, but before
initiative is finished.

Hope this helps!
Colen is offline   #2 Reply With Quote