Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNMagicalSentry.blp
[turnRate] => 3
[dmgplus1] => 585
[bldtm] => 1
[goldcost] => 1600
[unitSound] => ArcaneSanctum
[sides1] => 1
[manaN] => 100
[acquire] => 1100
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Crystal of Clarity
[weapTp1] => missile
[MissileHoming] => 1
[file] => units\nightelf\Wisp\Wisp.mdl
[uberSplat] => YTDG
[Missileart] => Abilities\Weapons\WingedSerpentMissile\WingedSerpentMissile.mdl
[Missilespeed] => 1300
[dice1] => 1
[RngBuff1] => 250
[regenMana] => 1
[green] => 0
[modelScale] => 0.7
[rangeN1] => 1100
[atkType1] => magic
[cool1] => 1.3
[Ubertip] => No, it isn't meth. Just stop.
[scaleBull] => 0
[abilList] => Array
(
)
[customTeamColor] => 1
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
[teamColor] => 2
)
[settings] => Array
(
[balanceTip] => |cffFFFF00+4% |rmana regen/lvl
[abil_factor] => 0.3
[author] => Ashbringer
[alpha] => 0
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => arcane
[rarity] => rare
)
[effects] => Array
(
[0] => Array
(
[x] => -18.8068
[y] => -40.7304
[z] => -6.4
[scale] => 0.3
[rot] => 4.70042
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => 36.2955
[y] => -37.1516
[z] => 0
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -37.6423
[y] => -35.9941
[z] => 0
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -18.763
[y] => 41.3896
[z] => -6.4
[scale] => 0.3
[rot] => 4.70042
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 17.948
[y] => 40.9806
[z] => -6.4
[scale] => 0.3
[rot] => 4.70042
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 17.9042
[y] => -41.1394
[z] => -6.4
[scale] => 0.3
[rot] => 4.70042
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => -37.0922
[y] => 37.6842
[z] => 0
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => 37.6038
[y] => 37.6684
[z] => 0
[scale] => 0.3
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\City_LowWall_TallEndCap\City_LowWall_TallEndCap.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -40.976
[y] => 18.8088
[z] => -6.4
[scale] => 0.3
[rot] => 3.12962
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -41.3851
[y] => -17.9023
[z] => -6.4
[scale] => 0.3
[rot] => 3.12962
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 41.0208
[y] => 18.4934
[z] => -6.4
[scale] => 0.3
[rot] => 3.12962
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => 40.6117
[y] => -18.2177
[z] => -6.4
[scale] => 0.3
[rot] => 3.12962
[file] => Doodads\Cityscape\Structures\CityLowWall90\CityLowWall90.mdl
[red] => 85
[green] => 85
[blue] => 205
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => -0.120384
[y] => 0.8779
[z] => 12.8
[scale] => 0.3
[rot] => 4.11898
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal8.mdl
[red] => 255
[green] => 155
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 1.49189
[y] => 14.9422
[z] => 0
[scale] => 0.15
[rot] => 0.643915
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal8.mdl
[red] => 255
[green] => 155
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => 0.0801457
[y] => 0.488448
[z] => 0
[scale] => 0.3
[rot] => 0.645772
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal7.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => -19.0838
[y] => -5.52861
[z] => 0
[scale] => 0.15
[rot] => 2.37039
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal8.mdl
[red] => 255
[green] => 155
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => 22.285
[y] => -11.0308
[z] => 0
[scale] => 0.1
[rot] => 0.643915
[file] => Doodads\Icecrown\Rocks\Icecrown_Crystal\Icecrown_Crystal8.mdl
[red] => 255
[green] => 155
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => -17.6111
[y] => 21.8212
[z] => 0
[scale] => 0.4
[rot] => 4.39823
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => 14.0798
[y] => 17.6523
[z] => 0
[scale] => 0.35
[rot] => 5.94379
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => -11.3543
[y] => -12.8311
[z] => 0
[scale] => 0.35
[rot] => 5.10023
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => 19.4195
[y] => -14.0999
[z] => 0
[scale] => 0.35
[rot] => 4.39823
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock9.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => 14.481
[y] => 0.660937
[z] => 19.2
[scale] => 0.1
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 25
[green] => 145
[blue] => 225
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => -14.8194
[y] => 1.44309
[z] => 19.2
[scale] => 0.1
[rot] => 0
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 25
[green] => 145
[blue] => 225
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => -0.396068
[y] => -13.5987
[z] => 19.2
[scale] => 0.1
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 25
[green] => 145
[blue] => 225
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[24] => Array
(
[x] => 0.386098
[y] => 15.7016
[z] => 19.2
[scale] => 0.1
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 25
[green] => 145
[blue] => 225
[alpha] => 255
[pitch] => -1.57
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_MANA_REGEN_PERC
[base] => 0
[add] => 0.04
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
//@export
BuffType ashbringer_clarity_aura
//@export
BuffType ashbringer_surge_buff
endglobals
function ashbringer_clarity_cast takes Buff b returns nothing
local Tower tower = b.getBuffedUnit()
local AutocastType ac = Event.getAutocastType()
local real mana = ac.getManacost() * ((b.getPower() * 0.025) + (b.getLevel() * 0.001))
if not ac.isItemAutocast() then
call TriggerSleepAction(0.1)
call tower.addMana(mana)
call Effect.createSimpleAtUnit("Abilities\\Spells\\Undead\\ReplenishMana\\ReplenishManaCaster.mdl", tower).setLifetime(2.0)
else
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 mod = Modifier.create()
set ashbringer_clarity_aura = BuffType.createAuraEffectType(true)
call ashbringer_clarity_aura.setBuffIcon('@@0@@')
call ashbringer_clarity_aura.addEventOnSpellCast(ashbringer_clarity_cast)
call ashbringer_clarity_aura.setStackingGroup("ashbringer_clarity_aura")
set ashbringer_surge_buff = BuffType.create(2, 0.0, true)
call ashbringer_surge_buff .setBuffIcon('@@1@@')
call mod.addModification(MOD_SPELL_DAMAGE_DEALT, 0.4, 0.002)
call mod.addModification(MOD_MANA_REGEN_PERC, 0.4, 0.002)
call ashbringer_surge_buff.setBuffModifier(mod)
call ashbringer_surge_buff.setSpecialEffectColored("Abilities\\Spells\\Human\\ManaFlare\\ManaFlareTarget.mdl", 185, 1.0, 255, 255, 255, 255)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 0
[visible] => true
[AURA_auraEffect] => ashbringer_clarity_aura
[AURA_levelAdd] => 2
[AURA_power] => 2
[icon] => ReplaceableTextures\CommandButtons\BTNMagicalSentry.blp
[AURA_targetType] => TARGET_TYPE_TOWERS
[long_explain] => Towers in |cffffff80350|r range are refunded |cffffff805%|r of the mana cost when they cast a spell.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r mana refunded
[AURA_targetSelf] => true
[name] => Resonance of Clarity
[AURA_level] => 0
[short_explain] => Nearby towers are refunded some mana when they cast a spell.
[AURA_auraRange] => 350
)
)
[2] => Array
(
[name] => Autocast
[code] => local Iterate i = Iterate.overUnitsInRangeOfCaster(tower, TARGET_TYPE_TOWERS, 350)
local Tower next
loop
set next = i.next()
exitwhen next==0
call ashbringer_surge_buff.apply(tower, next, tower.getLevel()*8)
endloop
[values] => Array
(
[AUTOCAST_cooldown] => 5
[AUTOCAST_autoRange] => 900
[AUTOCAST_manacost] => 100
[icon] => ReplaceableTextures\CommandButtons\BTNBrilliance.blp
[AUTOCAST_range] => 900
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] => Abilities\Spells\Other\Charm\CharmTarget.mdl
[long_explain] => A surge of magic increases the spell damage and mana regeneration of towers within |cffffff80350|r by |cffffff8040%|r for |cffffff802|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.4%|r spell damage and mana regen
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Resonant Surge
[AUTOCAST_targetSelf] => false
[short_explain] => Grants a powerful but short boost to mana regen and spell damage to nearby towers.
)
)
[3] => Array
(
[name] => On Tower Creation
[code] => call SetUnitColor(tower.getUnit(), ConvertPlayerColor(2))
[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] => Chance to regain mana on spell cast.
[TargetArt] => Array
(
)
[Bufftip] => Resonance of Clarity
[Buffart] => ReplaceableTextures\CommandButtons\BTNMagicalSentry.blp
)
)
[1] => Array
(
[id] => @@1@@
[derivedFrom] => Binf
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Increased mana regen and spell damage.
[TargetArt] => Array
(
)
[Bufftip] => Resonant Surge
[Buffart] => ReplaceableTextures\CommandButtons\BTNBrilliance.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => ashbringer_clarity_aura
)
[1] => Array
(
[export] => true
[category] => global
[typ] => BuffType
[name] => ashbringer_surge_buff
)
)
[lightning] => Array
(
)
)