Okay,
I added your code, and then corrected the syntax to make it efficient, and then began to ask my self why step 2 and 3 are needed, since neither are referencing anything else.
ASPECT:CheckCount|%1|InvestigatorInspirationPoolBonus
You only have 1 var, so the |0 appended is pointless. This triggers the Sheet to display the class feature, much like Rage or Bard class features.
DEFINE:Inspiration_Max|0
Perfect, but I try to avoid "Max" as JEP has a nasty habit of dropping Max or Min for older code support.
BONUS:VAR|Inspiration_Max|0
This is actually without any merit. The value is already set to 0, so this is just a pointless BONUS telling the system to add 0 to 0. Point of coding is to maximize efficiency of the code you are doing.
We've set a new var, but we don't use it anywhere. A var should be attached to something to have intrinsic value. Our common uses of a var are to:
Prevent a display, Push a display, Display a value, gate a choice.
Here is the new class feature:
Inspiration
KEY:Investigator ~ Inspiration
CATEGORY:Special Ability
TYPE:Investigator Class Feature.SpecialQuality.Extraordinary
DEFINE:InvestigatorInspirationBonus|0
DEFINE:InvestigatorInspirationDice|0
DEFINE:InvestigatorInspirationDieSize|0
DEFINE:InvestigatorInspirationPoolBonus|0
DESC:An investigator is beyond knowledgeable and skilled-he also possesses keen powers of observation and deduction that far surpass the abilities of others. An investigator typically uses these powers to aid in their investigations, but can also use these of flashes of inspiration in other situations. An investigator has the ability to augment skill checks and ability checks through his brilliant inspiration. The investigator has an inspiration pool equal to %1. An investigator's inspiration pool refreshes each day, typically after he gets a restful night's sleep. As a free action, he can expend one use of inspiration from his pool to add %2d%3 to the result of that check, including any on which he takes 10 or 20. This choice is made after the check is rolled and before the results are revealed. An investigator can only use inspiration once per check or roll. The investigator can use inspiration on any Knowledge, Linguistics, or Spellcraft skill checks without expending a use of inspiration, provided he's trained in the skill. Inspiration can also be used on attack rolls and saving throws, at the cost of expending two uses of inspiration each time from the investigator's pool. In the case of saving throws, using inspiration is an immediate action rather than a free action.|InvestigatorInspirationPoolBonus|InvestigatorInspirationDice|InvestigatorInspirationDieSize|InvestigatorInspirationBonus|0
BONUS:VAR|InvestigatorInspirationDice|1
BONUS:VAR|InvestigatorInspirationDieSize|6
BONUS:VAR|InvestigatorInspirationPoolBonus|max(1,InvestigatorLVL/2+INT)
SOURCEPAGE:p.31
ASPECT:CheckType|Points
ASPECT:CheckCount|%1|InvestigatorInspirationPoolBonus
Make sense?
Welcome to the data team. :D
Repo is located at http://github.com/PCGen/pcgen
Content Team invite sent.
- Andrew Maitland
PCGen Board of Directors - Content Silverback
On 1/21/2019 9:33 PM, braulio_b@hotmail.com wrote:
Can anyone verify for me that the PDF of the Pathfinder Investigator does not have a section for Inspiration Points (like the Swashbuckler has for Panache or the Bard has for Performances)? It's really easy to test out by creating a 1st level Investigator then generating the PDF. It doesn't work for me.
But! I did spend the last couple of hours trying to manually edit the acg_abilities_class.lst and I have come up with something that works. It works with the Extra Inspiration feat and the Favored Class Bonus - Inspiration 1/3.
1st) Add ASPECT:CheckType|Points ASPECT:CheckCount|%1|InvestigatorInspirationPoolBonus|0 to the Inspiration line for Investigators
2nd) Add CATEGORY=Special Ability|Investigator ~ Inspiration.MOD DEFINE:Inspiration_Max|0 a few lines lower where the other CATEGORY=SpecialAbility...
3rd) Add CATEGORY=Special Ability|Investigator ~ Inspiration.MOD BONUS:VAR|Inspiration_Max|0 below step 2.
No comments:
Post a Comment