Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Redcap's Corner
Senior Member
 
Join Date: Jul 2010
Posts: 149

Old February 26th, 2018, 09:34 PM
Is it possible to set the polymorph gizmo up to allow every Extraordinary ability a creature possesses? I've gotten as far as:

Code:
foreach pick in gizmo where "HasAbility.?"
  if (eachpick.tagis[AbilType.Extra] <> 0] then
But then I can't think of a way to convert the HasAbility tag to the corresponding PolyAllow tag for assignment to the adjustment.
Redcap's Corner is offline   #1 Reply With Quote
frumple
Senior Member
 
Join Date: Nov 2011
Location: South Riding, VA
Posts: 841

Old March 2nd, 2018, 08:18 AM
try something like this
perform assignstr["PolyAllow." & eachpick.idstring]

where you are assigning the PolyAllow to whatever has the polymorph gizmo on it.

You can also simplify your loop by the following:

foreach pick in gizmo where "AbilType.Extra & HasAbility.?"


However, I am not sure if "foreach pick" or "foreach thing" would be the way to go here. Try both and see if either works.

Last edited by frumple; March 2nd, 2018 at 08:26 AM.
frumple is offline   #2 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 12:15 AM.


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