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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 2nd, 2017, 10:30 PM
Quote:
Originally Posted by Quintain View Post
The first pick is through the Potent Pool Thing and is restricted to CasterSrc.Psionic classes.

If it is indeed random, I'm open to suggestions on how to fix. Unfortunately, I'm at a dead stop coding-wise. If I have altpick/altthing in the pre-req script, compile and then try to add the Potent Pool thing to the character, Hero Lab now crashes. I have a ticket open with LW.

Tests:

A level 5 psychic warrior (max power level 2), level 5 psion (max power level 3) and a level 10 tactician (max power level 5). I then added 3 Potent Pool things to the portfolio (Mythic Level 3). Initial pick was tactician. I never violated the rule as I coded it. If I changed the choice of things 2 and 3, I never violated the validation rule -- even if I picked psychic warrior, which can only have 2 potent pool things added. Only when I changed the 1st potent pool thing choice to psychic warrior did I violate the rule for all three things. I changed the 1st potent pool choice back to Psion and the validation exception went went away. After about 50 or so changes, I never saw where the validation rule chose anything other than basing itself off the choice of first potent pool thing.

Now, I agree that this initial method isn't the greatest. What I would like is a single thing added with a chooser, and some sort of notation on how many times it has been chosen. But how to accomplish that is a bit outside of my realm at the moment.
My only idea is to similar what we did before using a Unique bootstrapped helper ability. This "helper" Mythic Ability will be the one that chooses the class. Sense it will be "Unique Add" even if we add several Potent Pool abilities we only have one chooser.

1) Create new Potent Pool Mythic ability (Helper) thing. This has the class chooser. Then set it to Unique and give it a tag of "Helper.Helper".
1a) You can even add the points on the helper thing also. You can do an hero.tagcount[Ability.cPUMPoPool] to know how much to increase the points by.
2) Bootstrap the Helper Potent Pool to the Potent Pool mythic ability.
3) Redo your logic on cPUMPoPool to get the "class" from the Helper Potent Pool.

This way gets you a "single" class selector for a gamer to select one time. Your script is easier because you don't have to deal with multiple Potent Pools.

That is how I would handle this. I am pretty much busy this whole weekend. Give it a try and I can help next week if you have issues...

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.
ShadowChemosh is offline   #32 Reply With Quote
 


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 12:27 AM.


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