Array
(
[scriptVersion] => 8
[oeValues] => Array
(
[auto] => Array
(
)
[Art] => ReplaceableTextures\CommandButtons\BTNMurgulShadowCaster.blp
[turnRate] => 3
[dmgplus1] => 1085
[bldtm] => 1
[unitSound] => Murloc
[goldcost] => 600
[sides1] => 1
[manaN] => 175
[acquire] => 850
[upgrades] => Array
(
)
[Upgrade] => Array
(
)
[Name] => Mana-Pole
[weapTp1] => missile
[impactZ] => 60
[file] => Units\Creeps\MurgulShadowCaster\MurgulShadowCaster.mdl
[MissileHoming] => 1
[uberSplat] => YTDM
[Missilespeed] => 4000
[dice1] => 1
[RngBuff1] => 250
[green] => 155
[modelScale] => 0.5
[rangeN1] => 850
[propWin] => 10
[atkType1] => normal
[cool1] => 2.4
[Ubertip] => Once upon a time, a toad laid eggs in a magical fountain... and one of those eggs hatched into an eldritch abomination.
[abilList] => @@0@@
[moveHeight] => -12
[customTeamColor] => 1
[buildingShadow] => Array
(
)
[targs1] => Array
(
)
[weapsOn] => 1
[teamColor] => 5
)
[settings] => Array
(
[balanceTip] => |cffFFFF00+2% |rdmg to magical/lvl|n|cffFFFF00+2% |rdamage/lvl
[abil_factor] => 0.6
[author] => Patcharoo
[alpha] => 255
[authorDisplay] => |cffbb1111Patcharoo|r
[version] => 1.0
[element] => arcane
[rarity] => rare
)
[effects] => Array
(
[0] => Array
(
[x] => -22.1675
[y] => 1.92178
[z] => 0
[scale] => 0.3
[rot] => 5.67837
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes1.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[1] => Array
(
[x] => 0.0300491
[y] => 1.11275
[z] => 0.000000953674
[scale] => 0.85
[rot] => 5.42885
[file] => Abilities\Spells\NightElf\MoonWell\MoonWellTarget.mdl
[red] => 255
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[2] => Array
(
[x] => 36.8602
[y] => 1.86408
[z] => 6.4
[scale] => 0.2
[rot] => 4.4855
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock3.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[3] => Array
(
[x] => -33.431
[y] => -25.7538
[z] => 6.4
[scale] => 0.25
[rot] => 5.1252
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock3.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[4] => Array
(
[x] => 42.3058
[y] => -18.0382
[z] => 0
[scale] => 0.25
[rot] => 0.204586
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock1.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[5] => Array
(
[x] => 24.1594
[y] => 30.7782
[z] => 0
[scale] => 0.4
[rot] => 4.76585
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock1.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[6] => Array
(
[x] => 10.8916
[y] => 46.2557
[z] => 0.000000953674
[scale] => 0.45
[rot] => 1.43764
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock2.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[7] => Array
(
[x] => -40.9944
[y] => 2.18208
[z] => 0
[scale] => 0.25
[rot] => 2.78688
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock3.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[8] => Array
(
[x] => -24.0094
[y] => 39.2914
[z] => 0
[scale] => 0.45
[rot] => 5.01697
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock5.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[9] => Array
(
[x] => -15.7716
[y] => -38.336
[z] => 6.4
[scale] => 0.25
[rot] => 5.01697
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock5.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[10] => Array
(
[x] => 25.8672
[y] => -35.4947
[z] => 6.4
[scale] => 0.3
[rot] => 2.559
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock5.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[11] => Array
(
[x] => 3.31059
[y] => -40.0435
[z] => 0
[scale] => 0.25
[rot] => 5.8294
[file] => Doodads\Underground\Rocks\UndergoundRock\UndergoundRock6.mdl
[red] => 255
[green] => 195
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[12] => Array
(
[x] => 2.32011
[y] => -6.29659
[z] => -128
[scale] => 1.35
[rot] => 2.25148
[file] => Abilities\Spells\Other\ANrl\ANrlTarget.mdl
[red] => 255
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[13] => Array
(
[x] => 3.7586
[y] => -6.14867
[z] => 0
[scale] => 1
[rot] => 2.16421
[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
)
[14] => Array
(
[x] => 4.94648
[y] => -8.58918
[z] => -32
[scale] => 1
[rot] => 4.03171
[file] => war3mapImported\Glow.mdl
[red] => 255
[green] => 1
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[15] => Array
(
[x] => -13.0094
[y] => 48.6157
[z] => 6.4
[scale] => 0.5
[rot] => 5.22078
[file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
[red] => 135
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[16] => Array
(
[x] => 46.2128
[y] => 1.01661
[z] => 6.4
[scale] => 0.25
[rot] => 5.1311
[file] => Doodads\Ruins\Plants\VinyPlant\VinyPlant0.mdl
[red] => 135
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
[17] => Array
(
[x] => -43.5911
[y] => -37.9258
[z] => 0
[scale] => 0.6
[rot] => 4.30486
[file] => Doodads\Ruins\Plants\Ruins_Flower\Ruins_Flower3.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
[pcolor] => 255
)
)
[dmgTable] => Array
(
[0] => Array
(
[id] => MOD_DMG_TO_MAGIC
[base] => 0
[add] => 0.02
)
[1] => Array
(
[id] => MOD_DAMAGE_BASE_PERC
[base] => 0
[add] => 0.02
)
)
[triggers] => Array
(
[0] => Array
(
[name] => Header
[code] => globals
BuffType ashbringer_gorge_buff
//@export
MultiboardValues ashbringer_gorge_mb
endglobals
//@export
function ashbringer_manapole_attack takes Tower tower, Creep target, real area, real mana returns nothing
local integer count = 3
local real x = target.getX()
local real y = target.getY()
local real distance
local real angle
local real target_x
local real target_y
local Iterate i
local Creep next
local integer UID = tower.getUID()
local real damage = tower.getCurrentAttackDamageWithBonus() * 0.35
loop
exitwhen count == 0
set count = count - 1
if tower.getUID() == UID then
set distance = GetRandomReal(25, area * 0.95)
set angle = GetRandomReal(0, 360)
set target_x = x + distance * Cos(Deg2Rad(angle))
set target_y = y + distance * Sin(Deg2Rad(angle))
call Lightning.createFromPointToPoint("ZAP8", target_x, target_y, 1200, target_x, target_y, 0).setLifetime(0.3)
call Effect.createScaled("Abilities\\Spells\\Undead\\AbsorbMana\\AbsorbManaBirthMissile.mdl", target_x, target_y, 0, 270, 3).destroy()
set i = Iterate.overUnitsInRange(tower, TARGET_TYPE_CREEPS, target_x, target_y, area)
loop
set next = i.next()
exitwhen next == 0
call tower.doAttackDamage(next, damage, tower.calcAttackMulticrit(0, 0, 0))
call Effect.createSimpleOnUnit("Abilities\\Weapons\\WingedSerpentMissile\\WingedSerpentMissile.mdl", next, "chest").destroy()
call tower.addMana(mana)
call next.subtractMana(mana, true)
endloop
endif
call TriggerSleepAction(0.15)
if target.getUID() != -1 then
set x = target.getX()
set y = target.getY()
endif
endloop
endfunction
//@export
function ashbringer_gorge_cast takes Tower tower, real duration, integer power, real mana_cost, real mana_threshold, integer bonus, integer loss, real scale returns nothing
local Buff b = tower.getBuffOfType(ashbringer_gorge_buff)
local integer i
local real r
if b != 0 then
set duration = duration + b.getRemainingDuration()
endif
call ashbringer_gorge_buff.applyAdvanced(tower, tower, tower.getLevel(), power, duration)
set tower.userReal = tower.userReal + mana_cost
call Effect.createSimple("Abilities\\Spells\\Undead\\DarkRitual\\DarkRitualTarget.mdl", tower.getX(), tower.getY()).destroy()
if tower.userReal >= mana_threshold then
set tower.userReal = tower.userReal - mana_threshold
set tower.userInt = tower.userInt + 1
set i = IMaxBJ(1, bonus - ((tower.userInt+1) / loss))
call tower.modifyProperty(MOD_DAMAGE_BASE, i)
set tower.userInt2 = tower.userInt2 + i
set r = tower.userInt2 * 0.001
set r = scale + (r * RMaxBJ(1, (0.5/r)))
call SetUnitScale(tower.getUnit(), r, r, r)
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_gorge_buff = BuffType.create(3, 0.0, true)
call ashbringer_gorge_buff.setBuffIcon('@@1@@')
call mod.addModification(MOD_ATTACKSPEED, 0.0, 0.001)
call ashbringer_gorge_buff.setBuffModifier(mod)
set ashbringer_gorge_mb = MultiboardValues.create(2)
call ashbringer_gorge_mb.setKey(0, "Growths")
call ashbringer_gorge_mb.setKey(1, "Bonus Damage")
endfunction
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[1] => Array
(
[name] => On Tower Details
[code] => call ashbringer_gorge_mb.setValue(0, I2S(tower.userInt))
call ashbringer_gorge_mb.setValue(1, I2S(tower.userInt2))
return ashbringer_gorge_mb
[values] => Array
(
[0] => Array
(
[_value] => 0
[typ] => string
)
)
)
[2] => Array
(
[name] => On Damage
[code] => if Event.isMainTarget() then
set Event.damage = 0
call ashbringer_manapole_attack(tower, Event.getTarget(), 175, 5)
endif
[values] => Array
(
[ONDAMAGE_chance] => 1.0
[visible] => true
[icon] => ReplaceableTextures\CommandButtons\BTNAbsorbMagic.blp
[name] => Drain Rain
[short_explain] => Attacks with three breams from the sky, dealing AoE damage and draining mana.
[ONDAMAGE_chanceLevelAdd] => 0
[long_explain] => The toad's attack takes the form of |cffFFFF803|r energy beams that strike down at random points near the target. Each beam deals |cffFFFF8035%|r of attack damage to enemies within |cffFFFF80175|r range and generates |cffFFFF805|r mana per enemy struck. Enemies will lose the same amount of mana if possible. The primary attack target will always get hit by all |cffFFFF803|r beams.
)
)
[3] => Array
(
[name] => Autocast
[code] => local integer power = R2I((0.4 + (tower.getLevel() * 0.016)) / 0.001)
call ashbringer_gorge_cast(tower, 3, power, 150, 450, 6, 12, 0.5)
[values] => Array
(
[AUTOCAST_cooldown] => 5
[AUTOCAST_autoRange] => 850
[AUTOCAST_manacost] => 150
[icon] => ReplaceableTextures\CommandButtons\BTNDevourMagic.blp
[AUTOCAST_range] => 850
[AUTOCAST_targetType] => 0
[AUTOCAST_numBuffsBeforeIdle] => 0
[caster_art] =>
[long_explain] => Gorges on mana, increasing attack speed by |cffFFFF8040%|r for |cffFFFF803|r seconds. Every |cffFFFF80450|r mana consumed this way causes the toad to grow, permanently increasing base damage by |cffFFFF806|r. Every |cffFFFF8012|r times the toad grows, the bonus is reduced by |cffFFFF801|r, to a minimum of |cffFFFF801|r. The toad inherits growths from its previous form if upgraded.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+1.6%|r attack speed
[target_art] =>
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_IMMEDIATE
[AUTOCAST_buffType] => 0
[AUTOCAST_isExtended] => false
[name] => Mana Gorge
[AUTOCAST_targetSelf] => false
[short_explain] => Consumes mana to increase attack speed temporarily and damage permanently.
)
)
[4] => Array
(
[name] => On Tower Creation
[code] => local Tower prev = Event.getPrecedingTower()
local integer power
local integer i
call SetUnitColor(tower.getUnit(), ConvertPlayerColor(7))
if prev.getFamily() == tower.getFamily() then
set tower.userInt = prev.userInt
set tower.userReal = prev.userReal
set i = tower.userInt / 12
if i >= 6 then
set i = 6 - 1
endif
set power = i * 12
set power = R2I((6 + 0.5 - i / 2.0) * power) + (tower.userInt - power) * (6 - i)
call tower.modifyProperty(MOD_DAMAGE_BASE, power)
set tower.userInt2 = power
else
set tower.userInt = 0
set tower.userInt2 = 0
set tower.userReal = 0
endif
[values] => Array
(
[visible] => false
[icon] =>
[name] =>
[short_explain] =>
[long_explain] =>
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => Asph
[oeValues] => Array
(
[Targetattach] => chest
[Art] => Array
(
)
[Targetattach1] => Array
(
)
[Untip] => -HIDE-
[Targetattach2] => Array
(
)
[TargetArt] => Abilities\Weapons\SpiritOfVengeanceMissile\SpiritOfVengeanceMissile.mdl
[Cool1] => 0.01
[Name] => murloc glow
[Ubertip] => -HIDE-
[Targetattachcount] => 1
[Missileart] => Array
(
)
[Missilespeed] => 4000
[Unubertip] => -HIDE-
[Tip] => -HIDE-
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => BNrd
[oeValues] => Array
(
[Targetattach] => origin
[Buffubertip] => Attack speed is increased.
[TargetArt] => Abilities\Spells\Other\Drain\ManaDrainCaster.mdl
[Bufftip] => Mana Gorge
[Buffart] => ReplaceableTextures\CommandButtons\BTNDevourMagic.blp
)
)
)
[units] => Array
(
)
[references] => Array
(
[0] => Array
(
[export] => true
[category] => global
[typ] => MultiboardValues
[name] => ashbringer_gorge_mb
)
)
[lightning] => Array
(
)
)