PDA

View Full Version : Creating new Modifiers



Fitz
Jul 13th, '03, 06:48 PM
I've added a couple of power modifiers to my custom template, and they appear in the Modifiers window and seem to be applying to powers as I expected, except for one thing: they always appear in the Limitations list, not the Advantages list as I want them to.

I've tried inserting them at different points in the template (they're currently just after the definition for "Useable Against Others") but it doesn't seem to make any difference, they still appear in the Limitations.

Ive used the following syntax:

<MODIFIER XMLID="CREEPING" DISPLAY="Creeping" EXCLUSIVE="Yes">
<OPTION XMLID="CREEPINGDIRECTED" DISPLAY="Undirected" BASECOST=".25"/>
<OPTION XMLID="CREEPINGUNDIRECTED" DISPLAY="Directed" BASECOST=".5"/>
<ADDER XMLID="CREEPINGMOVE" DISPLAY="Creeps at [LVL] hexes per Phase" BASECOST="0" LVLCOST=".25" LVLVAL="1" LVLPOWER="2" EXCLUSIVE="Yes" />
<DEFINITION>
This Advantage allows a Ranged Continuous Attack power to move along a path, either directly away from the user or along a pre-nominated path, until either it reaches its maximum range, its duration (charge) expires, or the user stops expending END to maintain it.
</DEFINITION>
<REQUIRES>CONTINUOUS</REQUIRES>
</MODIFIER>

<MODIFIER XMLID="SEEKING" DISPLAY="Seeking" BASECOST=".5" EXCLUSIVE="Yes">
<DEFINITION>
This Advantage allows a Ranged Attack power to make multiple passes at its target until it hits, the user stops expending END on it, or its duration (charge) runs out.
</DEFINITION>
</MODIFIER>


Is there something I'm missing? I can't find anything in the docs which addresses it.

BTW: I'm using 1.46 in win2k

Simon
Jul 13th, '03, 06:53 PM
Put the following attribute into both modifier definitions...for the sake of argument, put it after the DISPLAY attribute (it doesn't matter what order the modifiers are defined in or what order the attributes are placed):

For "Creeping": MINCOST=".25"

For "Seeking": MINCOST=".5"

That should take care of the issue for you.

Fitz
Jul 13th, '03, 06:57 PM
Wow! That's service -- all of five minutes from question to solution :)

Thanks Dan.