Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [Ubertip] => "I will teach you, what hunting is like!"
            [Art] => ReplaceableTextures\CommandButtons\BTNDruidOfTheTalon.blp
            [abilList] => Array
                (
                )

            [Name] => Old Hunter
        )

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

            [goldcost] => 1000
            [author] => Guennter
            [authorDisplay] => |cff000099Guennter|r
            [version] => 1.0
            [rarity] => rare
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Kill
                    [code] => local Tower tower = itm.getCarrier() 
    local Tower next
    local Iterate in_range
    local integer count
    
    // test if tower is minimum lvl 5
    if tower.getLevel() >= 5 then
        // test, if there are towers in range
        set in_range = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TOWERS, 500)
        set count = IMinBJ(5, in_range.count())
        if count > 0 then 
            call tower.removeExpFlat(count)
            loop
                set next = in_range.nextRandom()
                exitwhen next == 0
                call next.addExpFlat(1)
                call SFXAtUnit("Abilities\\Spells\\Undead\\AnimateDead\\AnimateDeadTarget.mdl", next.getUnit())
                set count = count - 1
                exitwhen count == 0
            endloop
            if next != 0 then
                call in_range.destroy()
            endif
        else
            call in_range.destroy()
        endif
    endif
                    [values] => Array
                        (
                            [explain] => After each kill, the carrier transfers |cffFFFF801|r flat experience to up to |cffFFFF805|r random towers in |cffFFFF80500|r range. The carrier must be at least level |cffFFFF805|r to trigger this ability.
                            [visible] => true
                            [goldcost] => 1000
                            [name] => Old Hunter
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)