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!
|