Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Ubertip] => This glaive is able to mimic every kind of weapon.
            [Art] => ReplaceableTextures\CommandButtons\BTNShadowStrike.blp
            [abilList] => Array
                (
                )

            [Name] => Chameleon Glaive
        )

    [settings] => Array
        (
            [balanceTip] => Array
                (
                )

            [goldcost] => 1100
            [author] => Boekie
            [authorDisplay] => |cff00CD00Boekie|r
            [version] => 1.0
            [rarity] => unique
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Tower tower = itm.getCarrier()
    local Unit creep = Event.getTarget()
    local Projectile p 
        
    set p = Projectile.createFromUnitToUnit(boekie_multiGun,tower,1,0,tower,creep,true,false,false)            
    call p.setScale(0.75)
                    [values] => Array
                        (
                            [explain] => The carrier has a |cffFFFF8040%|r chance on attack to fire an extra projectile that deals the same amount of damage as a normal attack. Can crit.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance
                            [visible] => true
                            [goldcost] => 1100
                            [name] => Launch Glaive
                            [ONATTACK_chance] => 0.40
                            [ONATTACK_chanceLevelAdd] => 0.004
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        ProjectileType boekie_multiGun
    endglobals
    
    public function hit takes Projectile p, Unit creep returns nothing 
        local Tower tower = p.getCaster() 
        call tower.doAttackDamage(creep, tower.getCurrentAttackDamageWithBonus(), tower.calcAttackMulticrit(0, 0, 0)) 
    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 boekie_multiGun = ProjectileType.create("Abilities\\Weapons\\GlaiveMissile\\GlaiveMissile.mdl", 4, 1000) 
        call boekie_multiGun.enableHoming(ProjectileTargetEvent.hit, 0) 
    endfunction
                    [values] => Array
                        (
                            [explain] => 
                            [visible] => false
                            [goldcost] => 0
                            [name] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)