Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Elcron Valdune
Junior Member
 
Join Date: May 2013
Posts: 2

Old May 16th, 2013, 11:36 AM
How do I get it to say that I can get a feat when my Ability to cast 2nd-level spells?

the feat reads like this,
Prerequisite: Ability to cast 2nd-level spells.
Benefit: As long as you have an acid spell of 2nd level or
higher available to cast, you can throw an orb of acid as a
ranged touch attack. The attack has a range of 5 feet per level
of the highest-level acid spell you have available to cast and
deals 1d6 points of damage per level of that acid spell.
As a secondary benefit, you gain a +1 competence bonus
to your caster level when casting acid spells.

How do I script it to only pop up when a caster has 2nd lvl spells?
Elcron Valdune is offline   #1 Reply With Quote
JeffSandmeier
Member
 
Join Date: Jul 2007
Posts: 35

Old May 18th, 2013, 06:50 AM
First, in the custom feat, you would need to add a prerequisite expression (under Expr-reqs) like this:
herofield[tMaxCaster].value >= 2

As far as only showing up when you have 2nd level spells available, that would have to be through a tracker, but I can't find one that actually tracks spell use/spells available.
JeffSandmeier is offline   #2 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old May 18th, 2013, 08:04 AM
Actually you would need herofield[tMaxSpLev].value >= 2

tMaxCaster is caster level not spell level.
AndrewD2 is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old May 18th, 2013, 09:39 AM
Quote:
Originally Posted by JeffSandmeier View Post
As far as only showing up when you have 2nd level spells available, that would have to be through a tracker, but I can't find one that actually tracks spell use/spells available.
As its a feat what Andrew gave would simply go on the feat "Pre-Req" so that HL shows a nice warning message about not meeting the Pre-Req.

Its not really worth getting into bootstrap conditions for feats. The warning message is more than enough and easier to work with.

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   #4 Reply With Quote
Reply

Thread Tools
Display Modes

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 05:42 AM.


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