Lesser Skeletal Mage v1
150
ID:
527
Family ID:
Author:
Boekie
Rarity:
uncommon
Element:
darkness
Attack Type:
Decay
Attack Range:
900
Attack CD:
2
Damage:
270-270
Abil. Factor:
0.8
Status:
Approved

Description:

A tower that increases the damage that creeps suffer.

Latest Upload Comment:

Restored from 1.10
Dark Curse
Increases the attack damage target creep receives by 15%, the curse lasts 5 seconds. 

Level Bonus:
+0.6% bonusdamage 
 +0.1 second duration
Download

Toggle Triggers

Autocast

caster_art: AUTOCAST_cooldown: 5 AUTOCAST_numBuffsBeforeIdle: 3 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_BUFF AUTOCAST_manacost: 30 AUTOCAST_range: 900 AUTOCAST_buffType: Boekie_ampDamage AUTOCAST_targetSelf: false AUTOCAST_targetType: TARGET_TYPE_CREEPS target_art: Abilities\Spells\Human\Banish\BanishTarget.mdl AUTOCAST_autoRange: 900
private function onAutocast takes Tower tower returns nothing
local integer lvl = tower.getLevel()

call Boekie_ampDamage.apply(tower,Event.getTarget(),6*lvl) 
endfunction

Header

    globals
    //@export
    BuffType Boekie_ampDamage
    
    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_ATK_DAMAGE_RECEIVED,0.15,0.001) 
    set Boekie_ampDamage=BuffType.create(5,0.1,false)   
    call Boekie_ampDamage.setBuffModifier(m) 
    call Boekie_ampDamage.setStackingGroup("Boekie_ampDamage1") 
    call Boekie_ampDamage.setBuffIcon( '@@0@@' )
    
    
    endfunction