Thread: M&M 3rd ed. Minion Bug?
View Single Post
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,226

Old September 6th, 2017, 11:47 AM
Go into the Editor. Start a new data file. Go to the Power tab. Copy the Summon power (New (Copy) and select Summon. Note the original ID (pwSummon) if you want to replace the existing Summon with your version and put that ID in the "Replaces Thing Id" field. If you don't replace the old one, I highly recommend changing the Power name so that you can tell which is which. Provide an ID, something like "pwSummon2".

Off to the right, you'll see a button labeled Bootstraps. Click on it. You can see that five minions are bootstrapped (automatically added). You're going to add three more. But first, you'll notice that two buttons are highlighted, showing that there's settings under them. The Tags one is easy. You're just going to replicate that text for each new bootstrap. The Condition is slightly different for each one, but the pattern is simple. The item only gets bootstrapped if we have that many minions available, and the Summon power is active. Note down the condition text ("(fieldval:minTotal >= 5) & (fieldval:minParActv <> 0)" for the last one) and the Timing details. Replicate everything for each bootstrap, but increase that value that you're checking minTotal against. Save the data file and click on Test Now to try it out.

Or, if you're comfortable with working with XML, you can just copy the power, assign the ID, and then directly edit the .user file in your favorite plaintext editor. You'll be taking the "<bootstrap>" entries and duplicating them with the requisite changes. So something like the following:

Code:
<bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 1) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 2) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 3) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 4) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 5) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 6) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 7) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
    <bootstrap thing="Minion">
      <containerreq phase="Initialize" priority="2000" name="Minion Bootstrap"><![CDATA[
        (fieldval:minTotal >= 8) & (fieldval:minParActv <> 0)]]>
        <after name="Parents Set Active"/>
        </containerreq>
      <autotag group="Hero" tag="PLFromPwr"/>
      </bootstrap>
Duggan is offline   #6 Reply With Quote