Solar Collector v1
850
|
ID: 197
Family ID:
Author: Boekie / D1000
Rarity: rare
Element: iron
Attack Type: Energy
Attack Range: 800
Attack CD: 1
Damage: 468-468
Abil. Factor: 0.5
Status: Approved
|
Specials:
10% spell crit chance (+0.5%/lvl) x2 spell crit damage +1 mana/lvl +0.02 mana regen/lvl
Release Energy
Deals 4000 damage to the attacked creep and stuns it for 3 seconds (1 seconds on bosses). Level Bonus: +150 damage
Energetic Attack
Each attack costs 1 mana. Without mana the tower can't attack.
|
Download
Toggle Triggers Autocast
caster_art:
AUTOCAST_cooldown: 5
AUTOCAST_numBuffsBeforeIdle: 0
AUTOCAST_isExtended: false
AUTOCAST_autocastType: AC_TYPE_OFFENSIVE_UNIT
AUTOCAST_manacost: 15
AUTOCAST_range: 800
AUTOCAST_buffType: 0
AUTOCAST_targetSelf: true
AUTOCAST_targetType: TARGET_TYPE_CREEPS
target_art:
AUTOCAST_autoRange: 800
private function onAutocast takes Tower tower returns nothing
local Unit creep = Event.getTarget()
local integer size = creep.getSize()
call tower.doSpellDamage(creep,4000+(tower.getLevel()*150),tower.calcSpellCritNoBonus())
call SFXOnUnit("Abilities\\Spells\\Human\\ReviveHuman\\ReviveHuman.mdl",creep.getUnit(),"origin")
if size < SIZE_BOSS then
call cb_stun.applyOnlyTimed(tower,creep,3)
else
call cb_stun.applyOnlyTimed(tower,creep,1)
endif
endfunction
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 (mana < 1) then
call tower.orderStop()
else
call SetUnitState(towerUnit , UNIT_STATE_MANA, mana-1)
endif
set towerUnit = null
endfunction
|
Description:
Latest Upload Comment: