Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 45
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[file] => Doodads\Felwood\Rocks\FelwoodFissure\FelwoodFissure0.mdl
[atkType1] => chaos
[modelScale] => 0.35
[weapTp1] => missile
[acquire] => 950
[rangeN1] => 950
[upgrades] => Array
(
)
[cool1] => 1.4
[Ubertip] => Basic Tower that has a small chance to root creeps it attacks.
[abilList] => Array
(
)
[Name] => Rooted Chasm
[Missileart] => Abilities\Spells\NightElf\TargetArtLumber\TargetArtLumber.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNThorns.blp
[buildingShadow] => Array
(
)
[sides1] => 1
[uberSplat] => ESMB
[auto] => Array
(
)
[dmgplus1] => 46
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => nature
[authorDisplay] => SirCoqaLot.
[balanceTip] => Array
(
)
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.75
)
[effects] => Array
(
[0] => Array
(
[x] => 8.60264
[y] => 4.41222
[z] => 0
[scale] => 0.4
[rot] => 6.13054
[file] => Abilities\Spells\NightElf\EntangleMine\Roots.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Tower Creation
[code] => set tower.userInt = 120 //base entagle dps
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Creep target = Event.getTarget()
if target.getSize() < SIZE_BOSS and target.getSize() != SIZE_AIR then
call chasm_entangle.apply(tower, target, 0)
call target.reorder()
endif
[values] => Array
(
[ONDAMAGE_chance] => 0.125
[icon] => ReplaceableTextures\CommandButtons\BTNEntanglingRoots.blp
[visible] => true
[name] => Entangle
[short_explain] => This tower has a small chance to entangle units it damages.
[ONDAMAGE_chanceLevelAdd] => 0.002
[long_explain] => Has a chance of |cffffff8012.5%|r to entangle the attacked target for |cffffff801.5|r seconds. Entangled targets are immobile and suffer |cffffff80120|r damage per second. Cannot entangle air or boss units. |n|n|cffFF8000Level Bonus:|r|n|cffffff80+0.2%|r chance to entangle|n|cffffff80+6|r damage per second
)
)
[2] => Array
(
[name] => Header
[code] => globals
//@export
BuffType chasm_entangle
endglobals
function chasmEntangleDamage takes Buff b returns nothing
local Tower t = b.getCaster()
local Creep c = b.getBuffedUnit()
call t.doSpellDamage(c, t.userInt + t.userInt * t.getLevel() / 20, t.calcSpellCritNoBonus())
endfunction
//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
set chasm_entangle = BuffType.createDuplicate(cb_stun, 1.5, 0.75, false)
call chasm_entangle.setBuffIcon('@@0@@')
call chasm_entangle.addPeriodicEvent(chasmEntangleDamage, 1.0)
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BEer
[oeValues] => Array
(
[Bufftip] => Entangle
[Buffubertip] => This unit is entangled; it cannot move and takes damage over time.
[Buffart] => ReplaceableTextures\CommandButtons\BTNEntanglingRoots.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => chasm_entangle
)
)
)