Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNSRLightningOverload.blp
[dmgplus1] => 0
[bldtm] => 1
[goldcost] => 4000
[unitSound] => AltarOfStorms
[sides1] => 1
[manaN] => 500
[launchZ] => 160
[acquire] => 1200
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => The Conduit
[weapTp1] => missile
[MissileHoming] => 1
[file] => Doodads\Cityscape\Structures\City_ColumnSingle\City_ColumnSingle.mdl
[Missileart] => Abilities\Spells\Undead\AbsorbMana\AbsorbManaBirthMissile.mdl
[Missilespeed] => 1000
[dice1] => 1
[RngBuff1] => 250
[modelScale] => 0.4
[rangeN1] => 1200
[atkType1] => normal
[cool1] => 1.7
[Ubertip] => A perfect conduit of storm energy.
[abilList] => @@0@@
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
)
[settings] => Array
(
[balanceTip] => Array
(
)
[abil_factor] => 0.0
[author] => Ashbringer
[alpha] => 0
[authorDisplay] => |cffff6600Ashbringer|r
[version] => 1.0
[element] => storm
[rarity] => unique
)
[effects] => Array
(
[0] => Array
(
[x] => -0.562577
[y] => -15.8743
[z] => 25.6
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => -0.166782
[y] => 7.06834
[z] => 192
[scale] => 1.3
[rot] => 4.67983
[file] => Abilities\Weapons\FarseerMissile\FarseerMissile.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => -0.0376692
[y] => 0.206123
[z] => 128
[scale] => 3.65
[rot] => 2.18845
[file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -0.128986
[y] => 0.0699393
[z] => 70.4
[scale] => 3.65
[rot] => 1.12993
[file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => -0.56378
[y] => -15.7938
[z] => 70.4
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => -0.0638539
[y] => -0.0225656
[z] => 19.2
[scale] => 4.45
[rot] => 2.80998
[file] => Abilities\Spells\Human\ManaFlare\ManaFlareTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => 0.0132766
[y] => 15.9967
[z] => 115.2
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => 0.0144804
[y] => 15.9162
[z] => 70.4
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -8.92122
[y] => -1.93979
[z] => 0
[scale] => 0.95
[rot] => 6.21337
[file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -0.344707
[y] => 0.113597
[z] => 89.6
[scale] => 0.12
[rot] => 2.3562
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 0.0156833
[y] => -0.156758
[z] => 89.6
[scale] => 0.12
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => 0.0156833
[y] => -0.156758
[z] => 44.8
[scale] => 0.15
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => -0.344707
[y] => 0.113597
[z] => 44.8
[scale] => 0.15
[rot] => 2.3562
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 0.0156833
[y] => -0.156758
[z] => -0.00000476837
[scale] => 0.15
[rot] => 0.785398
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[14] => Array
(
[x] => -0.344707
[y] => 0.113597
[z] => -0.00000476837
[scale] => 0.15
[rot] => 2.3562
[file] => Doodads\Cityscape\Structures\Archway1\Archway1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => 0.120499
[y] => 15.8041
[z] => 25.6
[scale] => 0.12
[rot] => 4.71239
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => -0.456558
[y] => -15.9864
[z] => 115.2
[scale] => 0.12
[rot] => 1.5708
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => 26.2533
[y] => -1.77513
[z] => -25.6
[scale] => 0.18
[rot] => 3.14159
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[18] => Array
(
[x] => -22.1148
[y] => -0.270221
[z] => -25.6
[scale] => 0.18
[rot] => 0.000000238419
[file] => Doodads\Cityscape\Structures\City_ColumnSemiCircle\City_ColumnSemiCircle.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[19] => Array
(
[x] => 12.091
[y] => 1.8164
[z] => 19.2
[scale] => 0.95
[rot] => 3.16504
[file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[20] => Array
(
[x] => -14.2667
[y] => 40.6425
[z] => -44.8
[scale] => 0.95
[rot] => 4.70162
[file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[21] => Array
(
[x] => -0.0416912
[y] => -0.166134
[z] => 0
[scale] => 2.9
[rot] => 6.24828
[file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
[red] => 1
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[22] => Array
(
[x] => -0.112263
[y] => -0.0637512
[z] => 70.4
[scale] => 2.05
[rot] => 6.24828
[file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
[red] => 1
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[23] => Array
(
[x] => -0.193392
[y] => -0.263398
[z] => 134.4
[scale] => 1.7
[rot] => 6.24828
[file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
[red] => 1
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[24] => Array
(
[x] => -0.0170933
[y] => 0.101982
[z] => 0
[scale] => 1.25
[rot] => 5.06146
[file] => Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl
[red] => 1
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[25] => Array
(
[x] => -10.3948
[y] => 5.48161
[z] => 0
[scale] => 1
[rot] => 4.90144
[file] => Abilities\Spells\Orc\Purge\PurgeBuffTarget.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 ashbringer_conduit_aura
Cast ashbringer_unleash_cast
BuffType ashbringer_unleash_buff
endglobals
function ashbringer_conduit_update takes Buff b returns nothing
local Tower tower = b.getBuffedUnit()
local Tower caster = b.getCaster()
local real tower_level = caster.getLevel()
local real caster_level_factor = 0.5 + (tower_level * 0.02)
local Buff unleash
local real counter_double_dip = 0
set unleash = tower.getBuffOfType(ashbringer_unleash_buff)
if unleash!=0 then
set counter_double_dip = 0.75 + (unleash.getLevel() * 0.03)
endif
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, -b.userReal)
call tower.modifyProperty(MOD_SPELL_CRIT_CHANCE, -b.userReal2)
call tower.modifyProperty(MOD_SPELL_CRIT_DAMAGE, -b.userReal3)
call tower.modifyProperty(MOD_ATTACKSPEED, -(b.userInt/1000.0))
call tower.modifyProperty(MOD_TRIGGER_CHANCES, -(b.userInt2/1000.0))
set b.userReal = (caster.getProp_SpellDmgDealt() - 1.0)*caster_level_factor
set b.userReal2 = (caster.getProp_SpellCritChance() - (0.0125 + (tower_level * 0.0015))) * caster_level_factor
set b.userReal3 = (caster.getProp_SpellCritDamage() - (1.25 + (tower_level * 0.02)) - counter_double_dip) * caster_level_factor
set b.userInt = R2I((caster.getProp_Attackspeed() - (0.00 + (tower_level * 0.012)))*caster_level_factor*1000.0)
set b.userInt2 = R2I((caster.getProp_TriggerChances()- 1.0)*caster_level_factor*1000.0)
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, b.userReal)
call tower.modifyProperty(MOD_SPELL_CRIT_CHANCE, b.userReal2)
call tower.modifyProperty(MOD_SPELL_CRIT_DAMAGE, b.userReal3)
call tower.modifyProperty(MOD_ATTACKSPEED, (b.userInt/1000.0))
call tower.modifyProperty(MOD_TRIGGER_CHANCES, (b.userInt2/1000.0))
endfunction
function ashbringer_conduit_create takes Buff b returns nothing
set b.userReal = 0
set b.userReal2 = 0
set b.userReal3 = 0
set b.userInt = 0
set b.userInt2 = 0
call ashbringer_conduit_update(b)
endfunction
function ashbringer_conduit_cleanup takes Buff b returns nothing
local Tower tower = b.getBuffedUnit()
call tower.modifyProperty(MOD_SPELL_DAMAGE_DEALT, -b.userReal)
call tower.modifyProperty(MOD_SPELL_CRIT_CHANCE, -b.userReal2)
call tower.modifyProperty(MOD_SPELL_CRIT_DAMAGE, -b.userReal3)
call tower.modifyProperty(MOD_ATTACKSPEED, -b.userInt/1000.0)
call tower.modifyProperty(MOD_TRIGGER_CHANCES, -b.userInt2/1000.0)
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 m = Modifier.create()
set ashbringer_conduit_aura = BuffType.createAuraEffectType(true)
set ashbringer_unleash_buff=BuffType.create(3,0,false)
call ashbringer_conduit_aura.setBuffIcon('@@1@@')
call ashbringer_conduit_aura.addEventOnCreate(ashbringer_conduit_create)
call ashbringer_conduit_aura.addEventOnCleanup(ashbringer_conduit_cleanup)
call ashbringer_conduit_aura.addPeriodicEvent(ashbringer_conduit_update, 5)
call m.addModification(MOD_SPELL_CRIT_DAMAGE, 0.75, 0.03)
call ashbringer_unleash_buff.setBuffIcon('@@2@@')
call ashbringer_unleash_buff.setBuffModifier(m)
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Damage
[code] => local real mana = 0.05 + (0.002 * tower.getLevel())
local Creep target = Event.getTarget()
set Event.damage = 0
call tower.addManaPerc(mana)
call Event.getTarget().subtractManaPerc(mana, true)
call Lightning.createFromUnitToPoint("BLUE", target, tower.getX(), tower.getY(), 180.00).setLifetime(0.2)
//call Effect.createSimpleOnUnit("Abilities\\Spells\\Undead\\AbsorbMana\\AbsorbManaBirthMissile.mdl", target, "chest").destroy()
[values] => Array
(
[ONDAMAGE_chance] => 0.1
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[ONDAMAGE_chanceLevelAdd] => 0.004
[long_explain] =>
)
)
[2] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[AURA_powerAdd] => 0
[visible] => true
[AURA_auraEffect] => ashbringer_conduit_aura
[AURA_levelAdd] => 0
[AURA_power] => 1
[icon] => ReplaceableTextures\CommandButtons\BTNSRLightningOverload.blp
[AURA_targetType] => TARGET_TYPE_TOWERS + TARGET_TYPE_ELEMENT_STORM + TARGET_TYPE_RARITY_UNCOMMON + TARGET_TYPE_RARITY_COMMON
[long_explain] => Attack speed, trigger chances, spell damage, spell crit chance and spell crit damage bonuses on this tower are applied to |cffFFFFFFCommon|r and |cff0080FFUncommon|r |cFF8080FFStorm|r towers in |cffffff80350|r range at a rate of |cffffff8050%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+2%|r stats
[AURA_targetSelf] => false
[name] => Conduit
[AURA_level] => 1
[short_explain] => Certain bonuses on this tower affect nearby |cffFFFFFFCommon|r and |cff0080FFUncommon|r |cFF8080FFStorm|r towers.
[AURA_auraRange] => 350
)
)
[3] => Array
(
[name] => Autocast
[code] => local Iterate it = Iterate.overUnitsInRangeOfUnit(tower,TARGET_TOWERS,tower,350)
local Unit next
local real cast_damage = (500 + (tower.getLevel() * 10)) * tower.getOwner().getTeam().getLevel()
loop
set next = it.next()
call ashbringer_unleash_buff.apply(tower, next, tower.getLevel())
exitwhen next == 0
endloop
call Lightning.createFromPointToUnit("ZAP2", tower.getX(), tower.getY(), 160, Event.getTarget()).setLifetime(0.3)
call Effect.createSimpleOnUnit("Abilities\\Weapons\\Bolt\\BoltImpact.mdl", Event.getTarget(), "origin").setLifetime(2)
call tower.doSpellDamage(Event.getTarget(), cast_damage, tower.calcSpellCritNoBonus())
[values] => Array
(
[AUTOCAST_cooldown] => 0.50
[AUTOCAST_autoRange] => 1200.00
[AUTOCAST_manacost] => 400
[icon] => ReplaceableTextures\CommandButtons\BTNPurge.blp
[AUTOCAST_range] => 1200.00
[AUTOCAST_targetType] => TARGET_TYPE_CREEPS
[AUTOCAST_numBuffsBeforeIdle] => 1
[caster_art] =>
[long_explain] => Release built up energy, dealing |cffFFFF80[500 x wave]|r spell damage to a single enemy and increasing the spell critical damage of nearby towers within |cffFFFF80350|r range by |cffFFFF80x0.75|r for |cffFFFF805|r seconds.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+10|r spell damage per wave|n|cffFFFF80+x0.03|r spell crit damage
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_BUFF
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Discharge
[AUTOCAST_targetSelf] => false
[short_explain] => Deals significant spell damage to a single enemy and increases the spell critical damage of nearby towers.
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Aroc
[oeValues] => Array
(
[Buttonpos] => 1
[Art] => ReplaceableTextures\CommandButtons\BTNLightningShield.blp
[Untip] => Attacks hit up to |cffFFFF8010|r enemies but do no damage. There is a chance to gain mana per enemy hit.
[Requires] => Array
(
)
[Missilearc] => 0
[DataA1] => 0
[Cool1] => 0
[Area1] => 1200
[DataC1] => 8
[DataB1] => 0
[Name] => Charge
[Ubertip] => Attacks hit up to |cffFFFF8010|r enemies, but do no damage. There is a |cffFFFF8010%|r chance per hit to gather energy, restoring |cffFFFF805%|r of maximum mana to the tower and the target will lose the same percentage of maximum mana if possible.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.2%|r mana|n|cffFFFF80+0.4%|r chance
[Buttonpos1] => 1
[Missilespeed] => 1000
[Missileart] => Abilities\Spells\Undead\AbsorbMana\AbsorbManaBirthMissile.mdl
[Tip] => Charge
[Unubertip] => Attacks hit up to |cffFFFF8010|r enemies but do no damage. There is a chance to gain mana per enemy hit.
[targs1] => enemies
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Spell and trigger stats increased by nearby Conduit.
[TargetArt] => Array
(
)
[Bufftip] => Conduit
[Buffart] => ReplaceableTextures\CommandButtons\BTNSRLightningOverload.blp
)
)
[1] => Array
(
[id] => @@2@@
[derivedFrom] => BHab
[oeValues] => Array
(
[Targetattach] => Array
(
)
[Buffubertip] => Increased spell crit damage.
[TargetArt] => Array
(
)
[Bufftip] => Unleash
[Buffart] => ReplaceableTextures\CommandButtons\BTNPurge.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
)
[lightning] => Array
(
)
)