Help w/ Alternate "Fleet" Feat
I'm in a game wherein the GM has made several of the feats scale with level. For example, in this game the Fleet feat is taken only once and grants an additional +5 for every two levels after it is taken.
I'm taking the 'easy' way and taking the feat at first level so I won't have to deal with figuring out how not to count levels before it was taken - though I would like to know if this is possible. AFAIK, HeroLab doesn't track the level at which feats are added to characters but I could be wrong. SO, I thought I could add a little math to the eval script to add an additional +5 to speed for every two levels after the first but it's not really working right. First, I'm getting the following error: Quote:
Here's the script I've come up with so far, with the additions to the original Fleet script in bold: Quote:
|
if you have the field abValue already set to 5 by default (which I believe Fleet does) you just need to modify the field like this
field[abValue].value += round(#totallevelcount[]/2,0,-1) * 5 and then add that to your total That will make it 5 + 5 for every 2 levels |
Perfect - thanks, AndrewD2.
|
You could use an incrementer to keep track of which level it was added at, but you'd have to show it in activated abilities list (It wouldn't actually be affected by toggling it there unless you coded that in).
field[abValue].value += round((#totallevelcount[]-field[actUser].value)/2,0,-1) * 5 and voila. |
Also cool - thanks ww :)
|
All times are GMT -8. The time now is 01:10 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.