Holy Energy v1
1500
ID:
214
Family ID:
Author:
DaveMatthews
Rarity:
rare
Element:
astral
Attack Type:
Energy
Attack Range:
1000
Attack CD:
1.4
Damage:
744-744
Abil. Factor:
0.35
Status:
Approved

Description:

Emanates the brightest light ever created.

Latest Upload Comment:

Restored from 1.10
Specials:
+0.1 mana regen/lvl
+1% buff duration/lvl
Sunlight Burst
Stuns all towers and all enemies in 1000 range for 1.5 seconds. 

Level Bonus:
+0.02 seconds
Glimmer of Hope
Reduces the debuff duration of all towers in 500 range by 15%. 

Level Bonus:
+0.2% debuff duration reduction
Download

Toggle Triggers

Autocast

caster_art: Abilities\Spells\Other\Awaken\Awaken.mdl AUTOCAST_cooldown: 20 AUTOCAST_numBuffsBeforeIdle: 0 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_IMMEDIATE AUTOCAST_manacost: 90 AUTOCAST_range: 1000 AUTOCAST_buffType: 0 AUTOCAST_targetSelf: false AUTOCAST_targetType: 0 target_art: AUTOCAST_autoRange: 850
private function onAutocast takes Tower tower returns nothing
local Iterate it = Iterate.overUnitsInRangeOfCaster(tower,TARGET_CREEPS,1000)
local Unit u
local integer level= tower.getLevel()
loop
    set u = it.next()
    exitwhen u == 0
    call dave_sunlight.apply(tower,u,level)
endloop
set it = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TOWERS,1000)   
loop
    set u = it.next()
    exitwhen u == 0
    call dave_sunlight.apply(tower,u,level)
endloop
endfunction

Header

    globals
    BuffType dave_glimmer
    BuffType dave_sunlight
    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 dave_glimmer = BuffType.createAuraEffectType(true)
    call m.addModification(MOD_DEBUFF_DURATION,-0.15,-0.002)
    call dave_glimmer.setBuffModifier(m)
    call dave_glimmer.setBuffIcon('@@1@@')
    
    set dave_sunlight = BuffType.createDuplicate(cb_stun, 1.5, 0.02, false)
    call dave_sunlight.setBuffIcon('@@2@@')

    endfunction

Tower Aura

AURA_auraEffect: dave_glimmer AURA_power: 1 AURA_level: 1 AURA_auraRange: 500 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 1 AURA_powerAdd: 1 AURA_targetSelf: true