Array
(
    [scriptVersion] => 8
    [oeValues] => Array
        (
            [Ubertip] => You are not prepared!
            [Art] => ReplaceableTextures\CommandButtons\BTNWarglaive_of_Azzinoth.blp
            [abilList] => Array
                (
                )

            [Name] => Warglaive of Azzinoth
        )

    [settings] => Array
        (
            [balanceTip] => |n|cffFFFF80Specials:|r|n|cffFFFF00+1000|r dps|n|cffFFFF00+10%|r crit chance
            [goldcost] => 2561
            [author] => Ashbringer
            [authorDisplay] => |cffff6600Ashbringer|r
            [version] => 1.0
            [rarity] => unique
        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DPS_ADD
                    [base] => 1000
                    [add] => 0
                )

            [1] => Array
                (
                    [id] => MOD_ATK_CRIT_CHANCE
                    [base] => 0.1
                    [add] => 0
                )

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Attack
                    [code] => local Tower tower = itm.getCarrier()
    
    if Event.getTarget().getCategory() == CATEGORY_MAGIC then
        call ashbringer_warglaive_buff.apply(tower, tower, 0)
    endif
                    [values] => Array
                        (
                            [explain] => Attacking a magical enemy grants Demonslaying, increasing attack speed and damage dealt to magical enemies by |cffFFFF8030%|r for |cffFFFF8010|r seconds.
                            [visible] => true
                            [goldcost] => 400
                            [name] => Demonslaying
                            [ONATTACK_chance] => 1.0
                            [ONATTACK_chanceLevelAdd] => 0.0
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType ashbringer_warglaive_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 mod = Modifier.create()
        set ashbringer_warglaive_buff = BuffType.create(10, 0, true)
        call ashbringer_warglaive_buff.setBuffIcon('@@0@@')
        call mod.addModification(MOD_DMG_TO_MAGIC, 0.3, 0)
        call mod.addModification(MOD_ATTACKSPEED, 0.3, 0)
        call ashbringer_warglaive_buff.setBuffModifier(mod)
	endfunction
                    [values] => Array
                        (
                            [explain] => 
                            [visible] => false
                            [goldcost] => 0
                            [name] => 
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BNab
                    [oeValues] => Array
                        (
                            [EditorName] => Demonslaying
                            [Buffubertip] => Increased attack speed and damage vs magical.
                            [TargetArt] => Abilities\Spells\NightElf\Immolation\ImmolationDamage.mdl
                            [Bufftip] => Demonslaying
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNWarglaive_of_Azzinoth.blp
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)