<?xml version="1.0" ?>
<enemy>
    <behaviour>
        <condition id="getBool">
            <string id="id">firsttext</string>
            <string id="value" values="yesno">no</string>
            <action id="setButtonEnabled">
                <string id="Button" values="buttons">VikingHammerOfThorUpgrade</string>
                <string id="Team" values="teams">ownTeam</string>
                <string id="Enabled" values="yesno">no</string>
            </action>
            <sequence>
                <string id="Is blocking">yes</string>
                <action id="createUnit">
                    <string id="unitType" values="enemies">VikingWorker</string>
                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                    <float id="offset">60.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">VikingWorker</string>
                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                    <float id="offset">61.50</float>
                    <string id="cheat" values="yesno">yes</string>
                    <string id="ignoreCooldown" values="yesno">yes</string>
                </action>
                <action id="createUnit">
                    <string id="unitType" values="enemies">VikingWorker</string>
                    <string id="offsetType" values="offsetsFromBase">percentual</string>
                    <float id="offset">62.20</float>
                    <string id="cheat" values="yesno">yes</string>
                    <string id="ignoreCooldown" 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="showText">
                    <string id="Text identifier">lvl110a1_chief smells</string>
                    <float id="Duration">0.00</float>
                    <string id="Texture">portrait_chief</string>
                    <string id="Location" values="textLocation">left</string>
                </action>
                <action id="showText">
                    <string id="Text identifier">lvl110a2_soldier best</string>
                    <float id="Duration">0.00</float>
                    <string id="Texture">portrait_berserker</string>
                    <string id="Location" values="textLocation">right</string>
                </action>
                <action id="showText">
                    <string id="Text identifier">lvl110a3_chief girls</string>
                    <float id="Duration">0.00</float>
                    <string id="Texture">portrait_chief</string>
                    <string id="Location" values="textLocation">left</string>
                </action>
                <action id="moveCamera">
                    <float id="Target position">8.00</float>
                    <float id="Scrolling duration">2.00</float>
                </action>
                <action id="showText">
                    <string id="Text identifier">lvl110a4_worker yay</string>
                    <float id="Duration">0.00</float>
                    <string id="Texture">portrait_olga</string>
                    <string id="Location" values="textLocation">right</string>
                </action>
                <action id="showMission">
                    <string id="Text identifier">lvl110obj</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">firsttext</string>
                    <string id="value" values="yesno">yes</string>
                </action>
            </sequence>
        </condition>
        <condition id="getBool">
            <string id="id">thor</string>
            <string id="value" values="yesno">no</string>
            <condition id="unitNear">
                <string id="unitType" values="enemies" multiselect="true">AsianMelee;;AsianRanged;;</string>
                <string id="rangeType" values="offsetsFromBase">percentual</string>
                <float id="range">45.00</float>
                <string id="ownUnits" values="yesno">no</string>
                <action id="setBool">
                    <string id="id">thor</string>
                    <string id="value" values="yesno">yes</string>
                </action>
                <sequence>
                    <string id="Is blocking">yes</string>
                    <action id="addMoney">
                        <float id="Amount">60.00</float>
                        <string id="Team" values="teams">enemyTeam</string>
                    </action>
                    <action id="moveCamera">
                        <float id="Target position">-35.00</float>
                        <float id="Scrolling duration">2.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">lvl110c1_thor wait</string>
                        <float id="Duration">0.00</float>
                        <string id="Texture">portrait_thor</string>
                        <string id="Location" values="textLocation">right</string>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl110c2_chief thor</string>
                        <float id="Duration">0.00</float>
                        <string id="Texture">portrait_chief</string>
                        <string id="Location" values="textLocation">left</string>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl110c3_thor mrthor</string>
                        <float id="Duration">0.00</float>
                        <string id="Texture">portrait_thor</string>
                        <string id="Location" values="textLocation">right</string>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl110c4_chief yes</string>
                        <float id="Duration">0.00</float>
                        <string id="Texture">portrait_chief</string>
                        <string id="Location" values="textLocation">left</string>
                    </action>
                    <action id="showText">
                        <string id="Text identifier">lvl110c5_thor jiba</string>
                        <float id="Duration">0.00</float>
                        <string id="Texture">portrait_thor</string>
                        <string id="Location" values="textLocation">right</string>
                    </action>
                    <action id="useAbility">
                        <string id="abilityType" values="abilities">VikingHammerOfThor</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>
                    <action id="moveCamera">
                        <float id="Target position">26.00</float>
                        <float id="Scrolling duration">0.10</float>
                    </action>
                    <action id="setButtonEnabled">
                        <string id="Button" values="buttons">VikingHammerOfThorUpgrade</string>
                        <string id="Team" values="teams">ownTeam</string>
                        <string id="Enabled" values="yesno">yes</string>
                    </action>
                    <action id="setButtonHighlighted">
                        <string id="Button" values="buttons">VikingHammerOfThorUpgrade</string>
                        <string id="Team" values="teams">ownTeam</string>
                        <string id="Highlighted" values="yesno">yes</string>
                    </action>
                    <action id="addMoney">
                        <float id="Amount">200.00</float>
                        <string id="Team" values="teams">ownTeam</string>
                    </action>
                </sequence>
            </condition>
        </condition>
        <condition id="buttonHasBeenClicked">
            <string id="Button" values="buttons">VikingHammerOfThorUpgrade</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">VikingHammerOfThorUpgrade</string>
                <string id="Team" values="teams">ownTeam</string>
                <string id="Highlighted" values="yesno">no</string>
            </action>
        </condition>
    </behaviour>
</enemy>
