Inexperienced Huntress v1
1000
ID:
338
Family ID:
Author:
cedi
Rarity:
rare
Element:
nature
Attack Type:
Physical
Attack Range:
800
Attack CD:
1.8
Damage:
937-937
Abil. Factor:
0.743
Status:
Approved

Description:

After having to forfeit her belief in Elune she seeked support from the dark and forbidden arts.

Latest Upload Comment:

Restored from 1.10
Specials:
Bounce attack:
   4 targets
   -25% damage per bounce
+2.4% attackspeed/lvl
Shadow Glaive
Whenever this tower attacks it has a 20% chance to gain 200% attackspeed until the next attack. The next attack will also crit for sure and deal 25% more crit damage.

Level Bonus:
+1% crit damage
+8% attack speed
+0.8% chance
Star Glaive
Whenever this tower damages a creep there is a 25% chance to deal an additional 25% of the attack's damage as spell damage.

Level Bonus:
+0.4% chance
+1% attack damage as spell damage
Download

Toggle Triggers

Header

    globals
        //@export
        BuffType cedi_shadowgleve
    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 mod = Modifier.create()
        call mod.addModification( MOD_ATTACKSPEED, 2.0, 0.08 )
        
        set cedi_shadowgleve = BuffType.create( 99.0, 0.0, true )
        call cedi_shadowgleve.setBuffIcon( '@@0@@' )
        call cedi_shadowgleve.setBuffModifier( mod )
    endfunction

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
    local Buff B = tower.getBuffOfType( cedi_shadowgleve )
    
    if B != 0 then
        call tower.addModifiedAttackCrit( 0.00, 1.25 + tower.getLevel() / 100.0 )
        call B.removeBuff()
    endif
    
    if tower.calcChance( 0.2 + tower.getLevel() * 0.008 ) then
        call cedi_shadowgleve.apply( tower, tower, tower.getLevel() )
    endif
endfunction

On Damage

ONDAMAGE_chance: 0.25 ONDAMAGE_chanceLevelAdd: 0.004
function onDamage takes Tower tower returns nothing
    local real r = Event.damage * ( 0.25 + 0.01 * tower.getLevel() ) //( 800.00 + tower.getLevel() * 32.0 )
    call tower.doSpellDamage( Event.getTarget(), r, tower.calcSpellCritNoBonus() )
    //call cb_stun.applyOnlyTimed( tower, Event.getTarget(), 0.25 )
    call SFXOnUnit( "Abilities\\Spells\\NightElf\\Starfall\\StarfallTarget.mdl", Event.getTarget().getUnit(), "origin" )
endfunction