<?xml version="1.0" ?>
<enemy>
    <behaviour>
        <condition id="timer">
            <string id="timeunit" values="timeunits">seconds</string>
            <float id="time">0.10</float>
            <condition id="getBool">
                <string id="id">p2Attack</string>
                <string id="value" values="yesno">yes</string>
                <condition id="unitCount">
                    <string id="unitType" values="enemies">AztecWorker</string>
                    <string id="logic" values="unitcountlogic">lesser_equals</string>
                    <string id="ownUnits" values="yesno">yes</string>
                    <int id="unitCount">9</int>
                    <sequence>
                        <string id="Is blocking">no</string>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecWorker</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">6.00</float>
                        </action>
                    </sequence>
                </condition>
                <condition id="getBool">
                    <string id="id">p2Enabling</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">no</string>
                        <action id="setBool">
                            <string id="id">p2Enabling</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">0.00</float>
                        </action>
                        <action id="setBool">
                            <string id="id">p2Jaguars</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">15.00</float>
                        </action>
                        <action id="setBool">
                            <string id="id">p2JaguarsMore</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">25.00</float>
                        </action>
                        <action id="setBool">
                            <string id="id">p2Poison</string>
                            <string id="value" values="yesno">no</string>
                        </action>
                    </sequence>
                </condition>
                <condition id="getBool">
                    <string id="id">p2InitialForces</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">no</string>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecMelee</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">30.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecMelee</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">15.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecMelee</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">5.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">p2InitialForces</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                    </sequence>
                </condition>
                <condition id="getBool">
                    <string id="id">p2Jaguars</string>
                    <string id="value" values="yesno">yes</string>
                    <condition id="getBool">
                        <string id="id">inMovie</string>
                        <string id="value" values="yesno">no</string>
                        <sequence>
                            <string id="Is blocking">no</string>
                            <action id="wait">
                                <string id="timeunit" values="timeunits">seconds</string>
                                <float id="time">13.00</float>
                            </action>
                            <action id="createUnit">
                                <string id="unitType" values="enemies">AztecMelee</string>
                                <string id="offsetType" values="offsetsFromBase">percentual</string>
                                <float id="offset">0.00</float>
                                <string id="cheat" values="yesno">yes</string>
                                <string id="ignoreCooldown" values="yesno">yes</string>
                            </action>
                        </sequence>
                    </condition>
                </condition>
                <condition id="getBool">
                    <string id="id">p2JaguarsMore</string>
                    <string id="value" values="yesno">yes</string>
                    <condition id="getBool">
                        <string id="id">inMovie</string>
                        <string id="value" values="yesno">no</string>
                        <sequence>
                            <string id="Is blocking">no</string>
                            <action id="wait">
                                <string id="timeunit" values="timeunits">seconds</string>
                                <float id="time">3.00</float>
                            </action>
                            <action id="createUnit">
                                <string id="unitType" values="enemies">AztecMelee</string>
                                <string id="offsetType" values="offsetsFromBase">percentual</string>
                                <float id="offset">0.00</float>
                                <string id="cheat" values="yesno">yes</string>
                                <string id="ignoreCooldown" values="yesno">yes</string>
                            </action>
                            <action id="wait">
                                <string id="timeunit" values="timeunits">seconds</string>
                                <float id="time">13.00</float>
                            </action>
                            <action id="wait">
                                <string id="timeunit" values="timeunits">seconds</string>
                                <float id="time">5.00</float>
                            </action>
                        </sequence>
                    </condition>
                </condition>
                <condition id="getBool">
                    <string id="id">p2Poison</string>
                    <string id="value" values="yesno">yes</string>
                    <condition id="getBool">
                        <string id="id">bouldersEnabled</string>
                        <string id="value" values="yesno">no</string>
                        <condition id="getBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">no</string>
                            <sequence>
                                <string id="Is blocking">no</string>
                                <action id="useAbility">
                                    <string id="abilityType" values="abilities">AztecPoisonCloud</string>
                                    <string id="unitType" values="enemies">AsianRanged</string>
                                    <string id="target" values="targets">FrontUnit</string>
                                    <string id="ownUnits" values="yesno">no</string>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                    <string id="ignoreFogOfWar" values="yesno">yes</string>
                                </action>
                                <action id="wait">
                                    <string id="timeunit" values="timeunits">seconds</string>
                                    <float id="time">26.00</float>
                                </action>
                            </sequence>
                        </condition>
                    </condition>
                </condition>
            </condition>
            <condition id="getBool">
                <string id="id">bouldersEnabled</string>
                <string id="value" values="yesno">yes</string>
                <sequence>
                    <string id="Is blocking">no</string>
                    <action id="wait">
                        <string id="timeunit" values="timeunits">seconds</string>
                        <float id="time">70.00</float>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl309f1_youwonthaveit</string>
                        <float id="Duration">8.00</float>
                        <string id="Texture">portrait_aztecking</string>
                        <string id="Location" values="textLocation">right</string>
                    </action>
                    <action id="wait">
                        <string id="timeunit" values="timeunits">seconds</string>
                        <float id="time">4.00</float>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl309e2_protectus</string>
                        <float id="Duration">5.00</float>
                        <string id="Texture">portrait_footsoldier</string>
                        <string id="Location" values="textLocation">left</string>
                    </action>
                    <action id="wait">
                        <string id="timeunit" values="timeunits">seconds</string>
                        <float id="time">8.00</float>
                    </action>
                    <action id="useAbility">
                        <string id="abilityType" values="abilities">AztecBoulder</string>
                        <string id="unitType" values="enemies">ANY</string>
                        <string id="target" values="targets">FrontUnit</string>
                        <string id="ownUnits" values="yesno">no</string>
                        <string id="cheat" values="yesno">yes</string>
                        <string id="ignoreCooldown" values="yesno">yes</string>
                        <string id="ignoreFogOfWar" values="yesno">yes</string>
                    </action>
                    <action id="wait">
                        <string id="timeunit" values="timeunits">seconds</string>
                        <float id="time">8.00</float>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl309f2_trymindcontrol</string>
                        <float id="Duration">8.00</float>
                        <string id="Texture">portrait_footsoldier</string>
                        <string id="Location" values="textLocation">left</string>
                    </action>
                    <action id="addMana">
                        <float id="Amount">50.00</float>
                        <string id="Team" values="teams">enemyTeam</string>
                    </action>
                </sequence>
            </condition>
            <condition id="unitNear">
                <string id="unitType" values="enemies" multiselect="true">AsianMelee;;AsianRanged;;AztecWorker;;AztecRanged;;AztecMelee;;AztecGiant;;AztecSkeleton;;AztecNecromancer;;</string>
                <string id="rangeType" values="offsetsFromBase">percentual</string>
                <float id="range">20.00</float>
                <string id="ownUnits" values="yesno">no</string>
                <action id="setBool">
                    <string id="id">Als je voorbij het peperveld bent, voorbij zn laatste tower, krijg je boulders in je face af en toe - je verslaat het door giants te MCen en invulnerability</string>
                    <string id="value" values="yesno">no</string>
                </action>
                <condition id="getBool">
                    <string id="id">boulderCinematicDone</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">yes</string>
                        <action id="setBool">
                            <string id="id">boulderCinematicDone</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">yes</string>
                            <string id="Freeze input" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">0.50</float>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309e1_sonaive</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_aztecking</string>
                            <string id="Location" values="textLocation">right</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309e2_protectus</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_footsoldier</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">no</string>
                            <string id="Freeze input" values="yesno">no</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">4.00</float>
                        </action>
                        <action id="useAbility">
                            <string id="abilityType" values="abilities">AztecBoulder</string>
                            <string id="unitType" values="enemies">ANY</string>
                            <string id="target" values="targets">FrontUnit</string>
                            <string id="ownUnits" values="yesno">no</string>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                            <string id="ignoreFogOfWar" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">bouldersEnabled</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">no</string>
                        </action>
                    </sequence>
                </condition>
            </condition>
            <condition id="unitNear">
                <string id="unitType" values="enemies" multiselect="true">AsianMelee;;AsianRanged;;AztecWorker;;AztecRanged;;AztecMelee;;AztecGiant;;AztecSkeleton;;AztecNecromancer;;</string>
                <string id="rangeType" values="offsetsFromBase">percentual</string>
                <float id="range">30.00</float>
                <string id="ownUnits" values="yesno">no</string>
                <action id="setBool">
                    <string id="id">merk op dat de conditie van deze tweede giant altijd waar is - ik heb je mana gegeven voor MC na elke boulder</string>
                    <string id="value" values="yesno">no</string>
                </action>
                <condition id="getBool">
                    <string id="id">inMovie</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">no</string>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">45.00</float>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecGiant</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">50.00</float>
                        </action>
                    </sequence>
                </condition>
                <condition id="getBool">
                    <string id="id">inMovie</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">no</string>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecGiant</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">95.00</float>
                        </action>
                    </sequence>
                </condition>
            </condition>
            <condition id="getBool">
                <string id="id">p1SpellsGivenDone</string>
                <string id="value" values="yesno">no</string>
                <condition id="getBool">
                    <string id="id">p1SpellsGiven</string>
                    <string id="value" values="yesno">yes</string>
                    <sequence>
                        <string id="Is blocking">no</string>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AztecWorker</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AztecMelee</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AsianMelee</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AsianTower</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AsianRanged</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AztecMindcontrol</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AsianYinYang</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AztecCage</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">no</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">AztecNecromancer</string>
                            <string id="Team" values="teams">enemyTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecWorker</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecWorker</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecWorker</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecWorker</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecWorker</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">0.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="upgradeBase" />
                        <action id="upgradeBase" />
                        <action id="upgradeBase" />
                        <action id="setBool">
                            <string id="id">p1SpellsGivenDone</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                    </sequence>
                </condition>
            </condition>
            <condition id="unitNear">
                <string id="unitType" values="enemies" multiselect="true">AsianMelee;;AsianRanged;;AztecWorker;;AztecMelee;;AztecSkeleton;;AztecNecromancer;;</string>
                <string id="rangeType" values="offsetsFromBase">percentual</string>
                <float id="range">40.00</float>
                <string id="ownUnits" values="yesno">no</string>
                <condition id="getBool">
                    <string id="id">pepperCinematicDone</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">yes</string>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">yes</string>
                            <string id="Freeze input" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">0.50</float>
                        </action>
                        <action id="moveCamera">
                            <float id="Target position">20.00</float>
                            <float id="Scrolling duration">1.00</float>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309d1_densefield</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_aztecking</string>
                            <string id="Location" values="textLocation">right</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309d2_goforit</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_asianemperor</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">no</string>
                            <string id="Freeze input" values="yesno">no</string>
                        </action>
                        <action id="setBool">
                            <string id="id">pepperCinematicDone</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">no</string>
                        </action>
                    </sequence>
                </condition>
                <condition id="getBool">
                    <string id="id">pepperCinematicDone</string>
                    <string id="value" values="yesno">yes</string>
                    <condition id="getBool">
                        <string id="id">inMovie</string>
                        <string id="value" values="yesno">no</string>
                        <condition id="getBool">
                            <string id="id">bouldersEnabled</string>
                            <string id="value" values="yesno">no</string>
                            <sequence>
                                <string id="Is blocking">no</string>
                                <action id="wait">
                                    <string id="timeunit" values="timeunits">seconds</string>
                                    <float id="time">5.00</float>
                                </action>
                                <action id="useAbility">
                                    <string id="abilityType" values="abilities">AztecPoisonCloud</string>
                                    <string id="unitType" values="enemies">AsianRanged</string>
                                    <string id="target" values="targets">FrontUnit</string>
                                    <string id="ownUnits" values="yesno">no</string>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                    <string id="ignoreFogOfWar" values="yesno">yes</string>
                                </action>
                                <action id="wait">
                                    <string id="timeunit" values="timeunits">seconds</string>
                                    <float id="time">45.00</float>
                                </action>
                            </sequence>
                            <sequence>
                                <string id="Is blocking">no</string>
                                <action id="wait">
                                    <string id="timeunit" values="timeunits">seconds</string>
                                    <float id="time">15.00</float>
                                </action>
                                <action id="useAbility">
                                    <string id="abilityType" values="abilities">AztecPoisonCloud</string>
                                    <string id="unitType" values="enemies">AztecNecromancer</string>
                                    <string id="target" values="targets">FrontUnit</string>
                                    <string id="ownUnits" values="yesno">no</string>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                    <string id="ignoreFogOfWar" values="yesno">yes</string>
                                </action>
                                <action id="wait">
                                    <string id="timeunit" values="timeunits">seconds</string>
                                    <float id="time">35.00</float>
                                </action>
                            </sequence>
                        </condition>
                    </condition>
                </condition>
            </condition>
            <condition id="unitNear">
                <string id="unitType" values="enemies" multiselect="true">AsianNinja;;</string>
                <string id="rangeType" values="offsetsFromBase">percentual</string>
                <float id="range">46.00</float>
                <string id="ownUnits" values="yesno">no</string>
                <action id="useAbility">
                    <string id="abilityType" values="abilities">AztecSacrifice</string>
                    <string id="unitType" values="enemies">AsianNinja</string>
                    <string id="target" values="targets">FrontUnit</string>
                    <string id="ownUnits" values="yesno">no</string>
                    <string id="cheat" values="yesno">yes</string>
                    <string id="ignoreCooldown" values="yesno">yes</string>
                    <string id="ignoreFogOfWar" values="yesno">yes</string>
                </action>
            </condition>
            <condition id="unitCount">
                <string id="unitType" values="enemies">AsianNinja</string>
                <string id="logic" values="unitcountlogic">equals</string>
                <string id="ownUnits" values="yesno">no</string>
                <int id="unitCount">0</int>
                <condition id="getBool">
                    <string id="id">p1Cinematic</string>
                    <string id="value" values="yesno">no</string>
                    <condition id="getBool">
                        <string id="id">ninjaPhaseStarted</string>
                        <string id="value" values="yesno">yes</string>
                        <condition id="getBool">
                            <string id="id">ninjaPhaseFailed</string>
                            <string id="value" values="yesno">no</string>
                            <sequence>
                                <string id="Is blocking">yes</string>
                                <action id="setBool">
                                    <string id="id">ninjaPhaseFailed</string>
                                    <string id="value" values="yesno">yes</string>
                                </action>
                                <action id="wait">
                                    <string id="timeunit" values="timeunits">seconds</string>
                                    <float id="time">1.00</float>
                                </action>
                                <action id="setFreezeGame">
                                    <string id="Freeze game" values="yesno">yes</string>
                                    <string id="Freeze input" values="yesno">yes</string>
                                </action>
                                <action id="showText">
                                    <string id="Text identifier">lvl309afail1_toolate</string>
                                    <float id="Duration">8.00</float>
                                    <string id="Texture">portrait_asianemperor</string>
                                    <string id="Location" values="textLocation">left</string>
                                </action>
                                <action id="showText">
                                    <string id="Text identifier">lvl309afail2_roar</string>
                                    <float id="Duration">8.00</float>
                                    <string id="Texture">portrait_giant</string>
                                    <string id="Location" values="textLocation">right</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="createUnit">
                                    <string id="unitType" values="enemies">AztecGiant</string>
                                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                                    <float id="offset">50.00</float>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                </action>
                                <action id="useAbility">
                                    <string id="abilityType" values="abilities">AztecPoisonCloud</string>
                                    <string id="unitType" values="enemies">AsianRanged</string>
                                    <string id="target" values="targets">FrontUnit</string>
                                    <string id="ownUnits" values="yesno">no</string>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                    <string id="ignoreFogOfWar" values="yesno">yes</string>
                                </action>
                                <action id="useAbility">
                                    <string id="abilityType" values="abilities">AztecPoisonCloud</string>
                                    <string id="unitType" values="enemies">AsianMelee</string>
                                    <string id="target" values="targets">FrontUnit</string>
                                    <string id="ownUnits" values="yesno">no</string>
                                    <string id="cheat" values="yesno">yes</string>
                                    <string id="ignoreCooldown" values="yesno">yes</string>
                                    <string id="ignoreFogOfWar" values="yesno">yes</string>
                                </action>
                                <action id="setFreezeGame">
                                    <string id="Freeze game" values="yesno">no</string>
                                    <string id="Freeze input" values="yesno">no</string>
                                </action>
                            </sequence>
                        </condition>
                    </condition>
                </condition>
            </condition>
            <condition id="unitCount">
                <string id="unitType" values="enemies">AsianNinja</string>
                <string id="logic" values="unitcountlogic">equals</string>
                <string id="ownUnits" values="yesno">no</string>
                <int id="unitCount">2</int>
                <condition id="getBool">
                    <string id="id">ninjaPhaseStarted</string>
                    <string id="value" values="yesno">no</string>
                    <action id="setBool">
                        <string id="id">ninjaPhaseStarted</string>
                        <string id="value" values="yesno">yes</string>
                    </action>
                </condition>
            </condition>
            <condition id="getBool">
                <string id="id">p1Cinematic2Done</string>
                <string id="value" values="yesno">no</string>
                <condition id="getBool">
                    <string id="id">p1Cinematic2</string>
                    <string id="value" values="yesno">yes</string>
                    <sequence>
                        <string id="Is blocking">yes</string>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">5.00</float>
                        </action>
                        <action id="setBool">
                            <string id="id">p1SpellsGiven</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">yes</string>
                            <string id="Freeze input" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">0.50</float>
                        </action>
                        <action id="moveCamera">
                            <float id="Target position">-45.00</float>
                            <float id="Scrolling duration">1.00</float>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309c1_wellwell</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_aztecking</string>
                            <string id="Location" values="textLocation">right</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309c2_youknowit</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_asianemperor</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309c3_longwaytogo</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_footsoldier</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309c4_whoknows</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_footsoldier</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309c5_wehaveunits</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_asianemperor</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="showMission">
                            <string id="Text identifier">lvl309obj2</string>
                        </action>
                        <action id="setBool">
                            <string id="id">p1Cinematic2Done</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">no</string>
                            <string id="Freeze input" values="yesno">no</string>
                        </action>
                        <action id="setBool">
                            <string id="id">p2Attack</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">no</string>
                        </action>
                    </sequence>
                </condition>
            </condition>
            <condition id="unitNear">
                <string id="unitType" values="enemies" multiselect="true">AsianNinja;;</string>
                <string id="rangeType" values="offsetsFromBase">percentual</string>
                <float id="range">64.00</float>
                <string id="ownUnits" values="yesno">no</string>
                <condition id="getBool">
                    <string id="id">p1Cinematic</string>
                    <string id="value" values="yesno">no</string>
                    <sequence>
                        <string id="Is blocking">yes</string>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">p1Cinematic</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">yes</string>
                            <string id="Freeze input" values="yesno">yes</string>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">0.50</float>
                        </action>
                        <action id="moveCamera">
                            <float id="Target position">-45.00</float>
                            <float id="Scrolling duration">1.00</float>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecRanged</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">55.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="createUnit">
                            <string id="unitType" values="enemies">AztecRanged</string>
                            <string id="offsetType" values="offsetsFromBase">percentual</string>
                            <float id="offset">54.00</float>
                            <string id="cheat" values="yesno">yes</string>
                            <string id="ignoreCooldown" values="yesno">yes</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309b1_wemadeit</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_asianemperor</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="moveCamera">
                            <float id="Target position">-15.00</float>
                            <float id="Scrolling duration">1.00</float>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309b2_dumdidum</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_dartblower</string>
                            <string id="Location" values="textLocation">right</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">no</string>
                            <string id="Freeze input" values="yesno">yes</string>
                        </action>
                        <action id="moveCamera">
                            <float id="Target position">-29.00</float>
                            <float id="Scrolling duration">5.20</float>
                        </action>
                        <action id="wait">
                            <string id="timeunit" values="timeunits">seconds</string>
                            <float id="time">1.00</float>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">yes</string>
                            <string id="Freeze input" values="yesno">yes</string>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309b3_yeahnice</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_dartblower</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="moveCamera">
                            <float id="Target position">-33.00</float>
                            <float id="Scrolling duration">0.50</float>
                        </action>
                        <action id="showText">
                            <string id="Text identifier">lvl309b4_whatthe</string>
                            <float id="Duration">8.00</float>
                            <string id="Texture">portrait_dartblower</string>
                            <string id="Location" values="textLocation">right</string>
                        </action>
                        <action id="addMana">
                            <float id="Amount">100.00</float>
                            <string id="Team" values="teams">enemyTeam</string>
                        </action>
                        <action id="setFreezeGame">
                            <string id="Freeze game" values="yesno">no</string>
                            <string id="Freeze input" values="yesno">no</string>
                        </action>
                        <action id="setBool">
                            <string id="id">p1Cinematic2</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                        <action id="setBool">
                            <string id="id">inMovie</string>
                            <string id="value" values="yesno">no</string>
                        </action>
                    </sequence>
                </condition>
            </condition>
        </condition>
    </behaviour>
</enemy>
