Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[scaleBull] => 0
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 90
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 900
[moveHeight] => 65
[file] => units\creeps\IceTrollShadowPriest\IceTrollShadowPriest.mdl
[manaN] => 100
[atkType1] => pierce
[modelScale] => 0.5
[weapTp1] => missile
[acquire] => 550
[rangeN1] => 900
[upgrades] => Array
(
)
[cool1] => 1.5
[Ubertip] => With his 15 years he is really young, but 15 years in the ice hell of Northrend is something to show.
[regenMana] => 2.5
[abilList] => Array
(
)
[Name] => Cold Troll
[Missileart] => Abilities\Weapons\ZigguratFrostMissile\ZigguratFrostMissile.mdl
[Art] => ReplaceableTextures\CommandButtons\BTNIceTrollShaman.blp
[buildingShadow] => Array
(
)
[turnRate] => 0.1
[unitSound] => ForestTrollShadowPriest
[sides1] => 1
[uberSplat] => OSMA
[auto] => Array
(
)
[dmgplus1] => 70
[bldtm] => 1
)
[settings] => Array
(
[author] => cedi
[element] => ice
[authorDisplay] => cedi
[alpha] => 255
[balanceTip] => |cffFFFF00-50% |rdmg to undead|n|cffFFFF00+25% |rdmg to orcs|n|cffFFFF00+25% |rdmg to humanoids
[rarity] => uncommon
[version] => 1.0
[abil_factor] => 0.50
)
[effects] => Array
(
[0] => Array
(
[x] => -25.5128
[y] => 4.932
[z] => 0
[scale] => 0.9
[rot] => 2.17433
[file] => Doodads\Northrend\Rocks\North_IceClaw\North_IceClaw4.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DMG_TO_UNDEAD
[base] => -0.5
[add] => 0
)
[1] => Array
(
[id] => MOD_DMG_TO_ORC
[base] => 0.25
[add] => 0
)
[2] => Array
(
[id] => MOD_DMG_TO_HUMANOID
[base] => 0.25
[add] => 0
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType Troll_blizzardslow
Cast Troll_blizzard
endglobals
function OnBlizzard takes DummyUnit U returns nothing
if U.getCaster().calcChance( 0.30 + I2R( U.getCaster().getLevel() ) * 0.01 ) then
call Troll_blizzardslow.applyOnlyTimed( U.getCaster(), Event.getTarget(), 4.00 )
endif
if U.getCaster().calcChance( 0.10 + I2R( U.getCaster().getLevel() ) * 0.001 ) then
call cb_stun.applyOnlyTimed( U.getCaster(), Event.getTarget(), 0.25 )
endif
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 mod2 = Modifier.create()
set Troll_blizzardslow = BuffType.create(0.0,0.0,false)
call mod2.addModification(MOD_MOVESPEED,-0.07,-0.001)
call Troll_blizzardslow.setBuffModifier(mod2)
set Troll_blizzard = Cast.create( '@@0@@', "blizzard", 9.00 )
call Troll_blizzard.setDamageEvent( EventHandler.OnBlizzard )
call Troll_blizzardslow.setStackingGroup("cedi_troll_blizzard")
call Troll_blizzardslow.setBuffIcon( '@@2@@' )
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Autocast
[code] => local unit u = Event.getTarget().getUnit()
call Troll_blizzard.pointCastFromCasterOnPoint( tower, GetUnitX( u ), GetUnitY( u ), 1.00 + I2R( tower.getLevel() ) * 0.1, tower.calcSpellCritNoBonus() )
set u = null
[values] => Array
(
[caster_art] =>
[icon] => ReplaceableTextures\CommandButtons\BTNBlizzard.blp
[AUTOCAST_cooldown] => 10
[AUTOCAST_numBuffsBeforeIdle] => 0
[AUTOCAST_isExtended] => false
[long_explain] => Summons |cffFFFF805|r waves of icy spikes which fall down to earth. Each wave deals |cffFFFF8060|r damage in an AoE of |cffFFFF80200|r. Each time a unit is damaged by this spell there is a chance of |cffFFFF8030%|r to slow the unit by |cffFFFF807%|r for |cffFFFF804|r seconds and a chance of |cffFFFF8010%|r to stun the unit for |cffFFFF800.25|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+6|r damage|n|cffFFFF80+0.1%|r slow|n|cffFFFF80+1%|r chance for slow|n|cffFFFF80+0.1%|r chance for stun
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
[AUTOCAST_manacost] => 95
[AUTOCAST_range] => 900
[AUTOCAST_buffType] => 0
[name] => Blizzard
[AUTOCAST_targetSelf] => true
[short_explain] => Summons a migthy blizzard. Each wave has a chance to slow and stun all enemy units in the target area.
[AUTOCAST_targetType] => 0
[target_art] =>
[AUTOCAST_autoRange] => 900
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => AHbz
[oeValues] => Array
(
[EfctID1] => @@1@@
[Art] => ReplaceableTextures\CommandButtons\BTNBlizzard.blp
[hero] => 0
[levels] => 1
[DataF1] => 99999
[Cost1] => 0
[Rng1] => 99999
[DataA1] => 5
[DataB1] => 60
[DataD1] => 0
[BuffID1] => @@3@@,@@4@@
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => XHbz
[oeValues] => Array
(
[EditorSuffix] => meins
[Buffart] => Array
(
)
)
)
[1] => Array
(
[id] => @@2@@
[derivedFrom] => Bfro
[oeValues] => Array
(
[Bufftip] => Slowed
[Buffubertip] => This unit has decreased movement speed.
[Buffart] => ReplaceableTextures\CommandButtons\BTNFrost.blp
[EditorName] => Slowed
)
)
[2] => Array
(
[id] => @@3@@
[derivedFrom] => BHbd
[oeValues] => Array
(
[EditorSuffix] => meins
[Buffubertip] => This unit is damaged by blizzard.
[Buffart] => ReplaceableTextures\CommandButtons\BTNBlizzard.blp
[EditorName] => Blizzard
)
)
[3] => Array
(
[id] => @@4@@
[derivedFrom] => BHbz
[oeValues] => Array
(
[EditorSuffix] => meins
[Buffart] => Array
(
)
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)