Magnetic Field v1
1000
lvl: 40

ID:

197

Author:

DaveMatthews

Rarity:

rare

Status:

Approved

Description:

Increases buff duration and reduces debuff duration of nearby towers.

Latest Upload Comment:

Restored from 1.10
Magnetic Field
Grants +10% buff duration and -15% debuff duration to all towers within 200 range.
Download

Toggle Triggers

Header

goldcost: 500
    globals
    BuffType dave_magnetic
    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_magnetic = BuffType.createAuraEffectType(true)
    call m.addModification(MOD_DEBUFF_DURATION,-0.15,0)
    call m.addModification(MOD_BUFF_DURATION,0.1,0)
    call dave_magnetic.setBuffModifier(m)
    call dave_magnetic.setBuffIcon('@@0@@')
    endfunction

Tower Aura

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