Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
I have a mythic ability that adds to a character's class level for just some specific class features. In this case it is granting of rage powers as well as class features that are rage related.
For example, if I am a barbarian with tier 3 I need to add 3 to my level for the purposes of granting of rage powers as well as when I get features such as greater rage, etc. So I need to be able to add my tier to the hero's level for a specific subset of class abilities. I cannot just simple add the tier to the class's effective level since that would allow other class features to show up. Additionally, if the hero has an archetype that changes the rate one gains rage powers (Mad Dog for example) just adding the tier to the effective level can be an issue. Thoughts? |
#1 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
I think I found a partial solution..
For class abilities I am doing the following: Code:
foreach pick in hero from BaseClSpec where FILTER eachpick.field[xTotalLev].value += tier eachpick.field[xAllLev].value += tier eachpick.field[xMaxLev].value += tier eachpick.field[xWhen].value = maximum(1,eachpick.field[xWhen].value - tier) nexteach Looks like this makes class features available earlier based on my tier (the xWhen field) and adds my tier to the other fields so that internal scripts will calculate things correctly. My question is this the correct way to go about this, or will it break something? |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
It sounds like you're trying to do something similar to a Monk's Robe or a Robe of Arcane Heritage.
|
#3 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
In many ways yes. The problem is that because it is mythic rank/tier dependent using xExtraLev is not working due to timing issues.
If I use #tiereffect[] to get my tier doing that before PostLevel does not seem to work. However xTotalLev is calculated at PostLev/0. :/ The added complexity is that this is going on a template who determines MR dependent on the base creature's CR. That needs to be done at PostLevel/1100 before "Mythic Templates add Effects" but after "Calc tmCRAdjust." I guess I could add the tier in xExtraLev then recalculate xTotalLev etc. Last edited by frumple; September 29th, 2016 at 08:15 AM. |
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
I think look into ways you can get the information for #tiereffect early enough that you can use xExtraLev. The same way you can look up #levelcount[a class] earlier than you can get the cTotalLev on a class or the xTotalLev on a class special, see if there's an alternative way to get the information you need, early enough to be useful.
|
#5 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Ok. I think I am close. Just one question. Can I use the PreReqCaP1 tags to add mythic rank/tier for the purposes of prereqs?
|
#6 |
Senior Member
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841
|
Just answered my own question.
|
#7 |
Thread Tools | |
Display Modes | |
|
|