Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[scale] => 1
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[lumbercost] => 2
[goldcost] => 150
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 10000
[moveHeight] => 10
[file] => units\creeps\HumanMage\HumanMage.mdl
[modelScale] => 0.75
[atkType1] => magic
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 900
[upgrades] => Array
(
)
[cool1] => 2
[Ubertip] => Not very experienced mage of elements.
[abilList] => Array
(
)
[Name] => Initiate Elementalist
[Art] => ReplaceableTextures\CommandButtons\BTNBanditMage.blp
[buildingShadow] => Array
(
)
[turnRate] => 0.6
[unitSound] => Priest
[sides1] => 1
[auto] => Array
(
)
[dmgplus1] => 24
[bldtm] => 1
)
[settings] => Array
(
[author] => Kel-Thuzad
[element] => arcane
[authorDisplay] => |CFFF7C67BKel-Thuzad|r
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.075
)
[effects] => Array
(
[0] => Array
(
[x] => 37.4945
[y] => 38.8582
[z] => 0
[scale] => 0.6
[rot] => 1.74533
[file] => Doodads\Icecrown\Water\IceEdge\IceEdge1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -36.1421
[y] => -36.4831
[z] => 6.4
[scale] => 0.25
[rot] => 0.785398
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => 37.2576
[y] => 38.4731
[z] => 6.4
[scale] => 0.25
[rot] => 0.785398
[file] => Doodads\Ruins\Props\RuinsObelisk\RuinsObelisk1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => -37.8159
[y] => -38.502
[z] => 70.4
[scale] => 1
[rot] => 5.23599
[file] => Abilities\Spells\Items\AIfb\AIfbTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 36.2255
[y] => 37.5619
[z] => 70.4
[scale] => 0.6
[rot] => 5.23599
[file] => Abilities\Spells\Items\AIob\AIobTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -40.8535
[y] => -26.2771
[z] => 0
[scale] => 0.4
[rot] => 4.88692
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => -16.1008
[y] => -31.3165
[z] => 0
[scale] => 0.4
[rot] => 4.88692
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -46.6603
[y] => -53.3963
[z] => 0
[scale] => 0.4
[rot] => 3.31613
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => -28.1712
[y] => -45.2964
[z] => 0
[scale] => 0.5
[rot] => 1.74533
[file] => Doodads\Outland\Rocks\RubbleRock\RubbleRock3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => 39.5798
[y] => 62.4536
[z] => 0
[scale] => 0.4
[rot] => 3.31613
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock2.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => 14.0961
[y] => 62.5571
[z] => -6.4
[scale] => 0.3
[rot] => 3.31613
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[11] => Array
(
[x] => 26.9467
[y] => 27.2376
[z] => 6.4
[scale] => 0.2
[rot] => 0.174533
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock0.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 KelSlow
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 KelSlow=BuffType.create(0,0,false) // apply custom timed
call KelSlow.setBuffIcon('@@0@@')
call KelSlow.setBuffModifier(slow)
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Attack
[code] => local integer randomSpellID=GetRandomInt(1,3)
local Creep c = Event.getTarget()
local Unit u
local Iterate it
if randomSpellID<3 then
call SFXAtUnit("Abilities\\Spells\\Other\\Incinerate\\FireLordDeathExplode.mdl",c.getUnit())
call tower.doSpellDamageAoEUnit(c,200,190+tower.getLevel()*7.6,tower.calcSpellCritNoBonus(),0)
else
set it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_CREEPS,c,250)
loop
set u = it.next()
exitwhen u == 0
call KelSlow.applyCustomTimed(tower,u,100,3)
endloop
call SFXAtUnit("Abilities\\Spells\\Undead\\FrostNova\\FrostNovaTarget.mdl",c.getUnit())
call tower.doSpellDamageAoEUnit(c,250,125+tower.getLevel()*5,tower.calcSpellCritNoBonus(),0)
endif
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNDizzy.blp
[visible] => true
[name] => Elemental Chaos
[short_explain] => This wizard casts a spell when he attacks
[ONATTACK_chance] => 1.0
[ONATTACK_chanceLevelAdd] => 0.0
[long_explain] => Elementalist casts one of the following spells on attack:|n|n|cffFF8000Fire Blast:|r |cffFFFF8066%|r chance, |cffFFFF80200|r AoE, |cffFFFF80190|r damage|n|cffFF8000Frost Nova:|r |cffFFFF8033%|r chance, |cffFFFF80250|r AoE, |cffFFFF80125|r damage, |cffFFFF8010%|r slow for |cffFFFF803|r seconds|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+7.6|r damage (Fire Blast)|n|cffFFFF80+5|r damage (Frost Nova)
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bfro
[oeValues] => Array
(
[Buffubertip] => This unit is slowed.
[Buffart] => ReplaceableTextures\CommandButtons\BTNFrost.blp
[TargetArt] => Abilities\Spells\Other\FrostDamage\FrostDamage.mdl
[EditorName] => Slowed
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => KelSlow
)
)
)