Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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! |
#11 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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 |
#12 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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 Thanks!!! |
#13 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
No problem, glad you got it working.
|
#14 |
Junior Member
Join Date: Jun 2015
Posts: 8
|
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:
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. |
|
#15 |
Junior Member
|
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.
|
#16 |
Junior Member
Join Date: Jun 2015
Posts: 8
|
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] 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? |
#17 |
Senior Member
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464
|
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.
|
#18 |
|
|