Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [MissileHoming] => 1
            [Upgrade] => Array
                (
                )

            [targs1] => Array
                (
                )

            [animProps] => small
            [goldcost] => 4000
            [weapsOn] => 1
            [dice1] => 1
            [Missilespeed] => 10000
            [file] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
            [modelScale] => 0.6
            [atkType1] => pierce
            [weapTp1] => missile
            [acquire] => 1500
            [rangeN1] => 1500
            [upgrades] => Array
                (
                )

            [cool1] => 4
            [Ubertip] => Sapphiron died a long time ago, but his bones do still carry an unbelievable power.
            [abilList] => Array
                (
                )

            [Name] => Sapphirons Cold Grave
            [Art] => ReplaceableTextures\CommandButtons\BTNColdArrows.blp
            [buildingShadow] => Array
                (
                )

            [unitSound] => Array
                (
                )

            [sides1] => 1
            [uberSplat] => OSMA
            [auto] => Array
                (
                )

            [dmgplus1] => 0
            [bldtm] => 1
        )

    [settings] => Array
        (
            [author] => cedi
            [element] => ice
            [authorDisplay] => cedi
            [alpha] => 255
            [balanceTip] => Array
                (
                )

            [rarity] => unique
            [version] => 1.0
            [abil_factor] => 0.00
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -4.27766
                    [y] => -5.48243
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 6.0912
                    [file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -5.87219
                    [y] => -3.82951
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.95157
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [2] => Array
                (
                    [x] => -5.07023
                    [y] => 2.50585
                    [z] => 32
                    [scale] => 0.3
                    [rot] => 4.33784
                    [file] => units\undead\FrostWyrm\FrostWyrm.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => stand
                    [aniSpeed] => 0
                )

            [3] => Array
                (
                    [x] => 11.2851
                    [y] => -30.7281
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.95157
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [4] => Array
                (
                    [x] => 23.6761
                    [y] => 6.63083
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.95157
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [5] => Array
                (
                    [x] => -19.8766
                    [y] => -27.2559
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.95157
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [6] => Array
                (
                    [x] => -17.3391
                    [y] => 12.0431
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.95157
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [7] => Array
                (
                    [x] => 24.7844
                    [y] => 9.82699
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 4.30563
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [8] => Array
                (
                    [x] => 18.5294
                    [y] => -35.535
                    [z] => 0
                    [scale] => 0.5
                    [rot] => 5.95157
                    [file] => Doodads\Icecrown\Water\IceEdge\IceEdge2.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [9] => Array
                (
                    [x] => -30.4152
                    [y] => -22.3833
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.78319
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [10] => Array
                (
                    [x] => 29.8356
                    [y] => 19.2181
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 4.78319
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw1.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [11] => Array
                (
                    [x] => 18.2571
                    [y] => -33.3395
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 3.83973
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw5.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [12] => Array
                (
                    [x] => -12.5478
                    [y] => 30.2203
                    [z] => 0
                    [scale] => 0.3
                    [rot] => 0.242839
                    [file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw5.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local Projectile P = Projectile.createFromUnitToUnit( shard, tower, 1.00, tower.calcSpellCritNoBonus(), tower, Event.getTarget(), false, true, false )
    set P.userInt = 4
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1.0
                            [icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
                            [visible] => true
                            [name] => Liquide Ice
                            [short_explain] => Decreases the defense against ice towers attack.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Each time an ice shard damages an enemy, it decreases the target's defense against ice towers. The target takes |cffFFFF8015%|r more damage from attacks of ice towers. The effect lasts until the creep's death and stacks.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r damage increase
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        ProjectileType shard
        BuffType b
    endglobals
        
    function Expiration takes Projectile p returns nothing
        local integer i = p.userInt
        local real angle = p.direction
        local Unit tower = p.getCaster()
        local Projectile P
        if i > 0 then
            set i = i - 1
            set p.userInt = i
            set P = Projectile.create( shard, tower, 1.00, tower.calcSpellCritNoBonus(), p.x, p.y, p.z, angle + 15.00 )
            set P.userInt = i
            set P = Projectile.create( shard, tower, 1.00, tower.calcSpellCritNoBonus(), p.x, p.y, p.z, angle - 15.00 )
            set P.userInt = i
        endif
    endfunction
            
    function Impact takes Projectile p, Unit target returns nothing
        local Unit caster = p.getCaster()
        local Buff B = target.getBuffOfType( b )
        local real r = 0.15 + 0.004 * I2R( caster.getLevel() )
        call caster.doSpellDamage( target, 2280.00 + 85.00 * I2R( caster.getLevel() ), caster.calcSpellCritNoBonus() )
        call SFXAtUnit( "Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl", target.getUnit() )
        call target.modifyProperty( MOD_DMG_FROM_ICE, r )
        if B == 0 then
            set B = b.apply( caster, target, 1 )
            set B.userReal = r
        else
            call B.setLevel( B.getLevel() + 1 )
            set B.userReal = B.userReal + r
        endif
        call caster.getOwner().displayFloatingText( "|cFFBFFFFF" + I2S( R2I( B.userReal * 100.00 + 0.5 ) ) + "%|r", target, 255, 255, 255 )
    endfunction
    
    //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
        set shard = ProjectileType.createRanged( "Abilities\\Weapons\\LichMissile\\LichMissile.mdl", 300.00, 400.00 )
        call shard.setEventOnExpiration( Expiration )
        call shard.enableCollision( Impact, 75.00, TARGET_CREEPS, true )
        set b = BuffType.create( -1.00, 0.00, false )
        call b.setBuffIcon( '@@0@@' )
	endfunction
                    [values] => Array
                        (
                            [icon] => ReplaceableTextures\CommandButtons\BTNColdArrows.blp
                            [visible] => true
                            [name] => Ice Shard
                            [short_explain] => This tower attacks with ice shards.
                            [long_explain] => This tower fires an ice shard towards an enemy. After a distance of |cffFFFF80300|r the ice shard splits into |cffFFFF802|r new shards which will split again. If a shard collides with an enemy it deals |cffFFFF802280|r spell damage. There is a maximum of |cffFFFF804|r splits.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+85|r damage
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHfs
                    [oeValues] => Array
                        (
                            [Bufftip] => Liquide Ice
                            [Targetattach] => head
                            [Buffubertip] => This unit takes increased damage from ice towers.
                            [Targetattachcount] => 1
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
                            [TargetArt] => Abilities\Weapons\ZigguratFrostMissile\ZigguratFrostMissile.mdl
                            [EditorName] => Liquide Ice
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)