Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
I have a class special that requires a specific Diety and certain Domains as a pre-req. The #hasdeity[XXXXX]<>0 macro works spiffingly well however It would appear that Domain pre-requisites are an anomaly.
I tried #hasdomain[cdEvil] <> 0 but received a right side expression parsing error, presumably there isn't a has domain macro? and then this script Code:
~ Start out invalid @valid = 0 ~ Check for Evil or Law Domain if (hero.childfound[HasDomain.cdEvil] <> 0) then ~ If so, we're valid. @valid = 1 else if (hero.childfound[HasDomain.cdLaw] <> 0) then ~ If so, we're valid. @valid = 1 endif endif HTML Code:
Syntax error in 'pre-requisite rule' script for Thing 'arWoWUnBar' on line 6 -> Non-existent thing 'HasDomain' used by script if (hero.childfound[HasAbility.cdEvil] <> 0) which also didn't compile. Exactly how can this be done?? Looking through the existing data I'm seeing a text placeholder stating script required (Ultimate Magic - Warrior Priest) or a huge search expression chooser that cycles through anything that grants a Domain ability (Domain Strike - Ultimate Combat) and allows the user to select a domain ability to apply effects to. Edit: #hasability[cdLaw] <> 0 does work. Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
Last edited by bodrin; July 12th, 2013 at 01:54 AM. Reason: the hasability macro does work!! |
#1 |
|
|