wolfang237
Active member
In the campaign I'm running, my players have opted in to the Mythic system but with a twist: they tier up when they've unlocked all of the next tier's abilities/feats/unlocks. So, in this case, I'm playing it as they are investing in a custom Mythic Path based on their play style and choices - how it developes is up to how they play. This means their whole path is customized by me.
For lots of it, no programming is really required - just text can keep them up to date. But there's some base stuff that would be useful to have it calculate itself or show up in activation lists, etc.
So my first question: I'm trying to add a mythic feat that enhances the breeze-kissed racial trait to have the wind-based bonus armor vs ranged attacks apply as a deflection bonus against all attacks and then scale it based on their mythic tier and their investment in their race like so:
Deflection AC = 2 + 1/2 Tier + 1 per racial feat taken.
Since the breeze-kissed trait's bonus vs ranged attacks isn't applied to the total armor, I can technically just ignore interacting with it and just add deflection armor normally. My player can ignore the ranged attack bonus altogether from their trait. This simplifies it so all I have to do is script it so it adds 2 deflection armor plus 2 values, one of which is half their tier whereas the other is the total number of sylph feats my player has.
This is Enduring Armor's Eval Script, which I referenced:
~ 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[abValue].value += 3 + field[xTotalLev].value
--I'm assuming what this line does is set the armor value added by adding 3 to the xTotalLev (being the level of the mythic class, i.e. the tier)
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
doneif (field[abilActive].value = 0)
#applybonus[tACArmor, hero.child[ArmorClass], field[abValue].value]
This is my script with some changes:
~ 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[abValue].value += 2 + (field[xTotalLev].value * 1/2) + field[abValue2]
--my changes are that it adds the base breeze-kissed value of 2 to half the player's mythic tier as well as an upcoming second abValue, equaling the total number of racial feats taken.
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
doneif (field[abilActive].value = 0)
#applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value]
--In this case, I just changed the armor value to a deflection value.
So the issue I'm currently having is that, as I said, it's just not working. It'll add the base 2 but apparently ignores the xTotalLev, i.e it's not taking the tier value into account. I'm assuming this means the xTotalLev isn't actually tied to the mythic tier value in any way and I need to somehow tie them together. But the Enduring Armor ability had nothing else besides this one Eval Script, so I'm not sure how it's referencing the tier. Thoughts?
((After this, I'll be asking where to start in setting the abValue2 to equal the total sum of the sylph racial feats taken))
For lots of it, no programming is really required - just text can keep them up to date. But there's some base stuff that would be useful to have it calculate itself or show up in activation lists, etc.
So my first question: I'm trying to add a mythic feat that enhances the breeze-kissed racial trait to have the wind-based bonus armor vs ranged attacks apply as a deflection bonus against all attacks and then scale it based on their mythic tier and their investment in their race like so:
Deflection AC = 2 + 1/2 Tier + 1 per racial feat taken.
Since the breeze-kissed trait's bonus vs ranged attacks isn't applied to the total armor, I can technically just ignore interacting with it and just add deflection armor normally. My player can ignore the ranged attack bonus altogether from their trait. This simplifies it so all I have to do is script it so it adds 2 deflection armor plus 2 values, one of which is half their tier whereas the other is the total number of sylph feats my player has.
This is Enduring Armor's Eval Script, which I referenced:
~ 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[abValue].value += 3 + field[xTotalLev].value
--I'm assuming what this line does is set the armor value added by adding 3 to the xTotalLev (being the level of the mythic class, i.e. the tier)
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
doneif (field[abilActive].value = 0)
#applybonus[tACArmor, hero.child[ArmorClass], field[abValue].value]
This is my script with some changes:
~ 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[abValue].value += 2 + (field[xTotalLev].value * 1/2) + field[abValue2]
--my changes are that it adds the base breeze-kissed value of 2 to half the player's mythic tier as well as an upcoming second abValue, equaling the total number of racial feats taken.
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
doneif (field[abilActive].value = 0)
#applybonus[tACDeflect, hero.child[ArmorClass], field[abValue].value]
--In this case, I just changed the armor value to a deflection value.
So the issue I'm currently having is that, as I said, it's just not working. It'll add the base 2 but apparently ignores the xTotalLev, i.e it's not taking the tier value into account. I'm assuming this means the xTotalLev isn't actually tied to the mythic tier value in any way and I need to somehow tie them together. But the Enduring Armor ability had nothing else besides this one Eval Script, so I'm not sure how it's referencing the tier. Thoughts?
((After this, I'll be asking where to start in setting the abValue2 to equal the total sum of the sylph racial feats taken))
Last edited: