Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 800
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1100
[file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw7.mdl
[atkType1] => pierce
[modelScale] => 0.75
[weapTp1] => missile
[acquire] => 1100
[rangeN1] => 1100
[upgrades] => Array
(
)
[cool1] => 1.4
[Ubertip] => Advanced frost tower that will freeze attacked creeps, stunning them and reducing their health regeneration.
[abilList] => Array
(
)
[Name] => Chilled Spire
[Missileart] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNFreezingBreath.blp
[buildingShadow] => Array
(
)
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 800
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => ice
[authorDisplay] => SirCoqaLot.
[balanceTip] => Array
(
)
[rarity] => rare
[version] => 1.0
[abil_factor] => 0.75
)
[effects] => Array
(
[0] => Array
(
[x] => 0.0746423
[y] => 0.220207
[z] => 0
[scale] => 0.45
[rot] => 4.83306
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal7.mdl
[red] => 180
[green] => 180
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => 31.9511
[y] => 29.1606
[z] => 57.6
[scale] => 1.25
[rot] => 3.35103
[file] => Abilities\Spells\Items\AIob\AIobTarget.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 Damage
[code] => local Creep creep = Event.getTarget()
local integer lvl = tower.getLevel()
local real scalar = 1.0
if creep.getSize() >= SIZE_BOSS then
set scalar = 0.5
endif
if GetRandomReal(0,1) < scalar and not creep.isImmune() and creep.getBuffOfType(sirFrost) == 0 then
call sirFrost.applyCustomTimed(tower,creep,R2I(lvl * scalar),(1+lvl*0.05) * scalar )
call SFXAtUnit("Abilities\\Spells\\Undead\\FreezingBreath\\FreezingBreathTargetArt.mdl",creep.getUnit())
endif
// call SFXAtUnit("Abilities\\Spells\\Undead\\FreezingBreath\\FreezingBreathTargetArt.mdl",creep.getUnit())
[values] => Array
(
[ONDAMAGE_chance] => 0.20
[icon] => ReplaceableTextures\CommandButtons\BTNFrost.blp
[visible] => true
[name] => Cold
[short_explain] => This tower has a chance to freeze the attacked creep and reduce its health regeneration.
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] => This tower has a |cffFFFF8020%|r chance on attack to freeze the attacked creep and reduce its health regeneration by |cffFFFF8020%|r. The freeze lasts for |cffFFFF801|r second and cannot be reapplied on already frozen units. Chance to proc, health regeneration reduction and freeze duration are halved for bosses. Does not affect immune creeps. |n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r chance|n|cffFFFF80+0.05|r seconds duration|n|cffFFFF80-0.6%|r hp regen
)
)
[1] => Array
(
[name] => Header
[code] => globals
//@export
BuffType sirFrost
endglobals
private function pauseAnim takes Buff b returns nothing
call SetUnitTimeScale(b.getBuffedUnit().getUnit(),0)
endfunction
private function unPauseAnim takes Buff b returns nothing
call SetUnitTimeScale(b.getBuffedUnit().getUnit(),1.0)
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
local Modifier regdown = Modifier.create()
set sirFrost = BuffType.createDuplicate(cb_stun,-1,0,false)
call sirFrost.setBuffIcon('@@0@@')
call sirFrost.addEventOnCreate(pauseAnim)
call sirFrost.addEventOnCleanup(unPauseAnim)
// call sirFrost.addEventOnCleanup(regup)
// call sirFrost.addEventOnCreate(regdown)
call regdown.addModification(MOD_HP_REGEN_PERC, -(20)/100.0, -(0.6/100.0) )
call sirFrost.setBuffModifier(regdown)
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Bfrz
[oeValues] => Array
(
[Bufftip] => Frost
[Buffubertip] => This unit is frozen solid; it cannot move.
[Buffart] => ReplaceableTextures\CommandButtons\BTNFrost.blp
[TargetArt] => Abilities\Spells\Undead\FreezingBreath\FreezingBreathTargetArt.mdl
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => sirFrost
)
)
)