Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 100
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1200
[file] => Doodads\Icecrown\Rocks\Ice_Rock\Ice_Rock4.mdl
[atkType1] => normal
[modelScale] => 0.8
[weapTp1] => missile
[acquire] => 800
[rangeN1] => 760
[upgrades] => Array
(
)
[cool1] => 2.3
[Ubertip] => Iced formation radiating blistering cold.
[abilList] => Array
(
)
[launchZ] => 30
[Name] => Frosty Rock
[Missileart] => Abilities\Weapons\DragonHawkMissile\DragonHawkMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNWellSpring.blp
[buildingShadow] => Array
(
)
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 236
[bldtm] => 1
)
[settings] => Array
(
[author] => SirCoqaLot.
[element] => ice
[authorDisplay] => SirCoqaLot.
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.8
)
[effects] => Array
(
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Tower Creation
[code] => set tower.userInt = 2
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local Creep creep = Event.getTarget()
call sir_frost_glacier.applyCustomTimed(tower,creep,70*(1+tower.getLevel()/20),3)
call tower.getOwner().displayFloatingTextX(I2S(R2I(tower.userInt))+"% Chance",tower,50,150,255,255,0.05,2,3)
if tower.calcChance(tower.userInt*0.01) == true and not Event.getTarget().isImmune() then
call cb_stun.applyOnlyTimed(tower,Event.getTarget(),0.8)
call tower.doSpellDamage(creep,100*(1+tower.getLevel()*0.02),tower.calcSpellCritNoBonus())
set tower.userInt = 2
else
set tower.userInt = tower.userInt +2
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
[visible] => true
[name] => Glacial Wrath
[short_explain] => Attacked creeps are slowed and each attack increases the chance to stun the traget.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => Attacks of this tower slow the attacked creep by |cffFFFF807%|r for |cffFFFF803|r seconds. Each attack has a |cffFFFF802%|r to deal |cffFFFF80100|r spelldamage and stun the target for |cffFFFF800.8|r seconds. The chance to stun the target is increased by |cffFFFF802%|r per attack and resets after a target is stunned.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2|r spelldamage |n|cffFFFF80+0.35%|r slow
)
)
[2] => Array
(
[name] => Header
[code] => globals
//@export
BuffType sir_frost_glacier
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 m = Modifier.create()
set sir_frost_glacier = BuffType.create(0,0,false)
call sir_frost_glacier.setBuffIcon('@@0@@')
call m.addModification(MOD_MOVESPEED,0,-0.001)
call sir_frost_glacier.setBuffModifier(m)
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Binv
[oeValues] => Array
(
[Bufftip] => Glacial Wrath
[Targetattach] => chest
[Buffubertip] => This tower is Slowed by a Glacier.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
[TargetArt] => Abilities\Spells\Undead\FrostArmor\FrostArmorDamage.mdl
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => sir_frost_glacier
)
)
)