Lightning Totem v1
700
ID:
604
Family ID:
Author:
Boekie
Rarity:
rare
Element:
storm
Attack Type:
Energy
Attack Range:
800
Attack CD:
0.7
Damage:
351-351
Abil. Factor:
0.7
Status:
Approved

Description:

This totem uses ancient magic to boost lightning spells.

Latest Upload Comment:

Restored from 1.10
Ancient Magic
Increases spell crit chance of towers in 500 range by 10%. 

Level Bonus:
+0.2% spell crit chance
Download

Toggle Triggers

Header

    globals
    //@export  
    BuffType boekie_spellCrit_aura 
    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 boekie_spellCrit_aura = BuffType.createAuraEffectType(true)  
    call m.addModification(MOD_SPELL_CRIT_CHANCE,0.10,0.001)  // apply custom
    call boekie_spellCrit_aura.setBuffModifier(m)  
    call boekie_spellCrit_aura.setStackingGroup("boekie_spellCrit_aura")  
    call boekie_spellCrit_aura.setBuffIcon('@@0@@')  
    endfunction

Tower Aura

AURA_auraEffect: boekie_spellCrit_aura AURA_power: 0 AURA_level: 0 AURA_auraRange: 500 AURA_targetType: TARGET_TYPE_TOWERS AURA_levelAdd: 2 AURA_powerAdd: 2 AURA_targetSelf: false