Sea Turtle v1
1000
ID:
282
Family ID:
Author:
i_mOck_death
Rarity:
rare
Element:
ice
Attack Type:
Energy
Attack Range:
900
Attack CD:
0.8
Damage:
1-1
Abil. Factor:
0
Status:
Approved

Description:

Become one with water. Become a turtle.

Latest Upload Comment:

Restored from 1.10
Specials:
+64 mana/lvl
Splash
Every attack the turtle restores 64 mana. Mana regeneration will increase mana restored. Mana degeneration will not decrease mana restored below 64.

Level Bonus:
+2.56 mana restored
Aqua Breath
This tower deals Energy damage equal to its mana.
Cold Blooded
Every second this tower loses 1.75% of its max mana.
Download

Toggle Triggers

On Attack

ONATTACK_chance: 1.0 ONATTACK_chanceLevelAdd: 0.0
function onAttack takes Tower tower returns nothing
            
local unit towerUnit = tower.getUnit()
    local real mana = GetUnitState(towerUnit, UNIT_STATE_MANA)
  
    if tower.getProp_ManaRegPercBonus() > 0 then
        call SetUnitState(towerUnit , UNIT_STATE_MANA, mana + (64+tower.getLevel()*2.56) * (1. + tower.getProp_ManaRegPercBonus()))
    else
        call SetUnitState(towerUnit , UNIT_STATE_MANA, mana + (64))
    endif
    set towerUnit = null
        
endfunction

On Damage

ONDAMAGE_chance: 1.0 ONDAMAGE_chanceLevelAdd: 0.0
function onDamage takes Tower tower returns nothing
            
local Unit creep = Event.getTarget()
    call tower.doAttackDamage(creep, GetUnitState(tower.getUnit(), UNIT_STATE_MANA),tower.calcAttackMulticrit(0.0,0.0,0))
        
endfunction

Periodic

PERIODIC_period: 1
function periodic takes Tower tower returns nothing
            
call tower.subtractMana(GetUnitState(tower.getUnit(), UNIT_STATE_MAX_MANA)*.0175, false)
        
endfunction