View Single Post
wolfang237
Member
 
Join Date: Dec 2012
Posts: 40

Old September 27th, 2016, 02:44 AM
So I have some good news! I edited my script to try to solve both my issues:


~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~ If we're disabled, just get out now
doneif (tagis[Helper.SpcDisable] <> 0)

field[abValue2].value += (#tiereffect[]) / 2

field[abValue2].value = round(field[abValue2].value,0,-1)

if (field[abValue2].value >= 1) then
field[abValue].value += 5 + field[abValue2].value
else
field[abValue].value += 5 + 1
endif

if (#hasfeat[fAiryStep] <> 0) then
field[abValue].value += 1
endif

if (#hasfeat[fCloudGaze] <> 0) then
field[abValue].value += 1
endif

if (#hasfeat[fElemJaunt] <> 0) then
field[abValue].value += 1
endif

if (#hasfeat[fInnerBrea] <> 0) then
field[abValue].value += 1
endif

if (#hasfeat[fWingAir] <> 0) then
field[abValue].value += 1
endif

field[livename].text = field[thingname].text & " " & signed(field[abValue].value)

doneif (field[abilActive].value = 0)

#applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value]

In the case of this script, I successfully tested that taking any of the 5 listed feats each adds 1 additional point to the armor class! Success! (There's probably a more efficient way of doing this, but let's be thorough first). Additionally, I offhandedly found the macro to track tiers and input it into the code. As you can see, I successfully set it up to scale at half her tier (minimum 1) and it automatically rounds down. So I'm actually done with this script!

Next? Reducing the amount of Mythic Power. Another PC acts as a mythic 'battery' for the others. He has a pool of 2+half his mythic tier instead of 3+twice his tier like everyone else, but his mythic power refreshes per encounter. All I need is to figure out how to modify the maximum mythic power he has.

Last edited by wolfang237; September 27th, 2016 at 03:28 AM.
wolfang237 is offline   #2 Reply With Quote