Forcefield Generator v1
1600
lvl: 67

ID:

126

Author:

drol

Rarity:

rare

Status:

Approved

Description:

Negates all offensive magic in an area.

Latest Upload Comment:

Restored from 1.10
Forcefield
Reduces the duration of debuffs cast on the carrier and all towers within 200 range of the carrier by 15%.

Level Bonus:
-1% debuff duration
Download

Toggle Triggers

Header

goldcost: 1600
    globals
        BuffType drol_debuffAura
    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_DEBUFF_DURATION,-0.15,-0.01)
    
        set drol_debuffAura = BuffType.createAuraEffectType(true)
        call drol_debuffAura.setBuffIcon('@@0@@')
        
        call drol_debuffAura.setBuffModifier(m) 
    endfunction

Tower Aura

AURA_levelAdd: 1 AURA_targetType: TARGET_TYPE_TOWERS AURA_auraRange: 200 AURA_powerAdd: 1 AURA_targetSelf: true goldcost: 0 AURA_auraEffect: drol_debuffAura AURA_power: 0 AURA_level: 0