Changeset 966 for AE


Ignore:
Timestamp:
Mar 2, 2014, 4:35:02 PM (11 years ago)
Author:
s10k
Message:

fixed ONCC particle adding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/packages/31000GlassBreakingMoves/patches/common/level0_Final/ONCC-.oni-patch

    r965 r966  
    66        myBuilder.load($xmlData);
    77        var elements = myBuilder.elements[0];
     8       
     9        // If ONCP doesn't exist, ignore it
     10        if (!elements.childElement("ONCP"))
     11                return;
    812       
    913        // If there are no attacks in this TRAM, ignore it
     
    2832                                particles.index + 1,
    2933                                particles.level + 1);
     34                               
     35        // Update the global variable with the new XML
     36        $xmlData = myBuilder.generateXML();
    3037</code>
Note: See TracChangeset for help on using the changeset viewer.