Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 34
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 900
[targCount1] => 5
[file] => Doodads\Northrend\Structures\NorthrendRubble\NorthrendRubble0.mdl
[weapTp1] => missile
[atkType1] => chaos
[Missilearc] => 0.6
[acquire] => 700
[rangeN1] => 900
[upgrades] => Array
(
)
[cool1] => 2
[Ubertip] => Tower with a chance to slow the movement speed of a unit on attacks.
[green] => 100
[abilList] => Array
(
)
[Name] => Haunted Rubble
[Missileart] => Abilities\Weapons\IllidanMissile\IllidanMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNCripple.blp
[red] => 100
[buildingShadow] => Array
(
)
[blue] => 100
[sides1] => 2
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 60
[bldtm] => 1
)
[settings] => Array
(
[author] => KublaiKhan1/Velex
[element] => darkness
[authorDisplay] => KublaiKhan1/Velex
[balanceTip] => Array
(
)
[rarity] => common
[version] => 1.0
[abil_factor] => .85
)
[effects] => Array
(
[0] => Array
(
[x] => 11.1565
[y] => -16.7399
[z] => 0
[scale] => 0.8
[rot] => 4.1818
[file] => Doodads\LordaeronSummer\Props\SkullPile\SkullPile2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType velex_slow
endglobals
//The init function
private function init takes nothing returns nothing
local Modifier slow=Modifier.create()
call slow.addModification(MOD_MOVESPEED,0,-0.001)
set velex_slow=BuffType.create(0,0,false) // apply custom timed
call velex_slow.setBuffIcon('@@0@@')
call velex_slow.setBuffModifier(slow)
call velex_slow.setStackingGroup("velex_slow1")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Attack
[code] => local Unit creep = Event.getTarget()
local integer size = creep.getSize()
local boolean calc
if size == SIZE_BOSS then
set calc=tower.calcChance((.15+tower.getLevel()*0.0015)*2/3)
else
set calc=tower.calcChance(.15+tower.getLevel()*0.0015)
endif
if(calc==true) then
call velex_slow.applyCustomTimed(tower,Event.getTarget(),R2I(0.15*1000),5)
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNCripple.blp
[visible] => true
[name] => Atrophy
[short_explain] => Reduces movement speed of target.
[ONATTACK_chance] => 1
[ONATTACK_chanceLevelAdd] => 0
[long_explain] => When this tower attacks a creep it has a |cffFFFF8015%|r (|cffFFFF8010%|r for bosses) chance to slow it by |cffFFFF8015%|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.15%|r (|cffFFFF800.1%|r for bosses) chance
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bcri
[oeValues] => Array
(
[Bufftip] => Atrophy
[Buffubertip] => This unit is suffering from atrophy; its movement speed is reduced.
[Buffart] => ReplaceableTextures\CommandButtons\BTNCripple.blp
[EditorName] => Atrophy
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => velex_slow
)
)
)