Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Name] => Stunner
            [Art] => ReplaceableTextures\CommandButtons\BTNInfernalFlameCannon.blp
            [Ubertip] => An advanced machine used to stun enemies.
            [abilList] => Array
                (
                )

        )

    [settings] => Array
        (
            [author] => Boekie
            [authorDisplay] => |cff00CD00Boekie|r
            [balanceTip] => Array
                (
                )

            [rarity] => rare
            [goldcost] => 1000
            [version] => 1.0
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => local Creep target = Event.getTarget()  
    local integer size = target.getSize()
    local Tower tower = itm.getCarrier()
    local real speed = tower.getBaseAttackspeed()
 
 if size < SIZE_BOSS then
 
    if tower.calcChance((0.15+tower.getLevel()*0.0025) * speed ) and Event.isMainTarget() == true then
        call cb_stun.applyOnlyTimed(tower,target,1) 
    endif
    
 else
 
    if tower.calcChance((0.15+tower.getLevel()* 0.0025) / 3 * speed ) and Event.isMainTarget() == true then
        call cb_stun.applyOnlyTimed(tower,target,1) 
    endif 
    
endif
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 1
                            [visible] => true
                            [name] => Stun
                            [goldcost] => 1000
                            [ONDAMAGE_chanceLevelAdd] => 0
                            [explain] => When the carrier of this item damages a creep there is a |cffFFFF8015%|r attackspeed adjusted chance to stun the target for |cffFFFF801|r second. Has only a |cffFFFF801/3|r of the normal chance to trigger on bosses!|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.25%|r chance
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)