Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old September 16th, 2012, 10:33 AM
I am currently converting the 3.5 Arcane Hierophant PrC (from Races of the Wild) as a Mystic Theurge Archetype. The ArHi class levels stack with the Druid class levels for Wild Shape; I have been able to do that by starting with the Shaping Focus feat script.

However, I do not want ArHi to grant wild shape if the character did not have it before getting into the class (for ex: for a Druid level 3). Right now, if I add ArHi levels to a Druid 3, he will get wild shape because of the stacking levels. How can I prevent this?

I have tried
doneif (tagis[Hero.WildShape] = 0)
at the top of the script, but it doesn't work (Pre-levels 5000, like Shaping Focus)

Right now, I use
doneif (#levelcount[Druid] < 4)
but this would not account for Wild Shape being gained through some other mechanism than Druid levels, or for a Druid archetype that would gain Wild Shape earlier than 4th level.

That would sum up to how to script "if the tag is there, but the ability is not enabled, then do nothing" Any ideas???

Thanks!

Last edited by Lord Magus; September 16th, 2012 at 10:35 AM.
Lord Magus is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old September 17th, 2012, 07:15 AM
Try:

Code:
doneif (tagis[Hero.WildShape] <> 1)
Sendric is offline   #2 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old September 17th, 2012, 05:12 PM
Quote:
Originally Posted by Sendric View Post
Try:

Code:
doneif (tagis[Hero.WildShape] <> 1)
Thanks, but it does not work: Wild Shape does not improve beyond what is gained from druid levels
Lord Magus is offline   #3 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old September 17th, 2012, 05:28 PM
Same result with

doneif (hero.childfound[cDrdWild].tagis[Helper.ShowSpec] = 0)

Should the timing be different? Right now Pre-Levels 5000
Lord Magus is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 17th, 2012, 07:16 PM
Try checking for the Helper.ShowSpec tag on the wild shape special in a script sometime in the Levels phase. If it is present then add to the extra level field. I'm not sure of the timing, and about to go to bed, but it might be pretty finicky.
Aaron is offline   #5 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old September 18th, 2012, 06:02 AM
Quote:
Originally Posted by Lord Magus View Post
Thanks, but it does not work: Wild Shape does not improve beyond what is gained from druid levels
Sorry. I guess I should have tested that a little better on my own AH class. I've tried several different timings in and out of the Levels phase, and can't seem to find anything that works. You may be better off just sticking with the Drd class levels = 4 since I think that's the only way to get it right now.
Sendric is offline   #6 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 18th, 2012, 09:13 AM
Ah, here's an idea.

The issue seems to be that you need to add extra levels which has to happen before the levels phase, but you want to only do it if the level is high enough to already have the ability, which you can't detect until after it is too late to add the extra levels.

I believe that the cTotalLev field on the class helper is set early in GlobalTest, so you'll want to test off that. However, you still need to make sure the Wild shape ability hasn't been moved to a later level, as there are several druid archetypes that do that (for example, Ape Shaman). Those archetypes apply their scripts at Pre-Levels 10000 so

At Pre-Levels 11000 have your eval script go to the wild shape special, pull the ClSpecWhen tag and store it's value in a variable. Then add to that variable the value of the xExtraLev value (to account for any archetype adjustments).

Now compare the value of your variable to the cTotalLev field on the class helper, if it is equal or greater, add the extra levels to wild shape. Make sense?
Aaron is offline   #7 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old September 18th, 2012, 05:29 PM
Quote:
Originally Posted by Sendric View Post
Sorry. I guess I should have tested that a little better on my own AH class. I've tried several different timings in and out of the Levels phase, and can't seem to find anything that works. You may be better off just sticking with the Drd class levels = 4 since I think that's the only way to get it right now.
The problem is, not only does it deprives a class/archetype gaining WS earlier than level 4 of any further improvement (I don't think there are any such classes/archetypes right now), but it also grants WS to archetypes that should not get it if they get into ArHi before actually gaining WS from their druid levels (a few druid archetypes gain WS later than 4th level)
Lord Magus is offline   #8 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old September 18th, 2012, 05:36 PM
Quote:
Originally Posted by Lord Magus View Post
The problem is, not only does it deprives a class/archetype gaining WS earlier than level 4 of any further improvement (I don't think there are any such classes/archetypes right now), but it also grants WS to archetypes that should not get it if they get into ArHi before actually gaining WS from their druid levels (a few druid archetypes gain WS later than 4th level)
Yes. I always forget about that. Probably because it infuriates me that nearly every archetype messes with Wild Shape. Were you able to try Aaron's suggestion?
Sendric is offline   #9 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old September 18th, 2012, 06:01 PM
Quote:
Originally Posted by Sendric View Post
Yes. I always forget about that. Probably because it infuriates me that nearly every archetype messes with Wild Shape. Were you able to try Aaron's suggestion?
Workin' on it. The logic of it is flawless, my programming skills less so. I need to find how to "pull a tag". I'll post the script-in-progress after.
Lord Magus is offline   #10 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:45 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.