Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[Farea1] => 150
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNGhost.blp
[turnRate] => 3
[dmgplus1] => 1653
[bldtm] => 1
[goldcost] => 2600
[sides1] => 1
[launchZ] => 90
[acquire] => 1000
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Spirit of Winter
[weapTp1] => msplash
[MissileHoming] => 1
[file] => units\creeps\BansheeGhost\BansheeGhost.mdl
[uberSplat] => YTDD
[Harea1] => 325
[Missilespeed] => 1500
[Qarea1] => 500
[Qfact1] => 0.2
[Missileart] => Abilities\Weapons\FrostWyrmMissile\FrostWyrmMissile.mdl
[dice1] => 1
[RngBuff1] => 250
[Hfact1] => 0.6
[modelScale] => 0.7
[rangeN1] => 1000
[atkType1] => pierce
[cool1] => 2.5
[Ubertip] => The Spirit of Winter embodies the relentless wrath and fragile beauty of the season. Its very presence chills all who encounter it to the bone.
[abilList] => Array
(
)
[moveHeight] => 30
[buildingShadow] => Array
(
)
[castbsw] => 0.83
[targs1] => Array
(
)
[weapsOn] => 1
[castpt] => 0.5
)
[settings] => Array
(
[balanceTip] => |cffCCFF00Splash attack:|n |cffFFFF00150|r AoE: |cff00FF00100%|r damage|r|n |cffFFFF00325|r AoE: |cffFFFF0060%|r damage|r|n |cffFFFF00500|r AoE: |cffFF800020%|r damage|r
[abil_factor] => 0.35
[author] => Moppy
[alpha] => 255
[authorDisplay] => |c006969FFMoppy|r
[version] => 1.0
[element] => ice
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => 25.1303
[y] => -18.9713
[z] => -44.8
[scale] => 0.7
[rot] => 0
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => 5.82048
[y] => 17.5629
[z] => -44.8
[scale] => 0.7
[rot] => 1.5708
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -30.6845
[y] => -1.2491
[z] => -44.8
[scale] => 0.7
[rot] => 3.14159
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -11.7519
[y] => -37.803
[z] => -44.8
[scale] => 0.7
[rot] => 4.71239
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 14.515
[y] => -52.0424
[z] => -32
[scale] => 0.525
[rot] => 4.36332
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -39.2273
[y] => -39.7574
[z] => -25.6
[scale] => 0.525
[rot] => 4.36332
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -39.6636
[y] => 18.6202
[z] => -25.6
[scale] => 0.525
[rot] => 2.61799
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -43.2141
[y] => -44.7411
[z] => -51.2
[scale] => 0.3
[rot] => 5.58505
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -57.0713
[y] => -14.9839
[z] => -51.2
[scale] => 0.3
[rot] => 4.71239
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => 49.5354
[y] => -14.4213
[z] => -44.8
[scale] => 0.3
[rot] => 1.5708
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 38.5707
[y] => -47.4186
[z] => 0
[scale] => 0.15
[rot] => 0.872665
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => -6.87744
[y] => 36.1538
[z] => 0
[scale] => 0.3
[rot] => 0
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => 36.4741
[y] => 11.1376
[z] => -25.6
[scale] => 0.525
[rot] => 0
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => -52.587
[y] => 24.7934
[z] => -19.2
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => 42.2714
[y] => 19.7989
[z] => -12.8
[scale] => 0.3
[rot] => 3.92699
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal0.mdl
[red] => 1
[green] => 200
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => -45.9331
[y] => -10.1338
[z] => -32
[scale] => 0.525
[rot] => 1.74533
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => 40.0851
[y] => -32.9922
[z] => -32
[scale] => 0.525
[rot] => 0
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => 44.5784
[y] => -10.3059
[z] => -32
[scale] => 0.525
[rot] => 0
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => -18.3071
[y] => -55.0985
[z] => -32
[scale] => 0.525
[rot] => 4.36332
[file] => Doodads\Icecrown\Rocks\IceBlock\IceBlock1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType moppy_spirit_of_winter_breeze
BuffType moppy_spirit_of_winter_aura
endglobals
function moppy_spirit_of_winter_movespeed_create takes Buff b returns nothing
local Creep creep = b.getBuffedUnit()
set b.userReal = RMaxBJ(0, 1.0 - (GetUnitMoveSpeed(creep.getUnit()) / GetUnitDefaultMoveSpeed(creep.getUnit()))) * (0.25 + (0.005 * b.getLevel()))
call creep.modifyProperty(MOD_ATK_DAMAGE_RECEIVED, b.userReal)
endfunction
function moppy_spirit_of_winter_movespeed_update takes Buff b returns nothing
local Creep creep = b.getBuffedUnit()
local real NewValue = RMaxBJ(0, 1.0 - (GetUnitMoveSpeed(creep.getUnit()) / GetUnitDefaultMoveSpeed(creep.getUnit()))) * (0.25 + (0.005 * b.getLevel()))
if NewValue - b.userReal != 0 then
call creep.modifyProperty(MOD_ATK_DAMAGE_RECEIVED, b.userReal + NewValue)
endif
set b.userReal = NewValue
endfunction
function moppy_spirit_of_winter_movespeed_destroy takes Buff b returns nothing
local Creep creep = Event.getTarget()
call creep.modifyProperty(MOD_ATK_DAMAGE_RECEIVED, -b.userReal)
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 b = Modifier.create()
set moppy_spirit_of_winter_breeze = BuffType.create(0.0, 0.0, false)
call b.addModification(MOD_MOVESPEED, -0.15, -0.006)
call moppy_spirit_of_winter_breeze.setBuffModifier(b)
call moppy_spirit_of_winter_breeze.setBuffIcon('@@0@@')
set moppy_spirit_of_winter_aura = BuffType.createAuraEffectType(false)
call moppy_spirit_of_winter_aura.addEventOnCreate(EventHandler.moppy_spirit_of_winter_movespeed_create)
call moppy_spirit_of_winter_aura.addPeriodicEvent(EventHandler.moppy_spirit_of_winter_movespeed_update, 1.0)
call moppy_spirit_of_winter_aura.addEventOnCleanup(EventHandler.moppy_spirit_of_winter_movespeed_destroy)
call moppy_spirit_of_winter_aura.setBuffIcon('@@1@@')
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => call moppy_spirit_of_winter_breeze.applyCustomTimed(tower, Event.getTarget(), tower.getLevel(), 5.0)
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
[name] => Winter's Breeze
[short_explain] => Slows creeps on hit.
[ONDAMAGE_chanceLevelAdd] => 0.0
[long_explain] => The Spirits's chilly breath slows creeps hit by |cffFFFF8015%|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r slow
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 1
[visible] => true
[AURA_auraEffect] => moppy_spirit_of_winter_aura
[AURA_levelAdd] => 1
[AURA_power] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNDarkRitual.blp
[AURA_targetType] => TARGET_TYPE_CREEPS
[long_explain] => The Spirit's frigid presence causes creeps within |cffFFFF801000|r range to take an additional |cffFFFF80+0.25%|r attack damage for every |cffFFFF801%|r of movement speed they are missing.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.005%|r damage taken.
[AURA_targetSelf] => false
[name] => Winter's Curse
[AURA_level] => 0
[short_explain] => Creeps within range take additional attack damage based on how much movement speed they are missing.
[AURA_auraRange] => 1000
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => BNab
[oeValues] => Array
(
[EditorName] => Winter's Breeze
[Buffubertip] => Slowed.
[TargetArt] => Abilities\Spells\Other\FrostDamage\FrostDamage.mdl
[Bufftip] => Winter's Breeze
[Buffart] => ReplaceableTextures\CommandButtons\BTNBreathOfFrost.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => BNab
[oeValues] => Array
(
[Targetattach] => head
[EditorName] => Winter's Curse
[Buffubertip] => Taking increased attack damage based on missing movement speed.
[TargetArt] => Abilities\Spells\Undead\Curse\CurseTarget.mdl
[Bufftip] => Winter's Curse
[Buffart] => ReplaceableTextures\CommandButtons\BTNDarkRitual.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
[lightning] => Array
(
)
)