Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 2600
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1100
[moveHeight] => 95
[file] => units\undead\FrostWyrm\FrostWyrm.mdl
[modelScale] => 0.59
[atkType1] => pierce
[weapTp1] => msplash
[acquire] => 700
[rangeN1] => 850
[upgrades] => Array
(
)
[teamColor] => 1
[cool1] => 2.75
[Ubertip] => Unique frost tower with strong slowing abilities.
[green] => 180
[abilList] => Array
(
)
[Qarea1] => 550
[Name] => The Frozen Wyrm
[Missileart] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNFrostWyrm.blp
[red] => 180
[buildingShadow] => Array
(
)
[turnRate] => 1
[Qfact1] => 0.2
[sides1] => 10
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 4920
[bldtm] => 1
)
[settings] => Array
(
[author] => MasterCassim
[element] => ice
[authorDisplay] => MasterCassim
[alpha] => 255
[balanceTip] => |cffCCFF00Splash attack:|n |cffFFFF00550|cffFFFF80 AoE: |cffFF800020%|cffFFFF80 damage|r
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.6
)
[effects] => Array
(
[0] => Array
(
[x] => -3.3012
[y] => 3.60254
[z] => 51.2
[scale] => 1
[rot] => 5.48033
[file] => Abilities\Spells\Items\AIob\AIobTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[1] => Array
(
[x] => -0.360572
[y] => 0.409995
[z] => 0
[scale] => 0.42
[rot] => 0.691044
[file] => Doodads\Cityscape\Props\FountainRuined\FountainRuined.mdl
[red] => 180
[green] => 180
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[2] => Array
(
[x] => 16.5714
[y] => -41.8616
[z] => 0
[scale] => 0.45
[rot] => 3.21141
[file] => Doodads\Cityscape\Props\MagicRunes\MagicRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[3] => Array
(
[x] => -42.3181
[y] => -0.447512
[z] => 0
[scale] => 0.45
[rot] => 3.21141
[file] => Doodads\Cityscape\Props\MagicRunes\MagicRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[4] => Array
(
[x] => -29.286
[y] => -35.1669
[z] => 12.8
[scale] => 0.31
[rot] => 0.111414
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[5] => Array
(
[x] => 42.6178
[y] => -4.84463
[z] => 12.8
[scale] => 0.31
[rot] => 5.75354
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[6] => Array
(
[x] => -37.9639
[y] => 21.3755
[z] => 12.8
[scale] => 0.31
[rot] => 4.78124
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
[7] => Array
(
[x] => -0.877909
[y] => 47.6281
[z] => 0
[scale] => 0.45
[rot] => 3.21141
[file] => Doodads\Cityscape\Props\MagicRunes\MagicRunes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => local integer lvl = tower.getLevel()
local Creep target = Event.getTarget()
local integer slow = R2I((0.27+lvl*0.002)*1000)
local integer dur = R2I(4+lvl*0.24)
if tower.calcChance(0.25+lvl*0.01) then
call cassimSlow2.applyCustomTimed(tower,target,slow,dur)
endif
if tower.calcChance(0.05+lvl*0.002) then
call cassimStun.applyOnlyTimed(tower,target,1.5)
call cb_stun.applyOnlyTimed(tower,target,1.5)
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
[visible] => true
[name] => Freezing Breath
[short_explain] => This tower has a chance to slow creeps it attacks.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Each creep damaged by this tower's attacks has a |cffFFFF8025%|r chance to get slowed by |cffFFFF8027%|r for |cffFFFF804|r seconds and a |cffFFFF805%|r chance to get stunned for |cffFFFF801.5|r seconds.|n|n|cffFF8000Level Bonus:|r|n +|cffFFFF801%|r chance to slow|n +|cffFFFF800.2%|r chance to stun|n +|cffFFFF800.2%|r slow|n +|cffFFFF800.24|rs slow
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType cassimSlow2
BuffType cassimStun
endglobals
//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
local Modifier slow=Modifier.create()
local Modifier mo = Modifier.create()
set cassimStun=BuffType.create(0,0,false) // apply custom timed
call cassimStun.setBuffIcon('@@1@@')
call slow.addModification(MOD_MOVESPEED,0,-0.001)
set cassimSlow2=BuffType.create(0,0,false) // apply custom timed
call cassimSlow2.setBuffIcon('@@0@@')
call cassimSlow2.setBuffModifier(slow)
call cassimSlow2.setStackingGroup("frost_slow2")
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bfro
[oeValues] => Array
(
[Bufftip] => Slowed
[Targetattach] => origin
[Buffubertip] => This unit is slowed and moves slower.
[Buffart] => ReplaceableTextures\CommandButtons\BTNFreezingBreath.blp
[TargetArt] => Abilities\Spells\Other\Drain\ManaDrainTarget.mdl
[EditorName] => !Slow
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => Bfro
[oeValues] => Array
(
[Bufftip] => Slowed
[Targetattach] => origin
[Buffubertip] => This unit is slowed and moves slower.
[Buffart] => Array
(
)
[TargetArt] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
[EditorName] => !Slow
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)