Jump to content
Lee

Requires Constant/Persistent Power Not Advantage

Recommended Posts

Is there any way using the <REQUIRES></REQUIRES> and <EXCLUDES></EXCLUDES> to check to see if a Power is Constant or Persistent? It works great if a power as been assigned the Advantages of Constant and Persistent. I'm looking for a way to check to see if the power is already Constant or Persistent inherently.

 

For example, if I create a new MODIFIER and include <REQUIRES>CONSTANT</REQUIRES>, it will be available for a power like Blast that has been given the Advantage of Constant. However, it is not available for a power like Invisibility even though it is inherently Constant and the Constant Advantage does not need to be added. I'd like for the new MODIFIER to appear for Invisibility, too.

 

Thanks,

Lee

Share this post


Link to post
Share on other sites

Use the DURATION attribute on the Modifier definition.

 

<MODIFIER XMLID="..." DISPLAY="Example" BASECOST=".25" EXCLUSIVE="Yes" DURATION="CONSTANT" />

 

That will require that the Power be Constant (or better).  It will not affect the duration of the Power once assigned.

Share this post


Link to post
Share on other sites

In the same vein, is there a similar way to force a Modifier to require (or exclude) a power type? For instance, a Modifier that can only be applied to Attack powers and not Defensive powers no others or a Modifier that will work with any power type except Adjustment powers?

 

Lee

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×