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 24th, 2012, 05:00 PM
Update: RL getting in the way of this project, as it often does...

Could anyone point me to an example of pulltags so I could try to figure this out? Thanks!
Lord Magus is offline   #11 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 24th, 2012, 06:05 PM
Maybe tagmax would be better, on second thought.

Code:
    field[abValue].value += hero.childfound[cDrdWild].tagmax[ClSpecWhen.?]

    if (hero.childfound[cHelpDrd].field[cTotalLev].value >= field[abValue].value) then
      ~ Add the extra levels)
      endif
Aaron is offline   #12 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old September 25th, 2012, 05:30 PM
Indeed!

Code:
Pre-Levels - 11000

field[abValue].value += hero.childfound[cDrdWild].tagmax[ClSpecWhen.?]

if (hero.childfound[cHelpDrd].field[cTotalLev].value >= field[abValue].value) then
     ~Add Mystic Theurge (Arc. Hier.) level to druid level for Wild Shape
     var WSAH as number
     WSAH = #levelcount[MysticTheu]
     field[livename].text = field[thingname].text & " +" & WSAH
     foreach pick in hero from BaseClSpec where "thingid.cDrdWild | thingid.cDrdWildAn | thingid.cDrdWildEl | thingid.cDrdWildPl | thingid.cDrdWildOo | thingid.cDrdWildVe | thingid.cDrdWildGi | thingid.cDrdBeWild | thingid.cDrdWildTo | thingid.cDrdEaWild | thingid.cDrdLiWild | thingid.cDrdSnWild | thingid.cDrdWoWild | thingid.cDrdDrWild | thingid.cDrdSaWild | thingid.cDrdShWild "
  eachpick.field[xExtraLev].value += WSAH
  nexteach
endif
Seems to be working fine with Druid 3, Druid 4, Druid 6, Aquatic Druid 4 & Aquatic Druid 6.

Thanks!!!
Lord Magus is offline   #13 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old September 25th, 2012, 06:48 PM
No problem, glad you got it working.
Aaron is offline   #14 Reply With Quote
Allafif
Junior Member
 
Join Date: Jun 2015
Posts: 8

Old January 7th, 2017, 12:58 PM
I'm having some trouble with this on a similar PrC. The above script gets me the proper Wild Shape duration and uses, but not the form progression from level 8 onward.

At Drd 6 / PrC 2, the character properly gains the Plant Shape I ability, but not the Animal or Elemental upgrades. There are no other form improvements even at PrC level 10.

Taking a glance at the cDrdWildAn class special for clues, I see "call CalcWSLev". I eventually find that in General -> Procedure and see:

Quote:
~ Debugs intentionally left in.
var level as number

doneif (state.isfocus = 0)

level += focus.field[cTotalLev].value
~debug "after add focus.field[cTotalLev].value, level is " & level

~ The shaping focus feat can mitigate some of the loss from multiclassing, up to 4 levels.
var shapfocbon as number
if (hero.childlives[fShapiFocu] <> 0) then
shapfocbon = minimum(#totallevelcount[] - #levelcount[Druid], 4)
shapfocbon = maximum(shapfocbon,0)
level += shapfocbon
~debug "after add shapfocbon, level is " & level
endif

~ Some archetypes add effective level adjustments to wild shape specials,
~ so to catch that I moved the scripts to before this eval script.
level += field[xExtraLev].value
~debug "after add extra levels, level is " & level

~ The swarm monger denies us benefits of level 12 and higher.
if (hero.childlives[arDrdSwaMo] <> 0) then
level = minimum(level, 11)
endif

That's where I've hit a wall for now, since my programming knowledge is minimal. It seems like field[xExtraLev].value should be getting the bonus from Lord Magus' script, so it's just a matter of finicky timing as mentioned above? I'll try looking at timing tomorrow.
Allafif is offline   #15 Reply With Quote
r2pclaw
Junior Member
 
Join Date: Jan 2012
Location: Edmonton
Posts: 11
Send a message via Skype™ to r2pclaw

Old January 9th, 2017, 08:25 AM
Lord Magus, we're you able to get this class working in Pathfinder, I saw both Wild Shape and the Companion Familiar both being tricky to setup (saw a post earlier saying that this might be easier now). I'm very rusty on coding things but wanted to see if you got this class to work.
r2pclaw is offline   #16 Reply With Quote
Allafif
Junior Member
 
Join Date: Jun 2015
Posts: 8

Old January 17th, 2017, 11:25 PM
I finally got it working by putting the PrC level directly into a replacement procedure and calling that in replacement wild shapes. There's probably a better way, but I couldn't come up with one. Detailed instructions follow for my fellow editor amateurs.


In the editor, go to General -> Procedure, then make a copy of CalcWSLev. Add this line to the bottom:

Code:
 ~ Add the gosh darn PrC level already! Jeepers!
      level += #levelcount[xxxx]
(xxxx = your PrC unique ID from Class -> Class Level)

We also have to add our PrC into the Shaping Focus calculation so that it works properly. Find the relevant section and replace it with this:

Code:
    ~ The shaping focus feat can mitigate some of the loss from multiclassing, up to 4 levels.
      var allws as number
      var shapfocbon as number
    if (hero.childlives[fShapiFocu] <> 0) then
      allws = maximum(#levelcount[xxxx] + #levelcount[Druid],0)
      shapfocbon = minimum(#totallevelcount[] - allws, 4)
      shapfocbon = maximum(shapfocbon,0)
      level += shapfocbon
~debug "after add shapfocbon, level is " & level
      endif


Now we need our Wild Shapes to call that procedure instead, so that the PrC levels are added. In Class -> Class Special, make copies of cDrdWildAn, cDrdWildEl, cDrdWildPl, and any other wild shapes you use, like Giant, Ooze, or Vermin.

In the first Eval Script, just change CalcWSLev to whatever you named your procedure. Then make sure that you put the original ability name in the Replaces Thing id field on the middle right side.

Finally, add Lord Magus' script above as a Class Special. Now you should be just like a real druid! Hooray! Wasn't that easy?
Allafif is offline   #17 Reply With Quote
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old January 21st, 2017, 05:17 PM
Quote:
Originally Posted by r2pclaw View Post
Lord Magus, we're you able to get this class working in Pathfinder, I saw both Wild Shape and the Companion Familiar both being tricky to setup
Unfortunately didn't work on this beyond the Wild Shape issue. I found that the Companion Familiar was better tackled manually, as my player had a Druid variant that had an elemental as a companion, and that would have complicated significantly a project that was already above my skills.
Lord Magus is offline   #18 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 06:09 AM.


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