<?xml version="1.0" ?>
<enemy>
    <behaviour>
        <condition id="getBool">
            <string id="id">teksta</string>
            <string id="value" values="yesno">no</string>
            <sequence>
                <string id="Is blocking">yes</string>
                <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">lvl107a1_chief towers</string>
                    <float id="Duration">6.00</float>
                    <string id="Texture">portrait_axethrower</string>
                    <string id="Location" values="textLocation">right</string>
                </action>
                <action id="moveCamera">
                    <float id="Target position">-10.00</float>
                    <float id="Scrolling duration">1.50</float>
                </action>
                <action id="showText">
                    <string id="Text identifier">lvl107a2_chief axethrowers</string>
                    <float id="Duration">5.00</float>
                    <string id="Texture">portrait_chief</string>
                    <string id="Location" values="textLocation">right</string>
                </action>
                <action id="moveCamera">
                    <float id="Target position">-35.00</float>
                    <float id="Scrolling duration">1.50</float>
                </action>
                <action id="showText">
                    <string id="Text identifier">lvl107a3_chief getready</string>
                    <float id="Duration">5.00</float>
                    <string id="Texture">portrait_chief</string>
                    <string id="Location" values="textLocation">left</string>
                </action>
                <action id="showText">
                    <string id="Text identifier">lvl107c1_chief reenforce</string>
                    <float id="Duration">5.00</float>
                    <string id="Texture">portrait_chief</string>
                    <string id="Location" values="textLocation">left</string>
                </action>
                <action id="showMission">
                    <string id="Text identifier">lvl107obj</string>
                </action>
                <action id="setFreezeGame">
                    <string id="Freeze game" values="yesno">no</string>
                    <string id="Freeze input" values="yesno">no</string>
                </action>
                <action id="setButtonEnabled">
                    <string id="Button" values="buttons">VikingSnowstormUpgrade</string>
                    <string id="Team" values="teams">ownTeam</string>
                    <string id="Enabled" values="yesno">no</string>
                </action>
                <action id="setBool">
                    <string id="id">teksta</string>
                    <string id="value" values="yesno">yes</string>
                </action>
            </sequence>
        </condition>
        <condition id="getBool">
            <string id="id">mosselman</string>
            <string id="value" values="yesno">no</string>
            <condition id="buttonHasBeenClicked">
                <string id="Button" values="buttons">VikingSnowstormUpgrade</string>
                <string id="Team to check" values="teams">ownTeam</string>
                <string id="HasBeenClicked" values="yesno">yes</string>
                <action id="setButtonHighlighted">
                    <string id="Button" values="buttons">VikingSnowstormUpgrade</string>
                    <string id="Team" values="teams">ownTeam</string>
                    <string id="Highlighted" values="yesno">no</string>
                </action>
                <action id="setBool">
                    <string id="id">mosselman</string>
                    <string id="value" values="yesno">yes</string>
                </action>
            </condition>
        </condition>
        <condition id="getBool">
            <string id="id">mossels</string>
            <string id="value" values="yesno">no</string>
            <condition id="buttonEnabled">
                <string id="Button" values="buttons">VikingRanged</string>
                <string id="Team to check" values="teams">ownTeam</string>
                <string id="didUpgrade" values="yesno">yes</string>
                <condition id="timePassed">
                    <string id="timeunit" values="timeunits">seconds</string>
                    <float id="time">20.00</float>
                    <sequence>
                        <string id="Is blocking">yes</string>
                        <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">lvl107a4_chief snowstorm</string>
                            <float id="Duration">4.00</float>
                            <string id="Texture">portrait_chief</string>
                            <string id="Location" values="textLocation">left</string>
                        </action>
                        <action id="setButtonEnabled">
                            <string id="Button" values="buttons">VikingSnowstormUpgrade</string>
                            <string id="Team" values="teams">ownTeam</string>
                            <string id="Enabled" values="yesno">yes</string>
                        </action>
                        <action id="setButtonHighlighted">
                            <string id="Button" values="buttons">VikingSnowstormUpgrade</string>
                            <string id="Team" values="teams">ownTeam</string>
                            <string id="Highlighted" 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">mossels</string>
                            <string id="value" values="yesno">yes</string>
                        </action>
                    </sequence>
                </condition>
            </condition>
        </condition>
        <condition id="timePassed">
            <string id="timeunit" values="timeunits">seconds</string>
            <float id="time">370.00</float>
            <condition id="getBool">
                <string id="id">catatekst</string>
                <string id="value" values="yesno">no</string>
                <sequence>
                    <string id="Is blocking">yes</string>
                    <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">lvl107c2_chief here</string>
                        <float id="Duration">3.00</float>
                        <string id="Texture">portrait_chief</string>
                        <string id="Location" values="textLocation">right</string>
                    </action>
                    <action id="moveCamera">
                        <float id="Target position">-35.00</float>
                        <float id="Scrolling duration">1.50</float>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl107c3_soldier aye</string>
                        <float id="Duration">3.00</float>
                        <string id="Texture">portrait_berserker</string>
                        <string id="Location" values="textLocation">left</string>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl107c4_chief cata</string>
                        <float id="Duration">3.00</float>
                        <string id="Texture">portrait_chief</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">no</string>
                    </action>
                    <action id="setBool">
                        <string id="id">catatekst</string>
                        <string id="value" values="yesno">yes</string>
                    </action>
                </sequence>
            </condition>
            <condition id="counter">
                <string id="id">cata</string>
                <int id="count">2</int>
                <action id="createUnit">
                    <string id="unitType" values="enemies">VikingCatapult</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="incrementCounter">
                    <string id="id">cata</string>
                </action>
            </condition>
            <condition id="counter">
                <string id="id">bers</string>
                <int id="count">4</int>
                <action id="createUnit">
                    <string id="unitType" values="enemies">VikingMelee</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="incrementCounter">
                    <string id="id">bers</string>
                </action>
            </condition>
            <condition id="counter">
                <string id="id">axe</string>
                <int id="count">3</int>
                <action id="createUnit">
                    <string id="unitType" values="enemies">VikingRanged</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="incrementCounter">
                    <string id="id">axe</string>
                </action>
            </condition>
        </condition>
    </behaviour>
</enemy>
