Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [auto] => Array
                (
                )

            [Art] => ReplaceableTextures\CommandButtons\BTNIceTrollBeserker.blp
            [turnRate] => 3
            [dmgplus1] => 3696
            [bldtm] => 1
            [unitSound] => IceTroll
            [goldcost] => 1900
            [sides1] => 1
            [acquire] => 800
            [upgrades] => Array
                (
                )

            [Upgrade] => Array
                (
                )

            [Name] => Adult Northern Troll
            [weapTp1] => missile
            [MissileHoming] => 1
            [file] => units\creeps\IceTroll\IceTroll.mdl
            [uberSplat] => OSMA
            [Missileart] => Abilities\Weapons\WingedSerpentMissile\WingedSerpentMissile.mdl
            [Missilespeed] => 1500
            [dice1] => 1
            [RngBuff1] => 250
            [modelScale] => 0.8
            [rangeN1] => 800
            [atkType1] => pierce
            [cool1] => 2
            [Ubertip] => Wanders in the cold northern lands, looking for preys.
            [abilList] => Array
                (
                )

            [moveHeight] => 80
            [buildingShadow] => Array
                (
                )

            [targs1] => Array
                (
                )

            [weapsOn] => 1
        )

    [settings] => Array
        (
            [balanceTip] => |cffFFFF00+15% |rdmg to orcs (|cffFFFF00+0.3%|r/lvl)|n|cffFFFF00+15% |rdmg to humanoids (|cffFFFF00+0.3%|r/lvl)
            [abil_factor] => 0.77
            [author] => DaveMatthews
            [alpha] => 255
            [authorDisplay] => DaveMatthews
            [version] => 1.0
            [element] => ice
            [rarity] => rare
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => 1.22777
                    [y] => 2.28658
                    [z] => 0
                    [scale] => 0.925
                    [rot] => 3.10669
                    [file] => Doodads\Icecrown\Rocks\Ice_SnowRock\Ice_SnowRock6.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -35.7069
                    [y] => 36.6634
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 5.34071
                    [file] => Doodads\Cinematic\FrostTrapUp\FrostTrapUp.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => 3.68317
                    [y] => 2.28661
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 3.50811
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal7.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [3] => Array
                (
                    [x] => 56.6264
                    [y] => -0.83699
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.698132
                    [file] => Doodads\Cinematic\FrostTrapUp\FrostTrapUp.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => -38.8867
                    [y] => -25.2657
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0
                    [file] => Doodads\Icecrown\Rocks\Glacier\Glacier1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => 29.6604
                    [y] => 36.9575
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 0
                    [file] => Doodads\Icecrown\Rocks\Glacier\Glacier1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => 40.5961
                    [y] => -28.5644
                    [z] => 0
                    [scale] => 0.2
                    [rot] => 2.0944
                    [file] => Doodads\Icecrown\Rocks\Glacier\Glacier1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_ORC
                    [base] => 0.15
                    [add] => 0.003
                )

            [1] => Array
                (
                    [id] => MOD_DMG_TO_HUMANOID
                    [base] => 0.15
                    [add] => 0.003
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Projectile p
    local Unit creep = Event.getTarget()
    local integer level = tower.getLevel()

    set p = Projectile.createLinearInterpolationFromUnitToUnit(dave_axe, tower,1,1, tower, creep, 0.2, true)
    set p.userReal = 0.25+0.005*level
    call p.setScale(1.5)
    call dave_fatigue.apply(tower,tower,level)
                    [values] => Array
                        (
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNSpiritWalkerAdeptTraining.blp
                            [name] => Ice Smashing Axe
                            [short_explain] => Has a chance to throw a giant axe.
                            [ONATTACK_chance] => 0.15
                            [ONATTACK_chanceLevelAdd] => 0.0
                            [long_explain] => On attack this tower has a |cffFFFF8015%|r chance to throw a giant axe. The axe shatters all the buffs from its target and deals |cffFFFF8025%|r of the tower's attack damage as elemental damage for each buff purged. If more than |cffFFFF805|r buffs are removed the enemy is also stunned for |cffFFFF801.5|r seconds (|cffFFFF800.75|r on bosses). The axe is so heavy that its wielder's attack speed is slowed by |cffFFFF8030%|r for |cffFFFF803|r seconds after throwing it. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.5%|r damage per buff |r|n|cffFFFF80-0.4%|r attack speed reduction
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        //@import
        BuffType dave_fatigue
        //@import
        ProjectileType dave_axe
    endglobals
    
    
    //Do not remove or rename this function!
    //Put your initialization tasks here, this function will be called on map init
    private function init takes nothing returns nothing
	endfunction
                    [values] => Array
                        (
                            [visible] => false
                            [icon] => 
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => On Damage
                    [code] => local Creep creep = Event.getTarget()
    local integer level= tower.getLevel()
    local real speed = creep.getBaseMovespeed()
    local real currentSpeed = creep.getCurrentMovespeed()
    local real slow
    local real damage
    if currentSpeed < speed then
        set slow = (speed - currentSpeed) / speed
        set damage = Event.damage*slow*(0.65+0.025*level)
        set Event.damage = Event.damage+damage
        call tower.getOwner().displaySmallFloatingText("+"+I2S(R2I(damage)),creep,100,100,255,0)
    endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [visible] => true
                            [icon] => ReplaceableTextures\CommandButtons\BTNOrcMeleeUpTwo.blp
                            [name] => Ice Coated Axes
                            [short_explain] => Deals more damage to slowed units.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => This tower deals |cffFFFF800.65%|r bonus damage for every |cffFFFF801%|r movement speed the target is missing. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.025%|r damage
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
            [0] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => BuffType
                    [name] => dave_fatigue
                )

            [1] => Array
                (
                    [export] => false
                    [category] => global
                    [typ] => ProjectileType
                    [name] => dave_axe
                )

        )

)