Mindleecher v1 750
lvl: 29
|
ID: 206
Author: Majildian
Rarity: rare
Status: Approved
|
Siphon Knowledge
Removes a flat 15 to 60 exp from a random tower in range and gives it to the caster. |
Download
Toggle Triggers Autocast
caster_art:
AUTOCAST_cooldown: 30
AUTOCAST_numBuffsBeforeIdle: 0
goldcost: 750
AUTOCAST_isExtended: false
AUTOCAST_autocastType: AC_TYPE_ALWAYS_IMMEDIATE
AUTOCAST_manacost: 0
AUTOCAST_range: 450
AUTOCAST_buffType: 0
AUTOCAST_targetSelf: false
AUTOCAST_targetType: 0
target_art:
AUTOCAST_autoRange: 0
local Tower tower = itm.getCarrier()
local Iterate it = Iterate.overUnitsInRangeOfCaster(tower,TARGET_TOWERS,450)
local Unit next
loop
set next = it.nextRandom()
exitwhen next == 0
exitwhen next != tower and next.getExp() > 0
endloop
if next != 0 then
call it.destroy()
call tower.addExpFlat(next.removeExpFlat(I2R(GetRandomInt(15,60))))
call SFXOnUnit("Abilities\\Spells\\Undead\\AnimateDead\\AnimateDeadTarget.mdl", next.getUnit(), "head")
call SFXOnUnit("Abilities\\Spells\\Undead\\DeathCoil\\DeathCoilSpecialArt.mdl", tower.getUnit(), "head")
endif
|
Description:
Latest Upload Comment: