Array
(
    [scriptVersion] => 7
    [oeValues] => Array
        (
            [RngBuff1] => 250
            [Upgrade] => Array
                (
                )

            [splashTargs1] => ground
            [targs1] => ground
            [goldcost] => 750
            [weapsOn] => 1
            [Hfact1] => 0.66
            [dice1] => 1
            [damageLoss1] => 0.1
            [Missilespeed] => 1500
            [moveHeight] => 15
            [targCount1] => 5
            [file] => units\other\BloodElfLieutenant\BloodElfLieutenant.mdl
            [Harea1] => 400
            [manaN] => 100
            [modelScale] => 0.7
            [atkType1] => siege
            [weapTp1] => mbounce
            [acquire] => 750
            [rangeN1] => 750
            [upgrades] => Array
                (
                )

            [cool1] => 0.75
            [Ubertip] => The perfect soldiers against the undead.
            [Farea1] => 300
            [abilList] => Array
                (
                )

            [Qarea1] => 500
            [Name] => Sun Crusader
            [Missileart] => Abilities\Weapons\BloodElfSpellThiefMISSILE\BloodElfSpellThiefMISSILE.mdl
            [Art] => ReplaceableTextures\CommandButtons\BTNAltarOfKings.blp
            [buildingShadow] => Array
                (
                )

            [blue] => 155
            [turnRate] => 0.2
            [unitSound] => SpellBreaker
            [Qfact1] => 0.33
            [sides1] => 1
            [auto] => Array
                (
                )

            [dmgplus1] => 175
            [bldtm] => 1
        )

    [settings] => Array
        (
            [author] => cedi
            [element] => astral
            [authorDisplay] => cedi
            [alpha] => 255
            [balanceTip] => |cffFF0000Attacks GROUND only|r|n|cffCCFF00Bounce attack:|n   |cffFFFF005|r targets|n   -|cffFFFF0010%|r damage per bounce|n|cffFFFF00+50% |rdmg to undead|n|cffFFFF00+1 |rmana/lvl
            [rarity] => rare
            [version] => 1.0
            [abil_factor] => 0.5
        )

    [effects] => Array
        (
            [0] => Array
                (
                    [x] => -33.9617
                    [y] => -27.1132
                    [z] => 44.8
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

            [1] => Array
                (
                    [x] => -0.635923
                    [y] => 22.6488
                    [z] => 0
                    [scale] => 0.7
                    [rot] => 5.36851
                    [file] => buildings\human\AltarofKings\AltarofKings.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 155
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => true
                    [animation] => work
                    [aniSpeed] => 1
                )

            [2] => Array
                (
                    [x] => 31.6594
                    [y] => -30.1771
                    [z] => 44.8
                    [scale] => 0.3
                    [rot] => 1.5708
                    [file] => Doodads\Cinematic\GlowingRunes\GlowingRunes3.mdl
                    [red] => 255
                    [green] => 255
                    [blue] => 255
                    [alpha] => 255
                    [pitch] => 0
                    [advanced] => false
                    [animation] => Array
                        (
                        )

                    [aniSpeed] => 50
                )

        )

    [dmgTable] => Array
        (
            [0] => Array
                (
                    [id] => MOD_DMG_TO_UNDEAD
                    [base] => 0.5
                    [add] => 0
                )

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

        )

    [triggers] => Array
        (
            [0] => Array
                (
                    [name] => On Damage
                    [code] => call DestroyEffect( AddSpecialEffectTarget( "Abilities\\Spells\\Human\\HolyBolt\\HolyBoltSpecialArt.mdl", Event.getTarget().getUnit(), "origin" ) )
    call tower.doSpellDamage( Event.getTarget(), 500.00 + I2R( tower.getLevel() ) * 50.00, tower.calcSpellCritNoBonus() )
    call SetUnitState( tower.getUnit(), UNIT_STATE_MANA, GetUnitState( tower.getUnit(), UNIT_STATE_MANA ) + 2.00 + ( 0.10 * I2R( tower.getLevel() ) ) )
                    [values] => Array
                        (
                            [ONDAMAGE_chance] => 0.15
                            [icon] => ReplaceableTextures\CommandButtons\BTNResurrection.blp
                            [visible] => true
                            [name] => Blessed Weapon
                            [short_explain] => This tower deals extra damage and gains mana whenever it damages a creep.
                            [ONDAMAGE_chanceLevelAdd] => 0.0
                            [long_explain] => Everytime this tower damages a creep it has a |cffFFFF8015%|r chance to deal |cffFFFF80500|r spelldamage and gain |cffFFFF802|r mana.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+50|r damage|n|cffFFFF80+0.1|r mana regeneration
                        )

                )

            [1] => Array
                (
                    [name] => Header
                    [code] => globals
        BuffType cedi_CrusaderBuff
    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()
        set cedi_CrusaderBuff = BuffType.create( 8.00, 0.1, true )
        call cedi_CrusaderBuff.setBuffIcon( '@@0@@' )
        call m.addModification( MOD_DAMAGE_ADD_PERC, 0.40, 0.01 )
        call m.addModification( MOD_EXP_RECEIVED, 0.40, 0.01 )
        call cedi_CrusaderBuff.setBuffModifier( m )
        call cedi_CrusaderBuff.setStackingGroup( "cedi_Crusader" )
	endfunction
                    [values] => Array
                        (
                            [icon] => 
                            [visible] => false
                            [name] => 
                            [short_explain] => 
                            [long_explain] => 
                        )

                )

            [2] => Array
                (
                    [name] => Autocast
                    [code] => Array
                        (
                        )

                    [values] => Array
                        (
                            [caster_art] => 
                            [icon] => ReplaceableTextures\CommandButtons\BTNGlyph.blp
                            [AUTOCAST_cooldown] => 4.00
                            [AUTOCAST_numBuffsBeforeIdle] => 5
                            [AUTOCAST_isExtended] => false
                            [long_explain] => This tower casts a buff on a friendly tower that increases attackdamage and experience gain by |cffFFFF8040%|r. The buff lasts |cffFFFF808|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.1|r seconds duration|n|cffFFFF80+1%|r attack damage and experience gain
                            [AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
                            [AUTOCAST_manacost] => 10
                            [AUTOCAST_range] => 600
                            [AUTOCAST_buffType] => cedi_CrusaderBuff
                            [name] => For the God
                            [AUTOCAST_targetSelf] => true
                            [short_explain] => This tower casts a buff that increases attackdamage and experience gain.
                            [AUTOCAST_targetType] => TARGET_TYPE_TOWERS
                            [target_art] => Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl
                            [AUTOCAST_autoRange] => 600
                        )

                )

        )

    [abilities] => Array
        (
        )

    [buffs] => Array
        (
            [0] => Array
                (
                    [id] => @@0@@
                    [derivedFrom] => BHfs
                    [oeValues] => Array
                        (
                            [Bufftip] => For the God
                            [Targetattach] => overhead
                            [Buffubertip] => This tower has an increased attack damage and experience gain.
                            [Targetattachcount] => 1
                            [Buffart] => ReplaceableTextures\CommandButtons\BTNTransmute.blp
                            [TargetArt] => Abilities\Spells\Human\InnerFire\InnerFireTarget.mdl
                            [EditorName] => For the God
                        )

                )

        )

    [units] => Array
        (
        )

    [references] => Array
        (
        )

)