Senior Member
Join Date: Jan 2015
Posts: 160
|
Recently discovered that if you select diamond soul as a qingong monk power, the spell resistance is always 10, not taking into account your level as it should. I'm submitting an error report for it, but in the meantime i need a fix. I believe the problem is that it is trying to access field[allLvl] which is not a part of the ability selected via a configurable menu. Instead it likely needs to access a hero.? field for the total monk levels of the hero, but the code for that is totally slipping my mind.
|
#1 |
Senior Member
Join Date: May 2014
Posts: 292
|
Edit nvm I missunderstood what you meant here
Last edited by Togainu; September 14th, 2015 at 09:06 AM. |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Check monk/unchained monk - if it works for some characters and not others, that's a candidate for the reason for the bug.
|
#3 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
That's actually how i discovered it. I made an unchained monk, picked qingong power as a ki power, then diamond soul. Seeing that it didn't compute correctly, i made a normal qingong monk and selected diamond soul, to the same results.
I tried to do a fix myself to get by for the moment, but forgot the snipped to code i need. How do i pull the total level of the base hero? Hero.field[TotalLvl].value seems to be missing something... Last edited by FluffyDingo; September 14th, 2015 at 10:13 AM. |
#4 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
So looking at this quickly I made a level 12 unchained monk with Diamond Soul and no issues. It correctly shows SR 22. For a normal monk gains Diamond Soul at level 13 and it correctly shows SR 23. Do you have anything that is overwriting the ability?
The field a custom special should be using is field[xTotalLev].value which is what the ability is using. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#5 |
Senior Member
Join Date: May 2014
Posts: 292
|
Shadow you are allowed to replace the "official" diamond soul for something else as an qinggong monk by doing so losing the working (original) ability.
If you do that and use the 14th level Ki power version (qinggong selection) of it. It will be stuck on SR 10 Last edited by Togainu; September 14th, 2015 at 11:23 AM. |
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#7 |
Senior Member
Join Date: May 2014
Posts: 292
|
Ok, so currently there are 2 situations going on
1. Monk (qinggong monk archetype) Replacing Diamond soul (10+monk level) for Ki power Then later obtaining Diamond soul as Ki power under Qinggoing power tab (10 instead of 10+monk level) 2. Unchained monk Picking Qinggong power at the monk tab Then under the Qinggoing power tab select diamond soul (10 instead of 10+monk level) (work around in my eyes is just to pick the diamond soul from the monk tab instead of qinggong power till the power version is fixed) picking diamond soul in the monk tab works as (10+monk level) Last edited by Togainu; September 14th, 2015 at 11:55 AM. |
#8 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
Quote:
|
|
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
That does sound like a bug. In the meantime there is an adjustment you can add to set an appropriate SR for your character on the Adjust tab.
|
#10 |
|
|