Small Serpent Ward v1
350
ID:
94
Family ID:
Author:
SirCoqaLot.
Rarity:
uncommon
Element:
astral
Attack Type:
Elemental
Attack Range:
1050
Attack CD:
1.35
Damage:
374-374
Abil. Factor:
0.85
Status:
Approved

Description:

Lesser astral tower that buffs a nearby tower, increasing its mana regeneration, maximum mana and spell damage dealt.

Latest Upload Comment:

Restored from 1.10
Snake Charm
Increases the target's maximum mana by 10%, its mana regeneration by 10% and its spell damage by 5%. The buff lasts 5 seconds. 

Level Bonus:
+0.6% mana regeneration 
+0.6% mana 
+0.3% spell damage 
+5 seconds duration at level 25
Download

Toggle Triggers

Autocast

caster_art: AUTOCAST_cooldown: 5 AUTOCAST_numBuffsBeforeIdle: 1 AUTOCAST_isExtended: false AUTOCAST_autocastType: AC_TYPE_ALWAYS_BUFF AUTOCAST_manacost: 10 AUTOCAST_range: 200 AUTOCAST_buffType: 0 AUTOCAST_targetSelf: false AUTOCAST_targetType: TARGET_TYPE_TOWERS target_art: AUTOCAST_autoRange: 200
private function onAutocast takes Tower tower returns nothing
if tower.getLevel()< 25 then
call sir_serpent_buff.applyAdvanced(tower,Event.getTarget(),1+tower.getLevel(),100+tower.getLevel()*6,5)
else
call sir_serpent_buff.applyAdvanced(tower,Event.getTarget(),1+tower.getLevel(),100+tower.getLevel()*6,10)
endif    
endfunction

Header

    globals
    //@export
    BuffType sir_serpent_buff
    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_MANA_PERC,0.0,0.001)
    call m.addModification(MOD_MANA_REGEN_PERC,0.0,0.001)
    call m.addModification(MOD_SPELL_DAMAGE_DEALT,0.0,0.0005)
    set sir_serpent_buff = BuffType.create(0.0,0.0,true)
    call sir_serpent_buff.setBuffIcon('@@0@@')
    call sir_serpent_buff.setBuffModifier(m)
    call sir_serpent_buff.setStackingGroup("sir_serpent_buff")
    endfunction