Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [Ubertip] => Staring right back at you with a sinister gaze, you may believe this effigy is sentient.
            [Art] => ReplaceableTextures\CommandButtons\BTNDestroyer.blp
            [abilList] => Array
                (
                )

            [Name] => Hellion's Effigy
        )

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

            [goldcost] => 1750
            [author] => Moppy
            [authorDisplay] => |c006969FFMoppy|r
            [version] => 1.0
            [rarity] => unique
        )

    [dmgTable] => Array
        (
        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Tower t = itm.getCarrier()
    local Unit c = Event.getTarget()
    local Buff b = t.getBuffOfGroup("moppy_hellion_effigy_group")
    local integer stacks = b.getLevel()
    if stacks < 11 then
        call moppy_hellion_effigy_buff.applyAdvanced(t, t, 1 + stacks, stacks, 3)
    else
        call cb_stun.applyOnlyTimed(t, c, (1 + (t.getLevel() * 0.02)) * t.getBaseAttackspeed())
        call Lightning.createFromUnitToUnit("GOLD", t, c).setLifetime(0.3)
        call SFXAtUnit("Abilities\\Weapons\\Bolt\\BoltImpact.mdl", c.getUnit())
        call b.removeBuff()
    endif
                    [values] => Array
                        (
                            [explain] => On attack, increases attack and spell damage by |cffFFFF806%|r for |cffFFFF803|r seconds. Stacks |cffFFFF8010|r times. At full stacks, expends all stacks on attack to stun the target for |cffFFFF801|r second. The stun duration is attack speed adjusted.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.02|r seconds stun
                            [visible] => true
                            [goldcost] => 1750
                            [name] => Hellion's Flare
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
    BuffType moppy_hellion_effigy_buff
    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
    local Modifier m = Modifier.create()
    call m.addModification(MOD_DAMAGE_ADD_PERC, 0, 0.06)
    call m.addModification(MOD_SPELL_DAMAGE_DEALT, 0, 0.06)
    set moppy_hellion_effigy_buff = BuffType.create(0, 0, true)
    call moppy_hellion_effigy_buff.setBuffModifier(m)
    call moppy_hellion_effigy_buff.setBuffIcon('@@0@@')
    call moppy_hellion_effigy_buff.setStackingGroup("moppy_hellion_effigy_group")
	endfunction
                    [values] => Array
                        (
                            [explain] => 
                            [visible] => false
                            [goldcost] => 0
                            [name] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNab
                    [oeValues] => Array
                        (
                            [Targetattach] => Array
                                (
                                )

                            [EditorName] => Hellion's Effigy
                            [Buffubertip] => Attack and spell damage increased.
                            [TargetArt] => Array
                                (
                                )

                            [Bufftip] => Hellion's Effigy
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNDestroyer.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)