Cloud Warrior v1
70
ID:
272
Family ID:
Author:
i_mOck_death
Rarity:
uncommon
Element:
storm
Attack Type:
Energy
Attack Range:
840
Attack CD:
2.1
Damage:
58-127
Abil. Factor:
.8
Status:
Approved

Description:

A warrior trained high in the sky.

Latest Upload Comment:

Restored from 1.10
Specials:
Bounce attack:
   2 targets
   -0% damage per bounce
Lightning Strike
Whenever this tower's attack does not bounce it shoots down a delayed lightning bolt onto the target. The lightning bolt deals 100 Energy damage.

Level Bonus:
+5 damage
Download

Toggle Triggers

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
    local Unit creep = Event.getTarget()
    local integer cid = creep.getUID()
    if Event.isMainTarget()  == true then
        set tower.userInt = 1
    else
        set tower.userInt = 0
    endif
    call TriggerSleepAction(.4)
    if tower.userInt == 1 and creep.getUID() == cid then
         call SFXAtUnit("Abilities\\Spells\\Other\\Monsoon\\MonsoonBoltTarget.mdl",creep.getUnit())
         call tower.doAttackDamage(creep,100+(5*tower.getLevel()),tower.calcAttackMulticrit(0.0,0.0,0))
    endif
endfunction

On Tower Creation

function onCreate takes Tower tower returns nothing
set tower.userInt = 0
endfunction