Array
(
[scriptVersion] => 7
[oeValues] => Array
(
[RngBuff1] => 250
[MissileHoming] => 1
[Upgrade] => Array
(
)
[targs1] => Array
(
)
[goldcost] => 2800
[weapsOn] => 1
[dice1] => 1
[Missilespeed] => 1500
[moveHeight] => 50
[file] => units\nightelf\HeroKeeperoftheGrove\HeroKeeperoftheGrove.mdl
[manaN] => 100
[atkType1] => hero
[modelScale] => 0.6
[weapTp1] => missile
[Missilearc] => 0.15
[acquire] => 1100
[rangeN1] => 950
[upgrades] => Array
(
)
[cool1] => 1.4
[Ubertip] => Damn, there are no trees.
[regenMana] => 3
[abilList] => Array
(
)
[Missileart] => Abilities\Weapons\KeeperGroveMissile\KeeperGroveMissile.mdl
[Name] => Cenarius
[Art] => ReplaceableTextures\CommandButtons\BTNKeeperOfTheGrove.blp
[buildingShadow] => Array
(
)
[turnRate] => 0.5
[unitSound] => Array
(
)
[sides1] => 1
[uberSplat] => ESMB
[auto] => Array
(
)
[dmgplus1] => 1343
[bldtm] => 1
)
[settings] => Array
(
[author] => cedi
[element] => nature
[authorDisplay] => cedi
[alpha] => 255
[balanceTip] => Array
(
)
[rarity] => unique
[version] => 1.0
[abil_factor] => 0.3
)
[effects] => Array
(
[0] => Array
(
[x] => 1.09162
[y] => -5.69246
[z] => 64
[scale] => 0.5
[rot] => 3.80482
[file] => Abilities\Spells\NightElf\Tranquility\Tranquility.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[1] => Array
(
[x] => -23.5115
[y] => -52.6701
[z] => 12.8
[scale] => 0.5
[rot] => 4.66057
[file] => Abilities\Spells\Items\OrbVenom\OrbVenomSpecialArt.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[2] => Array
(
[x] => -31.1147
[y] => 48.8165
[z] => 0
[scale] => 0.5
[rot] => 3.38594
[file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
[red] => 155
[green] => 255
[blue] => 155
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[3] => Array
(
[x] => 16.4169
[y] => 31.33
[z] => 25.6
[scale] => 0.7
[rot] => 1.00829
[file] => Doodads\LordaeronSummer\Plants\RiverRushes\RiverRushes1.mdl
[red] => 155
[green] => 255
[blue] => 155
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[4] => Array
(
[x] => 42.3188
[y] => 35.1654
[z] => 0
[scale] => 0.5
[rot] => 0.886132
[file] => Doodads\Ashenvale\Structures\AshenBrokenColumn\AshenBrokenColumn1.mdl
[red] => 155
[green] => 255
[blue] => 155
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[5] => Array
(
[x] => -33.4962
[y] => -32.2185
[z] => 38.4
[scale] => 0.8
[rot] => 3.38594
[file] => Abilities\Spells\NightElf\FaerieFire\FaerieFireTarget.mdl
[red] => 155
[green] => 255
[blue] => 155
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[6] => Array
(
[x] => 20.2201
[y] => -7.00146
[z] => -64
[scale] => 0.8
[rot] => 2.44346
[file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[7] => Array
(
[x] => -12.732
[y] => -5.93081
[z] => -64
[scale] => 0.8
[rot] => 0.48494
[file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[8] => Array
(
[x] => 4.83138
[y] => 25.0623
[z] => -70.4
[scale] => 0.8
[rot] => 1.17612
[file] => Doodads\Ruins\Rocks\Ruins_Rock\Ruins_Rock0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[9] => Array
(
[x] => -13.2488
[y] => 20.0954
[z] => -19.2
[scale] => 0.7
[rot] => 3.72012
[file] => Abilities\Spells\NightElf\EntangleMine\Roots.mdl
[red] => 120
[green] => 255
[blue] => 130
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
[10] => Array
(
[x] => -33.785
[y] => -27.194
[z] => 19.2
[scale] => 0.5
[rot] => 2.54818
[file] => Doodads\Felwood\Plants\FelwoodBush\FelwoodBush0.mdl
[red] => 255
[green] => 255
[blue] => 255
[alpha] => 255
[pitch] => 0
[advanced] => false
[animation] => Array
(
)
[aniSpeed] => 50
)
)
[dmgTable] => Array
(
)
[triggers] => Array
(
[0] => Array
(
[name] => On Damage
[code] => call LS.pointCastFromTargetOnTarget( tower, Event.getTarget(), 700.00 + 30.00 * tower.getLevel(), tower.calcSpellCritNoBonus() )
[values] => Array
(
[ONDAMAGE_chance] => 0.15
[icon] => ReplaceableTextures\CommandButtons\BTNRejuvenation.blp
[visible] => true
[name] => Leaf Storm
[short_explain] => This tower has a chance to create a leaf storm on attack damage.
[ONDAMAGE_chanceLevelAdd] => 0.006
[long_explain] => Each time this tower attacks it has a |cffFFFF8015%|r chance to summon a |cffFFFF80200|r AoE leaf storm at the target's position, slowing enemy units inside by |cffFFFF8030%|r for |cffFFFF801|r second and dealing |cffFFFF802100|r spell damage over time.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.6%|r chance|n|cffFFFF80+90|r spell damage|n|cffFFFF80+0.6%|r slow|n|cffFFFF80+0.04|r seconds slow duration
)
)
[1] => Array
(
[name] => Header
[code] => globals
BuffType Tranquility
ProjectileType WW
BuffType Entangle
Cast LS
BuffType LSSlow
BuffType Thorned
endglobals
function EntangleDamage takes Buff B returns nothing
call B.getCaster().doSpellDamage( B.getBuffedUnit(), 1100.0 + 44.0 * B.getCaster().getLevel(), B.getCaster().calcSpellCritNoBonus() )
endfunction
function WWPeriodic takes Projectile P returns nothing
local Effect e = Effect.createScaled( "Abilities\\Spells\\NightElf\\EntanglingRoots\\EntanglingRootsTarget.mdl", P.x, P.y, 0.00, 0.00, 0.75 )
call e.setLifetime( 2.0 )
endfunction
function WWHit takes Projectile P, Creep U returns nothing
local Unit caster = P.getCaster()
call Entangle.apply( caster, U, caster.getLevel() )
endfunction
function LSHit takes DummyUnit d returns nothing
local Unit t = d.getCaster()
call LSSlow.apply( t, Event.getTarget(), t.getLevel() )
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 Tranquility = BuffType.createAuraEffectType( true )
call m.addModification( MOD_ATTACKSPEED, -0.2, 0.004 )
call m.addModification( MOD_DAMAGE_ADD_PERC, 0.4, 0.004 )
call Tranquility.setBuffIcon( '@@2@@' )
call Tranquility.setBuffModifier( m )
set Entangle = BuffType.createDuplicate( cb_stun, 1.5, 0.02, false )
call Entangle.setBuffIcon( '@@4@@' )
call Entangle.addPeriodicEvent( EntangleDamage, 1.0 )
set WW = ProjectileType.createRanged( "", 1000.00, 600.00 )
call WW.enableCollision( WWHit, 175.00, TARGET_TYPE_CREEPS, false )
call WW.enablePeriodic( WWPeriodic, 0.2 )
set LS = Cast.create( '@@0@@', "blizzard", 4.00 )
call LS.setDamageEvent( LSHit )
set m = Modifier.create()
call m.addModification( MOD_MOVESPEED, -0.3, -0.006 )
set LSSlow = BuffType.create( 1.00, 0.04, false )
call LSSlow.setBuffIcon( '@@5@@' )
call LSSlow.setBuffModifier( m )
set m = Modifier.create()
call m.addModification( MOD_DMG_FROM_NATURE, 0.3, 0.006 )
set Thorned = BuffType.create( 3.00, 0.06, false )
call Thorned.setBuffIcon( '@@7@@' )
call Thorned.setBuffModifier( m )
endfunction
[values] => Array
(
[icon] =>
[visible] => false
[name] =>
[short_explain] =>
[long_explain] =>
)
)
[2] => Array
(
[name] => Autocast
[code] => local unit tow = tower.getUnit()
local unit targ = Event.getTarget().getUnit()
local real r = bj_RADTODEG * Atan2(GetUnitY( targ ) - GetUnitY( tow ), GetUnitX( targ ) - GetUnitX( tow ))
call Projectile.createFromUnit( WW, tower, tower, r, 1.00, tower.calcSpellCritNoBonus() )
call Projectile.createFromUnit( WW, tower, tower, r + 15.00, 1.00, tower.calcSpellCritNoBonus() )
call Projectile.createFromUnit( WW, tower, tower, r - 15.00, 1.00, tower.calcSpellCritNoBonus() )
set targ = null
set tow = null
[values] => Array
(
[caster_art] =>
[icon] => ReplaceableTextures\CommandButtons\BTNEntanglingRoots.blp
[AUTOCAST_cooldown] => 10.00
[AUTOCAST_numBuffsBeforeIdle] => 0
[AUTOCAST_isExtended] => false
[long_explain] => Launches |cffFFFF803|r rows of roots towards the target which will travel a distance of |cffFFFF801000|r, entangling creeps hit for |cffFFFF801.5|r seconds, causing them to become immobilized and take |cffFFFF801100|r spell damage per second.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+44|r spell damage|n|cffFFFF80+0.02|r seconds
[AUTOCAST_autocastType] => AC_TYPE_OFFENSIVE_UNIT
[AUTOCAST_manacost] => 90
[AUTOCAST_range] => 950.00
[AUTOCAST_buffType] => 0
[name] => Entangling Roots
[AUTOCAST_targetSelf] => true
[short_explain] => Summons big roots which grabs all nearby units.
[AUTOCAST_targetType] => 0
[target_art] =>
[AUTOCAST_autoRange] => 950.00
)
)
[3] => Array
(
[name] => On Unit Comes In Range
[code] => call Thorned.apply( tower, Event.getTarget(), tower.getLevel() )
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNThorns.blp
[visible] => true
[name] => Thorned!
[short_explain] => All units that come near this tower take more damage from nature towers.
[UNITINRANGE_targetType] => TARGET_TYPE_CREEPS
[long_explain] => When a unit comes in |cffFFFF80950|r range to this tower it recieves the thorned debuff. The debuff lasts |cffFFFF803|r seconds and increases the damage taken from nature towers by |cffFFFF8030%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.06|r seconds duration|n|cffFFFF80+0.6%|r damage taken
[UNITINRANGE_range] => 950
)
)
[4] => Array
(
[name] => Tower Aura
[code] => Array
(
)
[values] => Array
(
[icon] => ReplaceableTextures\CommandButtons\BTNTranquility.blp
[visible] => true
[AURA_auraEffect] => Tranquility
[AURA_power] => 0
[long_explain] => Decreases the attackspeed of all towers in a |cffFFFF80450|r AoE by |cffFFFF8020%|r and increases their attackdamage by |cffFFFF8040%|r.|n|n|cffFF8000Level Bonus:|r|n|cffFFFF80+0.4%|r attack damage|n|cffFFFF80+0.4%|r attackspeed
[AURA_level] => 0
[AURA_auraRange] => 450.00
[AURA_targetType] => TARGET_TYPE_TOWERS
[AURA_levelAdd] => 1
[AURA_powerAdd] => 1
[name] => Tranquility
[AURA_targetSelf] => true
[short_explain] => Aura that slows down all nearby tower but gives them additonal strenght.
)
)
)
[abilities] => Array
(
[0] => Array
(
[id] => @@0@@
[derivedFrom] => AHbz
[oeValues] => Array
(
[Name] => Leaf Storm
[EfctID1] => @@1@@
[Art] => ReplaceableTextures\CommandButtons\BTNBlizzard.blp
[hero] => 0
[levels] => 1
[Cast1] => 0.75
[DataF1] => 9999
[Cost1] => 0
[Rng1] => 9999
[DataA1] => 3
[DataB1] => 1
[BuffID1] => @@3@@,@@6@@
)
)
)
[buffs] => Array
(
[0] => Array
(
[id] => @@1@@
[derivedFrom] => XHbz
[oeValues] => Array
(
[Effectsound] => Array
(
)
[Buffart] => Array
(
)
[EffectArt] => Objects\Spawnmodels\NightElf\EntBirthTarget\EntBirthTarget.mdl
[Effectsoundlooped] => Array
(
)
)
)
[1] => Array
(
[id] => @@2@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Bufftip] => Tranquility
[Buffubertip] => This tower has a decreased attack speed but increased damage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNTranquility.blp
[TargetArt] => Array
(
)
[EditorName] => Tranquility
)
)
[2] => Array
(
[id] => @@3@@
[derivedFrom] => BHbd
[oeValues] => Array
(
[Bufftip] => Leaf Storm
[Buffubertip] => This unit takes damage and is slowed.
[Buffart] => ReplaceableTextures\CommandButtons\BTNRejuvenation.blp
[TargetArt] => Abilities\Weapons\PoisonSting\PoisonStingTarget.mdl
[EditorName] => Blizzard
)
)
[3] => Array
(
[id] => @@4@@
[derivedFrom] => BEer
[oeValues] => Array
(
[Bufftip] => Entangling Roots
[Buffubertip] => This unit is immobilized and takes damage.
[Buffart] => ReplaceableTextures\CommandButtons\BTNEntanglingRoots.blp
[EditorName] => Entangling Roots
)
)
[4] => Array
(
[id] => @@5@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Bufftip] => Leaf Storm
[Targetattach] => chest
[Buffubertip] => This unit was hit by a leaf storm. It is slowed.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNRejuvenation.blp
[TargetArt] => Abilities\Weapons\PoisonSting\PoisonStingTarget.mdl
[EditorName] => Leaf Storm
)
)
[5] => Array
(
[id] => @@6@@
[derivedFrom] => BHbz
[oeValues] => Array
(
[0] => Array
(
)
)
)
[6] => Array
(
[id] => @@7@@
[derivedFrom] => BHfs
[oeValues] => Array
(
[Bufftip] => Thorned
[Targetattach] => chest
[Buffubertip] => This unit takes more damage from nature towers.
[Targetattachcount] => 1
[Buffart] => ReplaceableTextures\CommandButtons\BTNThorns.blp
[TargetArt] => Abilities\Spells\NightElf\ThornsAura\ThornsAuraDamage.mdl
[EditorName] => Thorned
)
)
)
[units] => Array
(
)
[references] => Array
(
)
)