Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSpell_Nature_AstralRecalGroup.blp
[bldtm] => 1
[dmgplus1] => 0
[goldcost] => 4000
[unitSound] => ArcaneObservatory
[sides1] => 0
[manaN] => 1000
[acquire] => 950
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Cosmic Cube
[file] => units\nightelf\Wisp\Wisp.mdl
[uberSplat] => YTDO
[dice1] => 1
[regenMana] => 10
[modelScale] => 0.6
[rangeN1] => 450
[atkType1] => normal
[cool1] => 2
[Ubertip] => It's astronomical, dude.
[scaleBull] => 0
[abilList] => Array
(
)
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[teamColor] => 3
)
[settings] => Array
(
[balanceTip] => |cffFFFF00+10 |rmana/lvl|n|cffFFFF00+5% |rmana regen/lvl
[abil_factor] => 0
[author] => Ashbringer
[alpha] => 255
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => celestial
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => -0.174889
[y] => -0.187694
[z] => 6.4
[scale] => 0.16
[rot] => 0.785398
[file] => Doodads\Ruins\Props\Ruins_NagaCircle\Ruins_NagaCircle.mdl
[red] => 255
[green] => 255
[blue] => 55
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.0895667
[y] => 0.480354
[z] => 44.8
[scale] => 2.1
[rot] => 4.81984
[file] => Abilities\Weapons\FaerieDragonMissile\FaerieDragonMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 6
)
[2] => Array
(
[x] => -3.65458
[y] => 48.087
[z] => 6.4
[scale] => 0.17
[rot] => 5.49779
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => 0.0181294
[y] => 0.0961923
[z] => 19.2
[scale] => 1.95
[rot] => 4.24115
[file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
[red] => 255
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 11.4528
[y] => 11.1053
[z] => 76.8
[scale] => 0.11
[rot] => 3.92699
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 41.4367
[y] => -41.5288
[z] => 38.4
[scale] => 1
[rot] => 2.3562
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 155
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -42.8766
[y] => -43.2921
[z] => 44.8
[scale] => 1
[rot] => 0.785398
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 155
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -0.00630866
[y] => 0.0614807
[z] => -19.2
[scale] => 0.95
[rot] => 3.71755
[file] => Abilities\Spells\Undead\Cripple\CrippleTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -0.154943
[y] => 0.0320777
[z] => 83.2
[scale] => 2.2
[rot] => 1.29154
[file] => Abilities\Spells\Items\PotionOfOmniscience\CrystalBallCaster.mdl
[red] => 255
[green] => 55
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => 3.06159
[y] => -47.5105
[z] => 6.4
[scale] => 0.17
[rot] => 2.3562
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => -3.28793
[y] => -47.5323
[z] => 6.4
[scale] => 0.17
[rot] => 0.785398
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => -11.77
[y] => -10.8281
[z] => 76.8
[scale] => 0.11
[rot] => 0.785398
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => 3.56832
[y] => 46.9332
[z] => 6.4
[scale] => 0.17
[rot] => 3.92699
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 3.59771
[y] => 47.4019
[z] => 70.4
[scale] => 0.17
[rot] => 3.92699
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => 0.168637
[y] => 0.226883
[z] => 102.4
[scale] => 1
[rot] => 1.14729
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 155
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => -3.14
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => 0.0686507
[y] => -46.4491
[z] => 0
[scale] => 0.19
[rot] => 0.785398
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => -3.25853
[y] => -47.0635
[z] => 70.4
[scale] => 0.17
[rot] => 0.785398
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => 3.09098
[y] => -47.0417
[z] => 70.4
[scale] => 0.17
[rot] => 2.3562
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => -3.62519
[y] => 48.5558
[z] => 70.4
[scale] => 0.17
[rot] => 5.49779
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => -43.2239
[y] => 40.5831
[z] => 38.4
[scale] => 1
[rot] => 5.49779
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 155
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => 39.9033
[y] => 42.2142
[z] => 38.4
[scale] => 1
[rot] => 3.92699
[file] => Abilities\Spells\Undead\Possession\PossessionTarget.mdl
[red] => 155
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => -24.991
[y] => -25.4176
[z] => 57.6
[scale] => 0.11
[rot] => 3.92699
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => -25.6059
[y] => -24.7415
[z] => 25.6
[scale] => 0.11
[rot] => 0.785398
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -4.71
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => 24.5099
[y] => 25.272
[z] => 57.6
[scale] => 0.11
[rot] => 0.785399
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[24] => Array
(
[x] => 25.1248
[y] => 24.5959
[z] => 25.6
[scale] => 0.11
[rot] => 3.92699
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -4.71
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[25] => Array
(
[x] => -25.2317
[y] => 25.0514
[z] => 57.6
[scale] => 0.11
[rot] => 2.3562
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[26] => Array
(
[x] => -24.5556
[y] => 25.6664
[z] => 25.6
[scale] => 0.11
[rot] => 5.49779
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -4.71
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[27] => Array
(
[x] => 25.6962
[y] => -24.9154
[z] => 57.6
[scale] => 0.11
[rot] => 5.49779
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[28] => Array
(
[x] => 25.0201
[y] => -25.5304
[z] => 25.6
[scale] => 0.11
[rot] => 2.35619
[file] => war3mapImported\City_ColumnSemiCircle2.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => -4.71
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[29] => Array
(
[x] => -45.7366
[y] => 0.0163936
[z] => 0
[scale] => 0.19
[rot] => 0.785398
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[30] => Array
(
[x] => -0.0375362
[y] => 45.2808
[z] => 0
[scale] => 0.19
[rot] => 0.785398
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[31] => Array
(
[x] => 44.5637
[y] => -0.134218
[z] => 0
[scale] => 0.19
[rot] => 0.785398
[file] => war3mapImported\Square_Column.mdl
[red] => 255
[green] => 195
[blue] => 75
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_MANA
[base] => 0
[add] => 10
)
[1] => Array
(
[id] => MOD_MANA_REGEN_PERC
[base] => 0
[add] => 0.05
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_cosmic_buff
//@import
MultiboardValues ashbringer_cube_mb
endglobals
//@import
function ashbringer_cube_mana takes Tower tower returns nothing
endfunction
//@import
function ashbringer_cube_onCreate takes Buff b returns nothing
endfunction
//@import
function ashbringer_cube_onAttack takes Buff B returns nothing
endfunction
//@import
function ashbringer_cube_periodic takes Buff b returns nothing
endfunction
//@import
function ashbringer_cube_onCleanup takes Buff b returns nothing
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
set ashbringer_cosmic_buff = BuffType.createAuraEffectType(true)
call ashbringer_cosmic_buff.setBuffIcon('@@0@@')
call ashbringer_cosmic_buff.addEventOnCreate(ashbringer_cube_onCreate)
call ashbringer_cosmic_buff.addEventOnAttack(ashbringer_cube_onAttack, 1.0, 0.0)
call ashbringer_cosmic_buff.addPeriodicEvent(ashbringer_cube_periodic, 1.0)
call ashbringer_cosmic_buff.addEventOnCleanup(ashbringer_cube_onCleanup)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Tower Details
[code] => call ashbringer_cube_mb.setValue(0,I2S(tower.userInt))
call ashbringer_cube_mb.setValue(1,I2S(tower.userInt2))
return ashbringer_cube_mb
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 0
[visible] => true
[AURA_auraEffect] => ashbringer_cosmic_buff
[AURA_levelAdd] => 1
[AURA_power] => 4
[icon] => ReplaceableTextures\CommandButtons\BTNSpell_Nature_AstralRecalGroup.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Increases the spell crit chance of towers in |cffffff80450|r range by |cffffff80[0.6% x power level]|r and trigger chances by |cffffff80[3% x power level]|r but consumes mana based on power level and number of towers affected. Mana regeneration is reduced by |cffffff80[10 x power level x squareroot(towers powered)]%|r. If the cube's mana reaches zero mana it will deactivate itself for |cffffff80120|r seconds. Does not stack with other Cosmic Cubes.
[AURA_targetSelf] => false
[name] => Astral Prophecy
[AURA_level] => 0
[short_explain] => Increases the spell crit chance and trigger chances of nearby towers based on power level.
[AURA_auraRange] => 450
)
)
[3] => Array
(
[name] => Periodic
[code] => local unit u = tower.getUnit()
if tower.userInt != 0 and GetUnitState(u, UNIT_STATE_MANA) <= 1.0 then
set tower.userInt = 0
call ashbringer_cube_mana(tower)
call tower.getOwner().displayFloatingText("Power Level: 0", tower, 50, 150, 100)
call cb_stun.applyOnlyTimed(tower, tower, 120.0)
endif
set u = null
[values] => Array
(
[visible] => true
[PERIODIC_period] => 1
[icon] => ReplaceableTextures\CommandButtons\BTNUltravision.blp
[name] => Astronomics
[short_explain] => Affected towers have a chance to grant the cube experience.
[long_explain] => The cube has a |cffFFFF801%|r chance to gain |cffFFFF801|r experience when an affected tower attacks an enemy. This chance is attack speed adjusted.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.04|r exp
)
)
[4] => Array
(
[name] => Autocast
[code] => if tower.userInt < 50 then
set tower.userInt = tower.userInt + 1
call ashbringer_cube_mana(tower)
endif
call tower.getOwner().displayFloatingText("Power Level: " + I2S(tower.userInt), tower, 50+4*tower.userInt, 150-3*tower.userInt, 100-2*tower.userInt)
[values] => Array
(
[AUTOCAST_cooldown] => 0.5
[AUTOCAST_autoRange] => 0
[AUTOCAST_manacost] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNReplay-SpeedUp.blp
[AUTOCAST_range] => 0
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] =>
[long_explain] => Increases the power level of the cube by |cffffff801|r. Maximum power level is |cffffff8050|r.
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_NOAC_IMMEDIATE
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Increase Power
[AUTOCAST_targetSelf] => true
[short_explain] => Increases the power level of the cube.
)
)
[5] => Array
(
[name] => Autocast
[code] => if tower.userInt > 1 then
set tower.userInt = tower.userInt - 1
call ashbringer_cube_mana(tower)
endif
call tower.getOwner().displayFloatingText("Power Level: " + I2S(tower.userInt), tower, 50+4*tower.userInt, 150-3*tower.userInt, 100-2*tower.userInt)
[values] => Array
(
[AUTOCAST_cooldown] => 5
[AUTOCAST_autoRange] => 0
[AUTOCAST_manacost] => 0
[icon] => ReplaceableTextures\CommandButtons\BTNReplay-SpeedDown.blp
[AUTOCAST_range] => 0
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] =>
[long_explain] => Decreases the power level of the cube by |cffFFFF801|r.
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_NOAC_IMMEDIATE
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Decrease Power
[AUTOCAST_targetSelf] => true
[short_explain] => Decreases the power level of the cube.
)
)
[6] => Array
(
[name] => On Tower Creation
[code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(3))
set tower.userInt = 0
set tower.userInt2 = 0
set tower.userReal = 0.0
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
)
[buffs] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Binf
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Increased spell crit chance and trigger chance.
[TargetArt] => Array
(
)
[Bufftip] => Cosmic Cube
[Buffart] => ReplaceableTextures\CommandButtons\BTNSpell_Nature_AstralRecalGroup.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => false
[category] => global
[typ] => MultiboardValues
[name] => ashbringer_cube_mb
)
)
[lightning] => Array
(
)
)