Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Polymorph effect that allows every EX ability (http://forums.wolflair.com/showthread.php?t=60272)

Redcap's Corner February 26th, 2018 09:34 PM

Polymorph effect that allows every EX ability
 
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.

frumple 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.


All times are GMT -8. The time now is 03:48 AM.

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